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.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.168/2.168, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001554/0.001553, allocations: 177.3 kB / 360.4 MB, free: 7.52 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.635/1.635, 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.001221/0.00122, allocations: 92.55 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.092e-05/1.107e-05, allocations: 0 / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5414, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.276/0.8175, allocations: 191.7 MB / 1.15 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.8179, allocations: 97.3 kB / 1.15 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.2488/1.067, allocations: 65.55 MB / 1.214 GB, free: 10.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001187/1.067, allocations: 39.98 kB / 1.214 GB, free: 10.94 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005487/1.072, allocations: 1.659 MB / 1.216 GB, free: 9.227 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.072, allocations: 8.531 kB / 1.216 GB, free: 9.219 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005502/1.078, allocations: 0.5649 MB / 1.216 GB, free: 8.652 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/1.082, allocations: 1.239 MB / 1.217 GB, free: 7.371 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/1.082, allocations: 52 kB / 1.218 GB, free: 7.32 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004645/1.083, allocations: 95.91 kB / 1.218 GB, free: 7.227 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006108/1.089, allocations: 2.013 MB / 1.22 GB, free: 5.211 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006885/1.096, allocations: 2.451 MB / 1.222 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/1.096, allocations: 4 kB / 1.222 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/1.096, allocations: 0 / 1.222 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/1.096, allocations: 91.22 kB / 1.222 GB, free: 2.605 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/1.117, allocations: 10.58 MB / 1.232 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/1.119, allocations: 0.6948 MB / 1.233 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/1.12, allocations: 0.5284 MB / 1.234 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.12, allocations: 93.47 kB / 1.234 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.12, allocations: 38.94 kB / 1.234 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 4.628e-06/1.12, allocations: 0 / 1.234 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.01935/1.139, allocations: 4.222 MB / 1.238 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.14, allocations: 85.77 kB / 1.238 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/1.141, allocations: 0.7767 MB / 1.239 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/1.141, allocations: 25.7 kB / 1.239 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/1.142, allocations: 0.6993 MB / 1.239 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/1.142, allocations: 240.5 kB / 1.24 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/1.143, allocations: 0 / 1.24 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002265/1.143, allocations: 398.7 kB / 1.24 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/1.145, allocations: 0.7795 MB / 1.241 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/1.147, allocations: 1.134 MB / 1.242 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/1.15, allocations: 1.112 MB / 1.243 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.15, allocations: 0 / 1.243 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.0137/1.164, allocations: 3.154 MB / 1.246 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001623/1.165, allocations: 4.259 MB / 1.25 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.165, allocations: 12 kB / 1.25 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009961/1.175, allocations: 1.264 MB / 1.251 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.177, allocations: 208.7 kB / 1.252 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3046/1.482, allocations: 6.763 MB / 1.258 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/1.484, allocations: 124.5 kB / 1.258 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/1.484, allocations: 50.39 kB / 1.258 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/1.484, allocations: 3.938 kB / 1.258 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004074/1.488, allocations: 1.73 MB / 1.26 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/1.488, allocations: 11.75 kB / 1.26 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/1.488, allocations: 19.81 kB / 1.26 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/1.491, allocations: 309.2 kB / 1.26 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.491, allocations: 23.03 kB / 1.26 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.492, allocations: 91.23 kB / 1.261 GB, free: 300.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.492, allocations: 44.25 kB / 1.261 GB, free: 300.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003827/1.493, allocations: 142.6 kB / 1.261 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/1.493, allocations: 85.59 kB / 1.261 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.505, allocations: 2.902 MB / 1.264 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/1.505, allocations: 10.17 kB / 1.264 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.505, allocations: 3.562 kB / 1.264 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.505, allocations: 7.453 kB / 1.264 GB, free: 300.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.523, allocations: 5.224 MB / 1.269 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.523, allocations: 3.812 kB / 1.269 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/1.524, allocations: 94.53 kB / 1.269 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009981/1.534, allocations: 1.473 MB / 1.27 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/1.534, allocations: 3.812 kB / 1.27 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/1.554, allocations: 8.733 MB / 1.279 GB, free: 297.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.554, allocations: 4.156 kB / 1.279 GB, free: 297.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01153/1.566, allocations: 2.883 MB / 1.282 GB, free: 297.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/1.567, allocations: 327.5 kB / 1.282 GB, free: 297.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/1.567, allocations: 3.688 kB / 1.282 GB, free: 297.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.569, allocations: 117.4 kB / 1.282 GB, free: 297.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/1.569, allocations: 47.44 kB / 1.282 GB, free: 297.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.57, allocations: 24.28 kB / 1.282 GB, free: 297.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001094/1.571, allocations: 0.5991 MB / 1.283 GB, free: 297 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003244/1.574, allocations: 0.603 MB / 1.283 GB, free: 297 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000454/1.574, allocations: 175.3 kB / 1.283 GB, free: 296.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007928/1.582, allocations: 2.915 MB / 1.286 GB, free: 296.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.582, allocations: 3.281 kB / 1.286 GB, free: 296.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/1.587, allocations: 1.229 MB / 1.288 GB, free: 296.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.588, allocations: 191 kB / 1.288 GB, free: 296.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/1.596, allocations: 2.898 MB / 1.291 GB, free: 296 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002371/1.599, allocations: 1.783 MB / 1.292 GB, free: 295.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/1.599, allocations: 0 / 1.292 GB, free: 295.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.06649/1.665, allocations: 28.18 MB / 1.32 GB, free: 294.2 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)