Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.337/1.337, allocations: 289.8 MB / 297.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 185.2 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 205.2 MB / 0.6256 GB, free: 5.844 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 90.2 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/7.093e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4125, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.5835, allocations: 195.2 MB / 1.163 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.5837, allocations: 108.3 kB / 1.163 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.5786/1.162, allocations: 144.7 MB / 1.305 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001415/1.162, allocations: 97.09 kB / 1.305 GB, free: 119.1 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004706/1.167, allocations: 3.272 MB / 1.308 GB, free: 117.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/1.167, allocations: 7.781 kB / 1.308 GB, free: 117.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004481/1.172, allocations: 0.8106 MB / 1.309 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/1.176, allocations: 2.571 MB / 1.311 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/1.176, allocations: 117.3 kB / 1.311 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005483/1.177, allocations: 233.3 kB / 1.312 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004924/1.181, allocations: 3.71 MB / 1.315 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006016/1.188, allocations: 5.226 MB / 1.32 GB, free: 115.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.128e-05/1.188, allocations: 17.94 kB / 1.32 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003115/1.188, allocations: 11.62 kB / 1.32 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/1.188, allocations: 220.4 kB / 1.32 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01793/1.206, allocations: 26.94 MB / 1.347 GB, free: 97.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/1.207, allocations: 1.038 MB / 1.348 GB, free: 97.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/1.208, allocations: 0.979 MB / 1.349 GB, free: 97.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/1.208, allocations: 12.69 kB / 1.349 GB, free: 97.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/1.208, allocations: 47.12 kB / 1.349 GB, free: 97.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.056e-06/1.208, allocations: 0 / 1.349 GB, free: 97.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131): time 0.01025/1.218, allocations: 6.943 MB / 1.356 GB, free: 95.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/1.218, allocations: 64.38 kB / 1.356 GB, free: 95.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.219, allocations: 1.073 MB / 1.357 GB, free: 95.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/1.219, allocations: 25.7 kB / 1.357 GB, free: 95.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/1.22, allocations: 1.419 MB / 1.358 GB, free: 94.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/1.22, allocations: 450.1 kB / 1.359 GB, free: 94.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/1.22, allocations: 0.5938 kB / 1.359 GB, free: 94.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.22, allocations: 382.6 kB / 1.359 GB, free: 94.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.222, allocations: 0.8566 MB / 1.36 GB, free: 94.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/1.223, allocations: 1.44 MB / 1.361 GB, free: 93.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.224, allocations: 1.111 MB / 1.362 GB, free: 93.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.224, allocations: 7.812 kB / 1.362 GB, free: 93.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004074/1.228, allocations: 3.047 MB / 1.365 GB, free: 92.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.228, allocations: 7.812 kB / 1.365 GB, free: 92.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.228, allocations: 20.75 kB / 1.365 GB, free: 92.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/1.23, allocations: 0.7215 MB / 1.366 GB, free: 92.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.232, allocations: 383.4 kB / 1.366 GB, free: 92.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009639/1.241, allocations: 14.47 MB / 1.38 GB, free: 81.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.242, allocations: 52.08 kB / 1.381 GB, free: 81.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.242, allocations: 77.53 kB / 1.381 GB, free: 81.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/1.243, allocations: 160.8 kB / 1.381 GB, free: 81.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/1.243, allocations: 187.5 kB / 1.381 GB, free: 81.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/1.247, allocations: 2.669 MB / 1.384 GB, free: 81.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.247, allocations: 12.94 kB / 1.384 GB, free: 81.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/1.247, allocations: 7.812 kB / 1.384 GB, free: 81.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.247, allocations: 9.797 kB / 1.384 GB, free: 81.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007311/1.254, allocations: 5.456 MB / 1.389 GB, free: 80.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.254, allocations: 7.812 kB / 1.389 GB, free: 80.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.255, allocations: 223.6 kB / 1.389 GB, free: 80.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/1.257, allocations: 0.6463 MB / 1.39 GB, free: 80.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/1.257, allocations: 9.609 kB / 1.39 GB, free: 80.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008879/1.266, allocations: 14.18 MB / 1.404 GB, free: 67.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.266, allocations: 9.141 kB / 1.404 GB, free: 67.42 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004274/1.27, allocations: 4.233 MB / 1.408 GB, free: 64.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/1.271, allocations: 435.6 kB / 1.408 GB, free: 64.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.271, allocations: 11.8 kB / 1.408 GB, free: 64.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007658/1.272, allocations: 39.17 kB / 1.408 GB, free: 64.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.272, allocations: 84.02 kB / 1.408 GB, free: 64.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/1.272, allocations: 35.34 kB / 1.408 GB, free: 64.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007819/1.273, allocations: 0.7986 MB / 1.409 GB, free: 63.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001728/1.275, allocations: 0.6284 MB / 1.41 GB, free: 63.94 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001877/1.275, allocations: 133.3 kB / 1.41 GB, free: 63.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003485/1.278, allocations: 3.204 MB / 1.413 GB, free: 61.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.279, allocations: 2.844 kB / 1.413 GB, free: 61.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002275/1.281, allocations: 2.071 MB / 1.415 GB, free: 60.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/1.283, allocations: 0.5092 MB / 1.415 GB, free: 60.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008378/1.291, allocations: 5.206 MB / 1.421 GB, free: 57.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002445/1.294, allocations: 2.813 MB / 1.423 GB, free: 55.61 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.294, allocations: 0 / 1.423 GB, free: 55.61 MB / 0.8386 GB Notification: Performance of Templates: time 0.03778/1.331, allocations: 30.07 MB / 1.453 GB, free: 29.82 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)