Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 253.1 MB / 260.4 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002542/0.002542, allocations: 173.3 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001287/0.001286, allocations: 91.27 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.207e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2131, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7945/1.008, allocations: 164.6 MB / 1.049 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/1.008, allocations: 92.67 kB / 1.049 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.882/1.89, allocations: 178.4 MB / 1.223 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0005471/1.891, allocations: 119.9 kB / 1.223 GB, free: 13.51 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01988/1.911, allocations: 3.896 MB / 1.227 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/1.911, allocations: 8.031 kB / 1.227 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/1.921, allocations: 0.9346 MB / 1.228 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/1.934, allocations: 3.003 MB / 1.231 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/1.934, allocations: 155.9 kB / 1.231 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/1.936, allocations: 275.9 kB / 1.231 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01781/1.954, allocations: 4.689 MB / 1.236 GB, free: 432 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02636/1.981, allocations: 6.703 MB / 1.242 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003648/1.981, allocations: 27.78 kB / 1.242 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/1.983, allocations: 19.89 kB / 1.243 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004938/1.984, allocations: 285 kB / 1.243 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.387/2.371, allocations: 34.2 MB / 1.276 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/2.374, allocations: 1.49 MB / 1.278 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/2.377, allocations: 1.309 MB / 1.279 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/2.377, allocations: 15.28 kB / 1.279 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/2.377, allocations: 48.09 kB / 1.279 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 5.19e-06/2.377, allocations: 3 kB / 1.279 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.01378/2.391, allocations: 4.576 MB / 1.283 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/2.391, allocations: 67.47 kB / 1.284 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/2.393, allocations: 1.07 MB / 1.285 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003231/2.393, allocations: 26.83 kB / 1.285 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/2.395, allocations: 1.75 MB / 1.286 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006808/2.395, allocations: 468.6 kB / 1.287 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/2.395, allocations: 0 / 1.287 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001504/2.396, allocations: 383.9 kB / 1.287 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/2.398, allocations: 0.8929 MB / 1.288 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/2.4, allocations: 1.547 MB / 1.289 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/2.403, allocations: 1.175 MB / 1.291 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/2.403, allocations: 11.47 kB / 1.291 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01024/2.413, allocations: 3.36 MB / 1.294 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/2.413, allocations: 7.75 kB / 1.294 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/2.413, allocations: 21.72 kB / 1.294 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005077/2.418, allocations: 0.9583 MB / 1.295 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/2.421, allocations: 330.9 kB / 1.295 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02655/2.448, allocations: 19.76 MB / 1.315 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/2.451, allocations: 49.2 kB / 1.315 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000462/2.451, allocations: 85.25 kB / 1.315 GB, free: 265 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005394/2.452, allocations: 158.9 kB / 1.315 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/2.452, allocations: 196.2 kB / 1.315 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00945/2.462, allocations: 2.976 MB / 1.318 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/2.462, allocations: 11.03 kB / 1.318 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-05/2.462, allocations: 10.94 kB / 1.318 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-05/2.462, allocations: 9.781 kB / 1.318 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/2.481, allocations: 6.213 MB / 1.324 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/2.481, allocations: 3.812 kB / 1.324 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/2.483, allocations: 153.6 kB / 1.324 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005062/2.488, allocations: 0.9318 MB / 1.325 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003247/2.488, allocations: 7.031 kB / 1.325 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/2.515, allocations: 19.75 MB / 1.344 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/2.515, allocations: 9.281 kB / 1.344 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009899/2.525, allocations: 3.384 MB / 1.348 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/2.527, allocations: 449.6 kB / 1.348 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007757/2.528, allocations: 10.94 kB / 1.348 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/2.53, allocations: 29.58 kB / 1.348 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/2.53, allocations: 82.83 kB / 1.348 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/2.53, allocations: 36.53 kB / 1.348 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001678/2.532, allocations: 0.7876 MB / 1.349 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00474/2.537, allocations: 0.7355 MB / 1.35 GB, free: 248.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 73 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005261/2.537, allocations: 128 kB / 1.35 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009343/2.547, allocations: 3.793 MB / 1.354 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/2.547, allocations: 0 / 1.354 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006447/2.553, allocations: 2.597 MB / 1.356 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/2.559, allocations: 0.5863 MB / 1.357 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/2.578, allocations: 5.646 MB / 1.362 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00765/2.586, allocations: 3.253 MB / 1.365 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.532e-06/2.586, allocations: 3.094 kB / 1.365 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.0955/2.681, allocations: 33.38 MB / 1.398 GB, free: 242 MB / 0.8542 GB