Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.323/1.323, allocations: 289.8 MB / 297.1 MB, free: 6.582 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.0009094/0.0009095, allocations: 185.2 kB / 366.3 MB, free: 1.922 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.9883/0.9883, allocations: 205.1 MB / 0.6256 GB, free: 7.41 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.0007729/0.0007729, allocations: 81.77 kB / 0.7395 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.6e-06/5.62e-06, allocations: 0 / 0.859 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4172, allocations: 116.3 MB / 0.9726 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.5716, allocations: 167.2 MB / 1.136 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5719, allocations: 95.92 kB / 1.136 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.06146/0.6334, allocations: 27.94 MB / 1.163 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.132e-05/0.6334, allocations: 15.98 kB / 1.163 GB, free: 2.961 MB / 0.7605 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.001202/0.6346, allocations: 0.744 MB / 1.164 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.6347, allocations: 12.03 kB / 1.164 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.6358, allocations: 183.1 kB / 1.164 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.6363, allocations: 366.5 kB / 1.165 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.6364, allocations: 17.62 kB / 1.165 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.6364, allocations: 24 kB / 1.165 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007327/0.6372, allocations: 485.8 kB / 1.165 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.6381, allocations: 0.7289 MB / 1.166 GB, free: 252 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6381, allocations: 11.84 kB / 1.166 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.6381, allocations: 4 kB / 1.166 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.6382, allocations: 52.75 kB / 1.166 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.6417, allocations: 4.4 MB / 1.17 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.6425, allocations: 0.5304 MB / 1.171 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.6428, allocations: 261.6 kB / 1.171 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.6429, allocations: 4 kB / 1.171 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.6429, allocations: 46.5 kB / 1.171 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=38): time 1.733e-06/0.6429, allocations: 0 / 1.171 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39): time 0.001016/0.6439, allocations: 0.6434 MB / 1.172 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.644, allocations: 85.05 kB / 1.172 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.6442, allocations: 281.9 kB / 1.172 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.6443, allocations: 25.7 kB / 1.172 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.6444, allocations: 255.8 kB / 1.172 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.6445, allocations: 138 kB / 1.172 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.6445, allocations: 96 / 1.172 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6447, allocations: 350.8 kB / 1.173 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.645, allocations: 221.2 kB / 1.173 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.6454, allocations: 432.5 kB / 1.173 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.6458, allocations: 287.5 kB / 1.174 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6458, allocations: 8 kB / 1.174 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009236/0.6467, allocations: 0.6762 MB / 1.174 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008379/0.6476, allocations: 2.615 MB / 1.177 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6476, allocations: 4 kB / 1.177 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6476, allocations: 12 kB / 1.177 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/0.6483, allocations: 171.8 kB / 1.177 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.6484, allocations: 15.62 kB / 1.177 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.6489, allocations: 67.78 kB / 1.177 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.6489, allocations: 27.91 kB / 1.177 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.6489, allocations: 4 kB / 1.177 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006652/0.6496, allocations: 499.6 kB / 1.178 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6496, allocations: 8 kB / 1.178 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.6496, allocations: 12 kB / 1.178 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.6502, allocations: 159.8 kB / 1.178 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.6502, allocations: 18.78 kB / 1.178 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.6506, allocations: 55.73 kB / 1.178 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.6506, allocations: 28 kB / 1.178 GB, free: 3.188 MB / 0.7761 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.0001152/0.6508, allocations: 124.7 kB / 1.178 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.6509, allocations: 43.52 kB / 1.178 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008118/0.6517, allocations: 0.5601 MB / 1.178 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.6517, allocations: 8 kB / 1.178 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.6517, allocations: 4 kB / 1.179 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.6517, allocations: 3.984 kB / 1.179 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.6534, allocations: 1.291 MB / 1.18 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.6534, allocations: 8.969 kB / 1.18 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.6542, allocations: 135.8 kB / 1.18 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.6542, allocations: 8 kB / 1.18 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.6542, allocations: 4 kB / 1.18 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.6542, allocations: 3.938 kB / 1.18 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6542, allocations: 7.984 kB / 1.18 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007734/0.655, allocations: 0.8071 MB / 1.181 GB, free: 28 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.6552, allocations: 169.4 kB / 1.181 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.6553, allocations: 7.984 kB / 1.181 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.6557, allocations: 47.95 kB / 1.181 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.6558, allocations: 31.89 kB / 1.181 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.6559, allocations: 12 kB / 1.181 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0001772/0.656, allocations: 218.7 kB / 1.181 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006927/0.6567, allocations: 184 kB / 1.181 GB, free: 15.36 MB / 0.7917 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.000127/0.6569, allocations: 123.1 kB / 1.181 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.6579, allocations: 0.8317 MB / 1.182 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6579, allocations: 0 / 1.182 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.6583, allocations: 264.1 kB / 1.183 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.6588, allocations: 104.4 kB / 1.183 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6604, allocations: 0.8306 MB / 1.183 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/0.661, allocations: 0.9408 MB / 1.184 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of SimCode: time 2.41e-07/0.661, allocations: 4 kB / 1.184 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of Templates: time 0.01223/0.6732, allocations: 8.264 MB / 1.192 GB, free: 4.07 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)