Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.0009436/0.0009436, allocations: 192.2 kB / 366.3 MB, free: 1.926 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.9971/0.9971, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.000747/0.000747, allocations: 84.08 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.641e-06/5.671e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4271, allocations: 116.3 MB / 0.9726 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.6042, allocations: 188.1 MB / 1.156 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.6045, allocations: 96.44 kB / 1.156 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.06779/0.6723, allocations: 31.32 MB / 1.187 GB, free: 8.512 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.6724, allocations: 16 kB / 1.187 GB, free: 8.496 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.001106/0.6735, allocations: 0.8136 MB / 1.188 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.6735, allocations: 8.031 kB / 1.188 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.6749, allocations: 198.9 kB / 1.188 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008289/0.6757, allocations: 0.4975 MB / 1.188 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.6758, allocations: 16 kB / 1.188 GB, free: 6.875 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.6759, allocations: 35.91 kB / 1.188 GB, free: 6.84 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006937/0.6766, allocations: 474.1 kB / 1.189 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009382/0.6776, allocations: 0.8065 MB / 1.19 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.6776, allocations: 7.938 kB / 1.19 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.6777, allocations: 4 kB / 1.19 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.6777, allocations: 48.91 kB / 1.19 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.6815, allocations: 4.497 MB / 1.194 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.6818, allocations: 270.5 kB / 1.194 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.6821, allocations: 220.8 kB / 1.195 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.6821, allocations: 8 kB / 1.195 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.6821, allocations: 38.5 kB / 1.195 GB, free: 24 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.6821, allocations: 0 / 1.195 GB, free: 24 kB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003582/0.6857, allocations: 2.027 MB / 1.197 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.6858, allocations: 55.41 kB / 1.197 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.6861, allocations: 333 kB / 1.197 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.6861, allocations: 29.7 kB / 1.197 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.6863, allocations: 287.6 kB / 1.197 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/0.6864, allocations: 138 kB / 1.197 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.6864, allocations: 0 / 1.197 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6865, allocations: 358.8 kB / 1.198 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.6868, allocations: 229.2 kB / 1.198 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.6872, allocations: 372.1 kB / 1.198 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.6876, allocations: 285.4 kB / 1.199 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6876, allocations: 4 kB / 1.199 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001406/0.689, allocations: 0.8435 MB / 1.199 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.689, allocations: 7.906 kB / 1.2 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.689, allocations: 4.562 kB / 1.2 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007477/0.6898, allocations: 226.3 kB / 1.2 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.6903, allocations: 99.89 kB / 1.2 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/0.6943, allocations: 4.627 MB / 1.204 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.6947, allocations: 15.89 kB / 1.204 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.6947, allocations: 27.98 kB / 1.204 GB, free: 5.539 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.000107/0.6948, allocations: 117.5 kB / 1.204 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.6949, allocations: 55.34 kB / 1.205 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.6962, allocations: 0.7346 MB / 1.205 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6962, allocations: 7.906 kB / 1.205 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6963, allocations: 4 kB / 1.205 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6963, allocations: 4 kB / 1.205 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.6983, allocations: 1.369 MB / 1.207 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6983, allocations: 4 kB / 1.207 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.6987, allocations: 67.89 kB / 1.207 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006415/0.6993, allocations: 198.6 kB / 1.207 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.6994, allocations: 4 kB / 1.207 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/0.7032, allocations: 4.543 MB / 1.211 GB, free: 13.99 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.7032, allocations: 7.938 kB / 1.211 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001572/0.7048, allocations: 1.191 MB / 1.212 GB, free: 12.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.705, allocations: 168.4 kB / 1.213 GB, free: 12.52 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.705, allocations: 4 kB / 1.213 GB, free: 12.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.7053, allocations: 16.17 kB / 1.213 GB, free: 12.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.7054, allocations: 23.91 kB / 1.213 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.7054, allocations: 19.94 kB / 1.213 GB, free: 12.45 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002274/0.7057, allocations: 259.3 kB / 1.213 GB, free: 12.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005391/0.7062, allocations: 159.8 kB / 1.213 GB, free: 12.04 MB / 0.823 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.0001581/0.7064, allocations: 111.2 kB / 1.213 GB, free: 11.92 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.7077, allocations: 0.9161 MB / 1.214 GB, free: 10.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7077, allocations: 0 / 1.214 GB, free: 10.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/0.7085, allocations: 0.6084 MB / 1.215 GB, free: 10.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.7091, allocations: 145.8 kB / 1.215 GB, free: 10.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.7107, allocations: 0.9651 MB / 1.216 GB, free: 9.184 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/0.7112, allocations: 0.9876 MB / 1.217 GB, free: 8.168 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.7113, allocations: 0 / 1.217 GB, free: 8.168 MB / 0.823 GB Notification: Performance of Templates: time 0.01242/0.7237, allocations: 8.18 MB / 1.225 GB, free: 104 kB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)