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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [: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.124/2.124, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001564/0.001564, allocations: 189.2 kB / 360.4 MB, free: 7.496 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.682/1.682, 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.00123/0.00123, allocations: 86.03 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.203e-05/1.213e-05, allocations: 4 kB / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5307, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/0.8054, allocations: 190.8 MB / 1.149 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.8058, allocations: 96.69 kB / 1.149 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.2396/1.045, allocations: 62.99 MB / 1.211 GB, free: 14.38 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001075/1.046, allocations: 36 kB / 1.211 GB, free: 14.35 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004934/1.051, allocations: 1.565 MB / 1.212 GB, free: 12.73 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.051, allocations: 8.531 kB / 1.212 GB, free: 12.72 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004402/1.055, allocations: 437.6 kB / 1.213 GB, free: 12.29 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/1.059, allocations: 1.147 MB / 1.214 GB, free: 11.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-05/1.059, allocations: 51.98 kB / 1.214 GB, free: 11.05 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/1.059, allocations: 95.91 kB / 1.214 GB, free: 10.96 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005555/1.065, allocations: 1.837 MB / 1.216 GB, free: 9.117 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006688/1.072, allocations: 2.281 MB / 1.218 GB, free: 6.773 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/1.072, allocations: 0 / 1.218 GB, free: 6.773 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/1.072, allocations: 7.938 kB / 1.218 GB, free: 6.766 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/1.072, allocations: 83.06 kB / 1.218 GB, free: 6.684 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02026/1.092, allocations: 10.18 MB / 1.228 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/1.094, allocations: 0.5037 MB / 1.229 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009601/1.095, allocations: 380.7 kB / 1.229 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/1.095, allocations: 100 kB / 1.229 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.095, allocations: 38.56 kB / 1.229 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 3.186e-06/1.095, allocations: 0 / 1.229 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.01551/1.11, allocations: 3.02 MB / 1.232 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.111, allocations: 85.55 kB / 1.232 GB, free: 7.445 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/1.112, allocations: 0.7414 MB / 1.233 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/1.112, allocations: 25.7 kB / 1.233 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000571/1.113, allocations: 0.6911 MB / 1.233 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/1.113, allocations: 181.4 kB / 1.234 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/1.113, allocations: 0 / 1.234 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.114, allocations: 382.8 kB / 1.234 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/1.115, allocations: 0.6071 MB / 1.235 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/1.117, allocations: 0.9702 MB / 1.236 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/1.119, allocations: 0.8522 MB / 1.236 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.119, allocations: 4 kB / 1.236 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01189/1.131, allocations: 2.49 MB / 1.239 GB, free: 292 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001959/1.133, allocations: 4.513 MB / 1.243 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/1.133, allocations: 19.84 kB / 1.243 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008616/1.142, allocations: 0.9444 MB / 1.244 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.144, allocations: 219.6 kB / 1.244 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/1.158, allocations: 6.375 MB / 1.251 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/1.16, allocations: 112.3 kB / 1.251 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.16, allocations: 47.98 kB / 1.251 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-06/1.16, allocations: 0 / 1.251 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003708/1.164, allocations: 1.307 MB / 1.252 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.164, allocations: 15.91 kB / 1.252 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/1.164, allocations: 16 kB / 1.252 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/1.166, allocations: 264.4 kB / 1.252 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/1.166, allocations: 28.62 kB / 1.252 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.167, allocations: 79.81 kB / 1.252 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/1.168, allocations: 44 kB / 1.252 GB, free: 1.668 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003657/1.168, allocations: 140.4 kB / 1.253 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/1.168, allocations: 79.06 kB / 1.253 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.287/1.455, allocations: 2.155 MB / 1.255 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.455, allocations: 7.859 kB / 1.255 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.455, allocations: 5.031 kB / 1.255 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/1.455, allocations: 0 / 1.255 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.469, allocations: 3.8 MB / 1.258 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.469, allocations: 5.094 kB / 1.258 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/1.47, allocations: 95.73 kB / 1.259 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008967/1.479, allocations: 1.209 MB / 1.26 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.479, allocations: 3.938 kB / 1.26 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/1.495, allocations: 8.737 MB / 1.268 GB, free: 297.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.495, allocations: 3.891 kB / 1.268 GB, free: 297.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009812/1.505, allocations: 2.223 MB / 1.27 GB, free: 297.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007852/1.505, allocations: 276.6 kB / 1.271 GB, free: 297.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.506, allocations: 10.27 kB / 1.271 GB, free: 297.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.508, allocations: 101.6 kB / 1.271 GB, free: 297.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.508, allocations: 33.31 kB / 1.271 GB, free: 297.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/1.508, allocations: 18.59 kB / 1.271 GB, free: 297.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0009904/1.509, allocations: 0.5677 MB / 1.271 GB, free: 297.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002429/1.511, allocations: 0.5374 MB / 1.272 GB, free: 297.3 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003476/1.512, allocations: 169.1 kB / 1.272 GB, free: 297.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00562/1.517, allocations: 2.359 MB / 1.274 GB, free: 297 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.517, allocations: 0 / 1.274 GB, free: 297 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002647/1.52, allocations: 1.116 MB / 1.276 GB, free: 296.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/1.521, allocations: 181.8 kB / 1.276 GB, free: 296.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006759/1.528, allocations: 2.433 MB / 1.278 GB, free: 296.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/1.53, allocations: 1.694 MB / 1.28 GB, free: 295.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.302e-06/1.53, allocations: 0 / 1.28 GB, free: 295.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.05/1.58, allocations: 22.63 MB / 1.302 GB, free: 294.6 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)