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.TransformerFull.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.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") [: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.176/2.176, 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.001618/0.001618, allocations: 181.3 kB / 360.4 MB, free: 7.48 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.614/1.614, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001231/0.001231, allocations: 97.06 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.058e-05/1.074e-05, allocations: 4 kB / 0.8503 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.543, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2752/0.8183, allocations: 191.4 MB / 1.15 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/0.8187, allocations: 97.86 kB / 1.15 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.8377/1.656, allocations: 119.6 MB / 1.267 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001239/1.657, allocations: 62.14 kB / 1.267 GB, free: 128.1 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.008512/1.665, allocations: 2.462 MB / 1.269 GB, free: 127 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.665, allocations: 13.73 kB / 1.269 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0224/1.688, allocations: 1.643 MB / 1.271 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005714/1.693, allocations: 1.801 MB / 1.272 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.694, allocations: 92.19 kB / 1.272 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009029/1.694, allocations: 165.4 kB / 1.273 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01197/1.706, allocations: 4.231 MB / 1.277 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/1.719, allocations: 4.659 MB / 1.281 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.103e-05/1.72, allocations: 0 / 1.281 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005373/1.72, allocations: 3.875 kB / 1.281 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006408/1.721, allocations: 246.1 kB / 1.282 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03719/1.758, allocations: 22.11 MB / 1.303 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/1.761, allocations: 1.625 MB / 1.305 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/1.764, allocations: 1.243 MB / 1.306 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/1.764, allocations: 110.5 kB / 1.306 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.764, allocations: 51.61 kB / 1.306 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=122): time 4.128e-06/1.764, allocations: 0 / 1.306 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.02688/1.791, allocations: 7.191 MB / 1.313 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.791, allocations: 67.12 kB / 1.313 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/1.793, allocations: 0.9895 MB / 1.314 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003514/1.794, allocations: 25.7 kB / 1.314 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/1.794, allocations: 1.189 MB / 1.315 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006735/1.795, allocations: 0.5684 MB / 1.316 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/1.795, allocations: 0 / 1.316 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000226/1.796, allocations: 453.6 kB / 1.316 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003457/1.799, allocations: 1.551 MB / 1.318 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/1.803, allocations: 2.247 MB / 1.32 GB, free: 111 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006481/1.809, allocations: 2.224 MB / 1.322 GB, free: 111 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/1.809, allocations: 3.969 kB / 1.322 GB, free: 111 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01775/1.827, allocations: 5.406 MB / 1.328 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001761/1.829, allocations: 8.857 MB / 1.336 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-05/1.829, allocations: 24.58 kB / 1.336 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007704/1.837, allocations: 1.422 MB / 1.338 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006757/1.844, allocations: 0.6492 MB / 1.338 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02968/1.873, allocations: 15.95 MB / 1.354 GB, free: 93.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006554/1.88, allocations: 319.2 kB / 1.354 GB, free: 93.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/1.88, allocations: 118.3 kB / 1.354 GB, free: 93.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/1.88, allocations: 6.984 kB / 1.354 GB, free: 93.95 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01649/1.897, allocations: 5.124 MB / 1.359 GB, free: 93.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.103e-05/1.897, allocations: 23.16 kB / 1.359 GB, free: 93.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006334/1.903, allocations: 1.34 MB / 1.361 GB, free: 93.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006683/1.91, allocations: 0.6555 MB / 1.361 GB, free: 93.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02581/1.936, allocations: 15.38 MB / 1.376 GB, free: 86.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005991/1.942, allocations: 297.3 kB / 1.376 GB, free: 86.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/1.942, allocations: 118.3 kB / 1.377 GB, free: 86.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007755/1.943, allocations: 185.7 kB / 1.377 GB, free: 86.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/1.944, allocations: 135.2 kB / 1.377 GB, free: 86.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/1.96, allocations: 5 MB / 1.382 GB, free: 85.76 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.96, allocations: 23.53 kB / 1.382 GB, free: 85.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.96, allocations: 13.03 kB / 1.382 GB, free: 85.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/1.961, allocations: 13.61 kB / 1.382 GB, free: 85.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.983, allocations: 8.164 MB / 1.39 GB, free: 84.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.983, allocations: 8.312 kB / 1.39 GB, free: 84.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004962/1.988, allocations: 423.8 kB / 1.39 GB, free: 84.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/1.994, allocations: 1.18 MB / 1.391 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/1.994, allocations: 27.95 kB / 1.391 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02655/2.021, allocations: 15.23 MB / 1.406 GB, free: 73.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/2.021, allocations: 14.84 kB / 1.406 GB, free: 73.59 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01283/2.034, allocations: 4.489 MB / 1.411 GB, free: 71.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/2.035, allocations: 0.5494 MB / 1.411 GB, free: 71.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005089/2.036, allocations: 13.23 kB / 1.411 GB, free: 71.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005168/2.041, allocations: 281.4 kB / 1.411 GB, free: 71.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/2.041, allocations: 103.5 kB / 1.412 GB, free: 71.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/2.041, allocations: 68.05 kB / 1.412 GB, free: 71.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001424/2.043, allocations: 0.7579 MB / 1.412 GB, free: 70.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005518/2.048, allocations: 1.154 MB / 1.414 GB, free: 70.68 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 (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004382/2.049, allocations: 138.7 kB / 1.414 GB, free: 70.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01998/2.069, allocations: 7.452 MB / 1.421 GB, free: 67.12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/2.069, allocations: 2.938 kB / 1.421 GB, free: 67.12 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008061/2.077, allocations: 2.591 MB / 1.423 GB, free: 65.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/2.079, allocations: 155 kB / 1.424 GB, free: 65.83 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/2.111, allocations: 6.101 MB / 1.43 GB, free: 63.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004925/2.116, allocations: 2.514 MB / 1.432 GB, free: 62.72 MB / 0.8542 GB Notification: Performance of SimCode: time 1.442e-06/2.116, allocations: 0 / 1.432 GB, free: 62.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.1208/2.236, allocations: 58.48 MB / 1.489 GB, free: 17.54 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)