Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") [: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 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 249.4 MB / 256.7 MB, free: 15.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 183.3 kB / 316 MB, free: 7.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 0.5667 GB, free: 23.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000875/0.000875, allocations: 78.36 kB / 0.671 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.324e-06, allocations: 0 / 0.7807 GB, free: 316 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4703, allocations: 106.3 MB / 0.8846 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5577/1.028, allocations: 159.9 MB / 1.041 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.028, allocations: 94.5 kB / 1.041 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.07064/1.099, allocations: 27.96 MB / 1.068 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.137e-05/1.099, allocations: 12 kB / 1.068 GB, free: 103.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001267/1.1, allocations: 0.7415 MB / 1.069 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/1.1, allocations: 12.03 kB / 1.069 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/1.102, allocations: 187 kB / 1.069 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/1.102, allocations: 370.4 kB / 1.069 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/1.102, allocations: 15.91 kB / 1.069 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/1.102, allocations: 24 kB / 1.069 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006799/1.103, allocations: 486.3 kB / 1.07 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/1.104, allocations: 0.7313 MB / 1.071 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/1.104, allocations: 3.938 kB / 1.071 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/1.104, allocations: 4 kB / 1.071 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/1.104, allocations: 52.31 kB / 1.071 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/1.107, allocations: 4.408 MB / 1.075 GB, free: 96.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/1.108, allocations: 0.5203 MB / 1.076 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/1.108, allocations: 266.2 kB / 1.076 GB, free: 95.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/1.108, allocations: 18.47 kB / 1.076 GB, free: 95.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/1.108, allocations: 34.12 kB / 1.076 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/1.108, allocations: 0 / 1.076 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001086/1.109, allocations: 0.6411 MB / 1.076 GB, free: 95.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/1.109, allocations: 85.2 kB / 1.077 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/1.109, allocations: 282.7 kB / 1.077 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/1.109, allocations: 25.7 kB / 1.077 GB, free: 94.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.109, allocations: 258.8 kB / 1.077 GB, free: 94.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/1.11, allocations: 134.4 kB / 1.077 GB, free: 94.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/1.11, allocations: 0 / 1.077 GB, free: 94.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/1.11, allocations: 344 kB / 1.078 GB, free: 94.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/1.11, allocations: 223.2 kB / 1.078 GB, free: 94.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/1.11, allocations: 439 kB / 1.078 GB, free: 93.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/1.111, allocations: 288.5 kB / 1.078 GB, free: 93.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.111, allocations: 4 kB / 1.078 GB, free: 93.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008845/1.112, allocations: 0.6674 MB / 1.079 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000631/1.112, allocations: 2.625 MB / 1.082 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.112, allocations: 4 kB / 1.082 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/1.112, allocations: 12 kB / 1.082 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/1.113, allocations: 171.7 kB / 1.082 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.113, allocations: 15.94 kB / 1.082 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/1.114, allocations: 67.69 kB / 1.082 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/1.114, allocations: 23.81 kB / 1.082 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/1.114, allocations: 4 kB / 1.082 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006007/1.114, allocations: 497.2 kB / 1.082 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.114, allocations: 8 kB / 1.082 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/1.114, allocations: 12.88 kB / 1.082 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/1.115, allocations: 159 kB / 1.083 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.115, allocations: 19.88 kB / 1.083 GB, free: 89.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/1.115, allocations: 70.95 kB / 1.083 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/1.115, allocations: 23.38 kB / 1.083 GB, free: 89.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.116, allocations: 124 kB / 1.083 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/1.116, allocations: 43.44 kB / 1.083 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007727/1.116, allocations: 0.5658 MB / 1.083 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/1.116, allocations: 8 kB / 1.083 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.116, allocations: 0 / 1.083 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.116, allocations: 3.984 kB / 1.083 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/1.118, allocations: 1.294 MB / 1.085 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.118, allocations: 0 / 1.085 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/1.119, allocations: 143.6 kB / 1.085 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.119, allocations: 4 kB / 1.085 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/1.119, allocations: 4 kB / 1.085 GB, free: 87.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.119, allocations: 7.984 kB / 1.085 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.119, allocations: 3.906 kB / 1.085 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006616/1.119, allocations: 0.8056 MB / 1.086 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/1.12, allocations: 167.8 kB / 1.086 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.376e-05/1.12, allocations: 4 kB / 1.086 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/1.12, allocations: 55.72 kB / 1.086 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.12, allocations: 31.88 kB / 1.086 GB, free: 86.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/1.12, allocations: 19.86 kB / 1.086 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001637/1.12, allocations: 211 kB / 1.086 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007841/1.121, allocations: 184 kB / 1.086 GB, free: 85.99 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/1.121, allocations: 119.8 kB / 1.086 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009481/1.122, allocations: 0.8296 MB / 1.087 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.122, allocations: 0 / 1.087 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/1.123, allocations: 267.8 kB / 1.087 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/1.123, allocations: 93.02 kB / 1.088 GB, free: 85 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/1.125, allocations: 0.8339 MB / 1.088 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/1.126, allocations: 0.9426 MB / 1.089 GB, free: 83.26 MB / 0.6823 GB Notification: Performance of SimCode: time 6.91e-07/1.126, allocations: 0 / 1.089 GB, free: 83.26 MB / 0.6823 GB Notification: Performance of Templates: time 0.01161/1.137, allocations: 8.26 MB / 1.097 GB, free: 75.1 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)