Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") [: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.14/2.14, 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.001588/0.001588, allocations: 185.3 kB / 360.4 MB, free: 7.523 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.632/1.632, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001154/0.001154, allocations: 95.23 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/8.095e-06, allocations: 0 / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.5447, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2672/0.8119, allocations: 186.9 MB / 1.145 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.8123, allocations: 95.19 kB / 1.145 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.3896/1.202, allocations: 103.7 MB / 1.247 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001207/1.202, allocations: 63.92 kB / 1.247 GB, free: 9.156 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.009259/1.211, allocations: 2.397 MB / 1.249 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.211, allocations: 8.031 kB / 1.249 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/1.233, allocations: 1.518 MB / 1.251 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00592/1.238, allocations: 1.682 MB / 1.252 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/1.239, allocations: 92 kB / 1.252 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/1.24, allocations: 171.9 kB / 1.252 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4082/1.648, allocations: 4.071 MB / 1.256 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.662, allocations: 4.496 MB / 1.261 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.805e-05/1.662, allocations: 1.875 kB / 1.261 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/1.663, allocations: 3.812 kB / 1.261 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004426/1.663, allocations: 190 kB / 1.261 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/1.701, allocations: 22.47 MB / 1.283 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/1.704, allocations: 1.181 MB / 1.284 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/1.706, allocations: 1.173 MB / 1.285 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/1.706, allocations: 120.1 kB / 1.285 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.706, allocations: 52.12 kB / 1.285 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=116): time 4.168e-06/1.706, allocations: 0 / 1.285 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=146): time 0.02245/1.729, allocations: 7.211 MB / 1.292 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/1.729, allocations: 230 kB / 1.293 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/1.731, allocations: 0.9046 MB / 1.294 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000371/1.731, allocations: 29.61 kB / 1.294 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/1.732, allocations: 1.18 MB / 1.295 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006561/1.732, allocations: 495.5 kB / 1.295 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/1.733, allocations: 3.375 kB / 1.295 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001945/1.733, allocations: 428.9 kB / 1.296 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002998/1.736, allocations: 1.298 MB / 1.297 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/1.739, allocations: 1.968 MB / 1.299 GB, free: 152 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006138/1.746, allocations: 1.932 MB / 1.301 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/1.746, allocations: 7.594 kB / 1.301 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01392/1.76, allocations: 4.255 MB / 1.305 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001761/1.761, allocations: 8.599 MB / 1.313 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-05/1.762, allocations: 27.52 kB / 1.313 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/1.766, allocations: 0.7826 MB / 1.314 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006725/1.772, allocations: 0.6468 MB / 1.315 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/1.791, allocations: 11.76 MB / 1.326 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005986/1.797, allocations: 304.4 kB / 1.326 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005648/1.797, allocations: 113.9 kB / 1.327 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.797, allocations: 3.75 kB / 1.327 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01259/1.81, allocations: 3.989 MB / 1.33 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.611e-05/1.81, allocations: 21.19 kB / 1.33 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/1.813, allocations: 0.673 MB / 1.331 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006657/1.82, allocations: 0.6547 MB / 1.332 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/1.835, allocations: 11.35 MB / 1.343 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005645/1.84, allocations: 292.4 kB / 1.343 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004725/1.841, allocations: 114.5 kB / 1.343 GB, free: 128.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007038/1.842, allocations: 167.8 kB / 1.343 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/1.842, allocations: 120.3 kB / 1.344 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.854, allocations: 3.63 MB / 1.347 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/1.855, allocations: 19.5 kB / 1.347 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.855, allocations: 7.781 kB / 1.347 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/1.855, allocations: 7.688 kB / 1.347 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.874, allocations: 6.789 MB / 1.354 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/1.874, allocations: 5.75 kB / 1.354 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005094/1.879, allocations: 418.4 kB / 1.354 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/1.882, allocations: 0.6391 MB / 1.355 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/1.883, allocations: 33.64 kB / 1.355 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/1.898, allocations: 11.16 MB / 1.366 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/1.898, allocations: 14.73 kB / 1.366 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009703/1.908, allocations: 3.657 MB / 1.369 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.91, allocations: 488 kB / 1.37 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004643/1.91, allocations: 9.344 kB / 1.37 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005067/1.915, allocations: 260.2 kB / 1.37 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.916, allocations: 89.19 kB / 1.37 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/1.916, allocations: 56.38 kB / 1.37 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001322/1.917, allocations: 0.6913 MB / 1.371 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005632/1.923, allocations: 1.018 MB / 1.372 GB, free: 117.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005478/1.923, allocations: 139.6 kB / 1.372 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01594/1.939, allocations: 6.155 MB / 1.378 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.939, allocations: 3.609 kB / 1.378 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005539/1.945, allocations: 2.069 MB / 1.38 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.947, allocations: 127.2 kB / 1.38 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03054/1.977, allocations: 5.518 MB / 1.385 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00503/1.982, allocations: 2.441 MB / 1.388 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.553e-06/1.982, allocations: 0 / 1.388 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.1017/2.084, allocations: 47.24 MB / 1.434 GB, free: 74.95 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)