Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.304/1.304, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 185.2 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9798/0.9798, allocations: 205.1 MB / 0.6195 GB, free: 10.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007351/0.0007352, allocations: 96.86 kB / 0.7326 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.053e-06, allocations: 4 kB / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3883, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.5514, allocations: 185.2 MB / 1.145 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5517, allocations: 93.69 kB / 1.145 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.9294/1.481, allocations: 317 MB / 1.454 GB, free: 62.96 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004493/1.482, allocations: 171 kB / 1.454 GB, free: 62.8 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01429/1.496, allocations: 5.606 MB / 1.46 GB, free: 57.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/1.496, allocations: 8.031 kB / 1.46 GB, free: 57.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/1.509, allocations: 1.677 MB / 1.461 GB, free: 55.45 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/1.521, allocations: 5.011 MB / 1.466 GB, free: 50.42 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/1.521, allocations: 192 kB / 1.467 GB, free: 50.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/1.523, allocations: 359.9 kB / 1.467 GB, free: 49.88 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01232/1.536, allocations: 7.073 MB / 1.474 GB, free: 42.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/1.549, allocations: 9.19 MB / 1.483 GB, free: 33.13 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/1.55, allocations: 35.61 kB / 1.483 GB, free: 33.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006132/1.55, allocations: 12 kB / 1.483 GB, free: 33.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/1.55, allocations: 396.1 kB / 1.483 GB, free: 32.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04086/1.591, allocations: 45.34 MB / 1.527 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004399/1.596, allocations: 3.721 MB / 1.531 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004197/1.6, allocations: 3.496 MB / 1.535 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/1.6, allocations: 42.72 kB / 1.535 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.6, allocations: 65.34 kB / 1.535 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=353): time 6.132e-06/1.6, allocations: 3.984 kB / 1.535 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of matching and sorting (n=578): time 0.09111/1.691, allocations: 38.11 MB / 1.572 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/1.691, allocations: 111.9 kB / 1.572 GB, free: 2.141 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/1.694, allocations: 1.832 MB / 1.574 GB, free: 316 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004047/1.695, allocations: 29.7 kB / 1.574 GB, free: 280 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.696, allocations: 2.18 MB / 1.576 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00159/1.697, allocations: 1.878 MB / 1.578 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/1.698, allocations: 0 / 1.578 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000296/1.698, allocations: 0.522 MB / 1.578 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00489/1.703, allocations: 3.756 MB / 1.582 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/1.708, allocations: 4.841 MB / 1.587 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005782/1.714, allocations: 4.584 MB / 1.591 GB, free: 13.98 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.714, allocations: 8 kB / 1.591 GB, free: 13.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03366/1.748, allocations: 15.5 MB / 1.606 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.748, allocations: 4 kB / 1.606 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/1.748, allocations: 32 kB / 1.606 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02541/1.773, allocations: 7.415 MB / 1.614 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/1.776, allocations: 0.5381 MB / 1.614 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3023/2.078, allocations: 61.17 MB / 1.674 GB, free: 291.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/2.082, allocations: 83.7 kB / 1.674 GB, free: 291.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005333/2.083, allocations: 205.7 kB / 1.674 GB, free: 291.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008416/2.084, allocations: 190 kB / 1.674 GB, free: 291.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/2.085, allocations: 451.6 kB / 1.675 GB, free: 291.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02989/2.114, allocations: 15.49 MB / 1.69 GB, free: 291.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/2.115, allocations: 55.34 kB / 1.69 GB, free: 291.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.106e-05/2.115, allocations: 78.89 kB / 1.69 GB, free: 291.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.824e-05/2.115, allocations: 26.86 kB / 1.69 GB, free: 291.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03855/2.153, allocations: 22.6 MB / 1.712 GB, free: 290 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/2.153, allocations: 10.5 kB / 1.712 GB, free: 290 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/2.155, allocations: 306.9 kB / 1.712 GB, free: 290 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02137/2.176, allocations: 6.771 MB / 1.719 GB, free: 289.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000535/2.177, allocations: 15.62 kB / 1.719 GB, free: 289.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07123/2.248, allocations: 58.11 MB / 1.776 GB, free: 257.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/2.248, allocations: 9.719 kB / 1.776 GB, free: 257.2 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03266/2.281, allocations: 20.71 MB / 1.796 GB, free: 248.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/2.283, allocations: 1.24 MB / 1.797 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007907/2.284, allocations: 16.59 kB / 1.797 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/2.287, allocations: 94.58 kB / 1.797 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005582/2.287, allocations: 285.3 kB / 1.798 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/2.288, allocations: 135.8 kB / 1.798 GB, free: 247.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001537/2.289, allocations: 1.342 MB / 1.799 GB, free: 247.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00536/2.294, allocations: 1.845 MB / 1.801 GB, free: 247.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004635/2.295, allocations: 139.4 kB / 1.801 GB, free: 247.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02018/2.315, allocations: 12.41 MB / 1.813 GB, free: 241.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.315, allocations: 1.344 kB / 1.813 GB, free: 241.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01451/2.33, allocations: 7.724 MB / 1.821 GB, free: 234.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004781/2.334, allocations: 0.9483 MB / 1.822 GB, free: 234.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02526/2.36, allocations: 13.27 MB / 1.834 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005778/2.366, allocations: 4.827 MB / 1.839 GB, free: 218.6 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/2.366, allocations: 0 / 1.839 GB, free: 218.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.1447/2.51, allocations: 123.3 MB / 1.96 GB, free: 125.6 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)