Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [: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.1.4-maint.8.1.x/package.mo): time 1.353/1.353, allocations: 289.8 MB / 297.1 MB, free: 9.066 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.0009036/0.0009036, allocations: 181.3 kB / 366.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.023/1.023, allocations: 205.1 MB / 0.6256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007606/0.0007607, allocations: 95.11 kB / 0.7396 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.143e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1456, allocations: 116.3 MB / 0.9726 GB, free: 31.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5904, allocations: 185.2 MB / 1.153 GB, free: 15.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.5906, allocations: 89.59 kB / 1.154 GB, free: 15.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.9591/1.55, allocations: 297 MB / 1.444 GB, free: 142.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002599/1.55, allocations: 148.7 kB / 1.444 GB, free: 142.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.009046/1.559, allocations: 4.744 MB / 1.448 GB, free: 140.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/1.559, allocations: 10.56 kB / 1.448 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009618/1.569, allocations: 1.415 MB / 1.45 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008615/1.577, allocations: 4.216 MB / 1.454 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/1.578, allocations: 160.9 kB / 1.454 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009015/1.578, allocations: 303.7 kB / 1.454 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008399/1.587, allocations: 5.762 MB / 1.46 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009833/1.597, allocations: 7.714 MB / 1.467 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/1.597, allocations: 29.72 kB / 1.467 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004962/1.597, allocations: 15.34 kB / 1.467 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/1.598, allocations: 341.8 kB / 1.468 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03288/1.63, allocations: 39.11 MB / 1.506 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/1.633, allocations: 2.558 MB / 1.508 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/1.636, allocations: 2.512 MB / 1.511 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/1.636, allocations: 33.56 kB / 1.511 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.636, allocations: 63.53 kB / 1.511 GB, free: 113.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=265): time 5.089e-06/1.636, allocations: 3 kB / 1.511 GB, free: 113.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=424): time 0.06072/1.697, allocations: 27.91 MB / 1.538 GB, free: 111.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.697, allocations: 97.3 kB / 1.538 GB, free: 111.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/1.699, allocations: 1.634 MB / 1.54 GB, free: 111.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/1.7, allocations: 25.7 kB / 1.54 GB, free: 111.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/1.7, allocations: 1.899 MB / 1.542 GB, free: 109.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009117/1.701, allocations: 1.381 MB / 1.543 GB, free: 109 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/1.701, allocations: 3.5 kB / 1.543 GB, free: 109 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.702, allocations: 482.4 kB / 1.544 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/1.705, allocations: 2.743 MB / 1.546 GB, free: 108.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/1.708, allocations: 3.679 MB / 1.55 GB, free: 107.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/1.712, allocations: 3.352 MB / 1.553 GB, free: 107.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/1.712, allocations: 7.312 kB / 1.553 GB, free: 107.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02168/1.733, allocations: 11.38 MB / 1.564 GB, free: 106.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.733, allocations: 8.25 kB / 1.564 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/1.733, allocations: 25.5 kB / 1.564 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01641/1.75, allocations: 4.971 MB / 1.569 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/1.752, allocations: 496.2 kB / 1.57 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05576/1.808, allocations: 59.69 MB / 1.628 GB, free: 66.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/1.811, allocations: 68.52 kB / 1.628 GB, free: 66.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007251/1.812, allocations: 164.8 kB / 1.628 GB, free: 66.82 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009559/1.813, allocations: 189.1 kB / 1.628 GB, free: 66.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/1.814, allocations: 377.1 kB / 1.629 GB, free: 66.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02154/1.835, allocations: 11.23 MB / 1.64 GB, free: 62.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.835, allocations: 42.78 kB / 1.64 GB, free: 62.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.087e-05/1.835, allocations: 46.75 kB / 1.64 GB, free: 62.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/1.835, allocations: 21 kB / 1.64 GB, free: 62.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02906/1.864, allocations: 16.75 MB / 1.656 GB, free: 56.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.864, allocations: 7.125 kB / 1.656 GB, free: 56.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/1.866, allocations: 276.9 kB / 1.656 GB, free: 56.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01531/1.881, allocations: 4.436 MB / 1.661 GB, free: 54.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004051/1.882, allocations: 22.73 kB / 1.661 GB, free: 54.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05761/1.939, allocations: 57.24 MB / 1.717 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.939, allocations: 10.34 kB / 1.717 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0252/1.964, allocations: 15.08 MB / 1.731 GB, free: 1.789 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002297/1.967, allocations: 0.9522 MB / 1.732 GB, free: 0.918 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/1.968, allocations: 12 kB / 1.732 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/1.971, allocations: 73.97 kB / 1.732 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006059/1.971, allocations: 212.7 kB / 1.733 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000399/1.972, allocations: 104 kB / 1.733 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002226/1.974, allocations: 1.233 MB / 1.734 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006044/1.98, allocations: 1.438 MB / 1.735 GB, free: 14.18 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005825/1.981, allocations: 150.2 kB / 1.735 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01805/1.999, allocations: 10.52 MB / 1.746 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.999, allocations: 0 / 1.746 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/2.012, allocations: 7.034 MB / 1.753 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00444/2.016, allocations: 0.8435 MB / 1.753 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/2.04, allocations: 10.1 MB / 1.763 GB, free: 3.918 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006004/2.046, allocations: 4.087 MB / 1.767 GB, free: 0.75 MB / 0.9792 GB Notification: Performance of SimCode: time 9.92e-07/2.046, allocations: 4 kB / 1.767 GB, free: 0.7461 MB / 0.9792 GB Notification: Performance of Templates: time 0.4072/2.453, allocations: 93.13 MB / 1.858 GB, free: 256 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)