Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [: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.093/2.093, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001571/0.00157, allocations: 189.2 kB / 360.4 MB, free: 7.484 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.611/1.611, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001235/0.001234, allocations: 87.39 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.147e-05, allocations: 4 kB / 0.8503 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.5517, allocations: 115.2 MB / 0.9628 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.8307, allocations: 195.4 MB / 1.154 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.8311, allocations: 96.97 kB / 1.154 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.8098/1.641, allocations: 112.3 MB / 1.263 GB, free: 171 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001911/1.641, allocations: 76.52 kB / 1.263 GB, free: 171 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008317/1.649, allocations: 2.711 MB / 1.266 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.65, allocations: 7.969 kB / 1.266 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/1.656, allocations: 0.6526 MB / 1.267 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006273/1.662, allocations: 2.067 MB / 1.269 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/1.662, allocations: 101.5 kB / 1.269 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006231/1.663, allocations: 176.8 kB / 1.269 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008086/1.671, allocations: 3.085 MB / 1.272 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009904/1.681, allocations: 4.216 MB / 1.276 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/1.681, allocations: 13.78 kB / 1.276 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004331/1.681, allocations: 7.906 kB / 1.276 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/1.682, allocations: 176.5 kB / 1.276 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02897/1.711, allocations: 21.05 MB / 1.297 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/1.713, allocations: 1.175 MB / 1.298 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/1.715, allocations: 1.031 MB / 1.299 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/1.715, allocations: 16.53 kB / 1.299 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.715, allocations: 42.72 kB / 1.299 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 4.318e-06/1.715, allocations: 0.8438 kB / 1.299 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.01455/1.73, allocations: 4.801 MB / 1.304 GB, free: 154 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/1.73, allocations: 66.81 kB / 1.304 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.731, allocations: 0.8235 MB / 1.305 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/1.731, allocations: 29.7 kB / 1.305 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/1.732, allocations: 1.135 MB / 1.306 GB, free: 153 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/1.732, allocations: 464.5 kB / 1.306 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.733, allocations: 1.5 kB / 1.306 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.733, allocations: 369.6 kB / 1.307 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/1.735, allocations: 0.8668 MB / 1.307 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/1.737, allocations: 1.319 MB / 1.309 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/1.739, allocations: 1.113 MB / 1.31 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/1.739, allocations: 6.625 kB / 1.31 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009274/1.748, allocations: 3.254 MB / 1.313 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.748, allocations: 11.28 kB / 1.313 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/1.748, allocations: 11.78 kB / 1.313 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005257/1.753, allocations: 1.116 MB / 1.314 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/1.755, allocations: 246.7 kB / 1.314 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02242/1.778, allocations: 11.32 MB / 1.325 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.78, allocations: 39.83 kB / 1.325 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/1.78, allocations: 67.58 kB / 1.326 GB, free: 147.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003845/1.781, allocations: 150.4 kB / 1.326 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/1.781, allocations: 151.3 kB / 1.326 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008745/1.79, allocations: 3.031 MB / 1.329 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.79, allocations: 11.75 kB / 1.329 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/1.79, allocations: 11.25 kB / 1.329 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/1.79, allocations: 6.562 kB / 1.329 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.806, allocations: 5.62 MB / 1.334 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.806, allocations: 5.344 kB / 1.334 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.807, allocations: 143 kB / 1.334 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004842/1.812, allocations: 1.025 MB / 1.335 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/1.812, allocations: 5.844 kB / 1.335 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/1.834, allocations: 11.01 MB / 1.346 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/1.834, allocations: 9.281 kB / 1.346 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008279/1.842, allocations: 3.266 MB / 1.349 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.844, allocations: 408.3 kB / 1.35 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/1.844, allocations: 5.344 kB / 1.35 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.846, allocations: 32.06 kB / 1.35 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.846, allocations: 82.64 kB / 1.35 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.846, allocations: 35.81 kB / 1.35 GB, free: 142 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001189/1.847, allocations: 0.6271 MB / 1.351 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00274/1.85, allocations: 0.5685 MB / 1.351 GB, free: 141.9 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003037/1.85, allocations: 119.8 kB / 1.351 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007133/1.857, allocations: 2.809 MB / 1.354 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.857, allocations: 2.562 kB / 1.354 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00482/1.862, allocations: 1.69 MB / 1.356 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/1.865, allocations: 376.2 kB / 1.356 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.878, allocations: 4.355 MB / 1.36 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004142/1.882, allocations: 2.421 MB / 1.363 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.653e-06/1.882, allocations: 0 / 1.363 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.07039/1.953, allocations: 28.71 MB / 1.391 GB, free: 120.6 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)