Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [: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.339/1.339, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0009828/0.0009828, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.018/1.018, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0008181/0.0008181, allocations: 85.16 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.673e-06/6.693e-06, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.408, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.5706, allocations: 181.5 MB / 1.15 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.5708, allocations: 99.92 kB / 1.15 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.06533/0.6362, allocations: 30.77 MB / 1.18 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.974e-05/0.6362, allocations: 19.94 kB / 1.18 GB, free: 15.77 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001104/0.6373, allocations: 0.8058 MB / 1.181 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.6374, allocations: 8.031 kB / 1.181 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.6387, allocations: 198.9 kB / 1.181 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008051/0.6395, allocations: 495.9 kB / 1.181 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.6395, allocations: 16 kB / 1.181 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6397, allocations: 43.97 kB / 1.181 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006886/0.6404, allocations: 474.1 kB / 1.182 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.6413, allocations: 0.7988 MB / 1.183 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6414, allocations: 11.94 kB / 1.183 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.6414, allocations: 0 / 1.183 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.6415, allocations: 48.97 kB / 1.183 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/0.6452, allocations: 4.493 MB / 1.187 GB, free: 7.875 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.6456, allocations: 278.4 kB / 1.187 GB, free: 7.594 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.6458, allocations: 220.8 kB / 1.188 GB, free: 7.375 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.6459, allocations: 4 kB / 1.188 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.6459, allocations: 34.56 kB / 1.188 GB, free: 7.328 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.313e-06/0.6459, allocations: 0 / 1.188 GB, free: 7.328 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003531/0.6494, allocations: 2.023 MB / 1.19 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6495, allocations: 55.41 kB / 1.19 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.6498, allocations: 325.1 kB / 1.19 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.6498, allocations: 25.7 kB / 1.19 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.65, allocations: 287.6 kB / 1.19 GB, free: 4.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/0.6501, allocations: 138 kB / 1.19 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.6501, allocations: 0 / 1.19 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6502, allocations: 366.7 kB / 1.191 GB, free: 3.996 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.6505, allocations: 233.2 kB / 1.191 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.6509, allocations: 372.1 kB / 1.191 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.6513, allocations: 281.4 kB / 1.192 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6513, allocations: 0 / 1.192 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001393/0.6527, allocations: 0.8474 MB / 1.192 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.6527, allocations: 4 kB / 1.192 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6527, allocations: 4 kB / 1.192 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007468/0.6535, allocations: 234.9 kB / 1.193 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.6539, allocations: 103.8 kB / 1.193 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/0.6581, allocations: 4.615 MB / 1.197 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.6584, allocations: 20.03 kB / 1.197 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.6585, allocations: 24.06 kB / 1.197 GB, free: 12.86 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.6586, allocations: 121.3 kB / 1.197 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.6587, allocations: 55.28 kB / 1.198 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.6601, allocations: 0.7384 MB / 1.198 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.6601, allocations: 7.906 kB / 1.198 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6601, allocations: 4 kB / 1.198 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6601, allocations: 0 / 1.198 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.6622, allocations: 1.373 MB / 1.2 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6622, allocations: 0 / 1.2 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.6625, allocations: 67.89 kB / 1.2 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006506/0.6632, allocations: 198.6 kB / 1.2 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.6632, allocations: 4 kB / 1.2 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.6671, allocations: 4.549 MB / 1.204 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6671, allocations: 0 / 1.204 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001581/0.6687, allocations: 1.2 MB / 1.205 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.6689, allocations: 172.4 kB / 1.206 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.669, allocations: 4 kB / 1.206 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.6693, allocations: 11.98 kB / 1.206 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.6694, allocations: 19.97 kB / 1.206 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.6694, allocations: 12 kB / 1.206 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002201/0.6696, allocations: 255.2 kB / 1.206 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005423/0.6702, allocations: 151.9 kB / 1.206 GB, free: 3.371 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.6703, allocations: 119.2 kB / 1.206 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.6716, allocations: 0.9122 MB / 1.207 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6716, allocations: 0 / 1.207 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.6724, allocations: 0.6123 MB / 1.208 GB, free: 1.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.6731, allocations: 135.1 kB / 1.208 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.6746, allocations: 0.9621 MB / 1.209 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/0.6752, allocations: 0.9876 MB / 1.21 GB, free: 15.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/0.6752, allocations: 0 / 1.21 GB, free: 15.5 MB / 0.823 GB Notification: Performance of Templates: time 0.0122/0.6874, allocations: 8.169 MB / 1.218 GB, free: 7.438 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)