Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") [: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 8.0.0/package.mo): time 2.097/2.097, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001572, allocations: 177.3 kB / 360.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 0.6188 GB, free: 12.38 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001214/0.001213, allocations: 83.91 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/8.025e-06, allocations: 0 / 0.8502 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5395, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.256/0.7956, allocations: 180.1 MB / 1.139 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.796, allocations: 100.8 kB / 1.139 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.9328/1.729, allocations: 158.1 MB / 1.293 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000209/1.729, allocations: 101.7 kB / 1.293 GB, free: 189.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01172/1.741, allocations: 3.396 MB / 1.297 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.741, allocations: 10.47 kB / 1.297 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008091/1.749, allocations: 0.8964 MB / 1.297 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/1.756, allocations: 2.294 MB / 1.3 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.756, allocations: 137.7 kB / 1.3 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/1.757, allocations: 255 kB / 1.3 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01323/1.77, allocations: 4.772 MB / 1.305 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/1.787, allocations: 6.142 MB / 1.311 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/1.787, allocations: 10.5 kB / 1.311 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006527/1.788, allocations: 7.188 kB / 1.311 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002831/1.788, allocations: 262.3 kB / 1.311 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04749/1.836, allocations: 31.12 MB / 1.341 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/1.839, allocations: 1.658 MB / 1.343 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/1.842, allocations: 1.136 MB / 1.344 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/1.842, allocations: 98 kB / 1.344 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.842, allocations: 47.09 kB / 1.344 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 3.446e-06/1.842, allocations: 7.5 kB / 1.344 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.00919/1.851, allocations: 4.115 MB / 1.348 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/1.851, allocations: 141.2 kB / 1.348 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/1.854, allocations: 1.325 MB / 1.35 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/1.855, allocations: 27.17 kB / 1.35 GB, free: 159 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009973/1.856, allocations: 1.8 MB / 1.351 GB, free: 157.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/1.856, allocations: 321.2 kB / 1.352 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/1.856, allocations: 0 / 1.352 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.856, allocations: 391.2 kB / 1.352 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/1.859, allocations: 1.099 MB / 1.353 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/1.862, allocations: 2.148 MB / 1.355 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/1.866, allocations: 1.661 MB / 1.357 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/1.866, allocations: 13.25 kB / 1.357 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008322/1.875, allocations: 3.241 MB / 1.36 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002558/1.877, allocations: 13.4 MB / 1.373 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/1.877, allocations: 38 kB / 1.373 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001063/1.877, allocations: 52.34 kB / 1.373 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004787/1.882, allocations: 0.579 MB / 1.374 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.247e-05/1.882, allocations: 70.89 kB / 1.374 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.886, allocations: 236 kB / 1.374 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/1.886, allocations: 118 kB / 1.374 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.886, allocations: 8.094 kB / 1.374 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006338/1.893, allocations: 2.625 MB / 1.377 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/1.893, allocations: 35.34 kB / 1.377 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.92e-05/1.893, allocations: 49.44 kB / 1.377 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/1.897, allocations: 0.5363 MB / 1.377 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.977e-05/1.897, allocations: 72.61 kB / 1.378 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/1.899, allocations: 149.8 kB / 1.378 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/1.9, allocations: 112.6 kB / 1.378 GB, free: 137.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005914/1.9, allocations: 204.1 kB / 1.378 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005345/1.901, allocations: 146.2 kB / 1.378 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004859/1.906, allocations: 1.977 MB / 1.38 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/1.906, allocations: 8.312 kB / 1.38 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.906, allocations: 2.719 kB / 1.38 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/1.906, allocations: 3.797 kB / 1.38 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/1.922, allocations: 7.022 MB / 1.387 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.922, allocations: 8.531 kB / 1.387 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002659/1.924, allocations: 278.9 kB / 1.387 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/1.924, allocations: 15.66 kB / 1.387 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/1.924, allocations: 13.06 kB / 1.387 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/1.924, allocations: 8.344 kB / 1.387 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.925, allocations: 16.19 kB / 1.387 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00446/1.929, allocations: 2.802 MB / 1.39 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.93, allocations: 449.5 kB / 1.39 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/1.931, allocations: 13.53 kB / 1.39 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.933, allocations: 92.2 kB / 1.391 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/1.933, allocations: 71.34 kB / 1.391 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.933, allocations: 30.09 kB / 1.391 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001888/1.935, allocations: 0.9652 MB / 1.392 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006235/1.941, allocations: 1.134 MB / 1.393 GB, free: 131.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003832/1.941, allocations: 130.3 kB / 1.393 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008011/1.949, allocations: 3.772 MB / 1.396 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.95, allocations: 1.781 kB / 1.396 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.951, allocations: 0.9073 MB / 1.397 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/1.955, allocations: 351.1 kB / 1.398 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.971, allocations: 5.537 MB / 1.403 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005434/1.976, allocations: 3.07 MB / 1.406 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/1.976, allocations: 0 / 1.406 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.07744/2.054, allocations: 33.12 MB / 1.438 GB, free: 96.76 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)