Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009793/0.0009794, allocations: 177.3 kB / 361.1 MB, free: 7.102 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.9988/0.9988, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007264/0.0007265, allocations: 94.92 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.711e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4118, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5774, allocations: 180.5 MB / 1.14 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5777, allocations: 93.25 kB / 1.14 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.0705/0.6482, allocations: 30.78 MB / 1.17 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.538e-05/0.6482, allocations: 23.98 kB / 1.17 GB, free: 8.367 MB / 0.7761 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.001231/0.6495, allocations: 0.798 MB / 1.171 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.6495, allocations: 8.031 kB / 1.171 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.6509, allocations: 198.9 kB / 1.171 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.6518, allocations: 499.8 kB / 1.172 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.6518, allocations: 17.12 kB / 1.172 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.652, allocations: 32 kB / 1.172 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007314/0.6527, allocations: 480.2 kB / 1.172 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.6537, allocations: 0.8065 MB / 1.173 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.6538, allocations: 0 / 1.173 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.6538, allocations: 4 kB / 1.173 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.924e-05/0.6539, allocations: 48.97 kB / 1.173 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.6578, allocations: 4.501 MB / 1.177 GB, free: 480 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.6582, allocations: 274.5 kB / 1.178 GB, free: 196 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.6585, allocations: 220.8 kB / 1.178 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.6585, allocations: 5.594 kB / 1.178 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.6585, allocations: 34.56 kB / 1.178 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/0.6586, allocations: 0 / 1.178 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003776/0.6623, allocations: 2.02 MB / 1.18 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.6624, allocations: 55.41 kB / 1.18 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.6627, allocations: 329 kB / 1.18 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.6627, allocations: 29.64 kB / 1.18 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.6629, allocations: 291.6 kB / 1.18 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-05/0.663, allocations: 138 kB / 1.181 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.663, allocations: 0 / 1.181 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6632, allocations: 362.7 kB / 1.181 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.6635, allocations: 221.2 kB / 1.181 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.6639, allocations: 372.1 kB / 1.182 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.6643, allocations: 289.4 kB / 1.182 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6643, allocations: 0 / 1.182 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001518/0.6658, allocations: 0.8435 MB / 1.183 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6658, allocations: 4.562 kB / 1.183 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6658, allocations: 5.594 kB / 1.183 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007769/0.6666, allocations: 222.4 kB / 1.183 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.6671, allocations: 107.8 kB / 1.183 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.6714, allocations: 4.626 MB / 1.187 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.6717, allocations: 11.98 kB / 1.187 GB, free: 5.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.6718, allocations: 24.06 kB / 1.187 GB, free: 5.477 MB / 0.7917 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.0001211/0.6719, allocations: 128 kB / 1.188 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.672, allocations: 55.28 kB / 1.188 GB, free: 5.293 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.6734, allocations: 0.7344 MB / 1.188 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6734, allocations: 7.906 kB / 1.188 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6734, allocations: 8 kB / 1.188 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6734, allocations: 3.984 kB / 1.188 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.6756, allocations: 1.373 MB / 1.19 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6756, allocations: 4 kB / 1.19 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.676, allocations: 60.19 kB / 1.19 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007095/0.6767, allocations: 212.7 kB / 1.19 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.6767, allocations: 4 kB / 1.19 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.6807, allocations: 4.538 MB / 1.194 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6808, allocations: 4.062 kB / 1.194 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001631/0.6824, allocations: 1.199 MB / 1.196 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.6826, allocations: 168.5 kB / 1.196 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.6827, allocations: 7.984 kB / 1.196 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.683, allocations: 15.97 kB / 1.196 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.6831, allocations: 19.97 kB / 1.196 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.6831, allocations: 16.06 kB / 1.196 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002162/0.6833, allocations: 251.2 kB / 1.196 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006001/0.6839, allocations: 148 kB / 1.196 GB, free: 11.98 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.0001596/0.6841, allocations: 115.1 kB / 1.196 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.6854, allocations: 0.9169 MB / 1.197 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6854, allocations: 0 / 1.197 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008205/0.6863, allocations: 0.6108 MB / 1.198 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006905/0.687, allocations: 144.2 kB / 1.198 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.6886, allocations: 0.958 MB / 1.199 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.6891, allocations: 0.9876 MB / 1.2 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.6891, allocations: 0 / 1.2 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of Templates: time 0.01281/0.702, allocations: 8.153 MB / 1.208 GB, free: 164 kB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)