Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [: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.341/1.341, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.0009639/0.0009636, allocations: 173.3 kB / 366.3 MB, free: 1.949 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.021/1.021, allocations: 205.1 MB / 0.6256 GB, free: 7.438 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.000728/0.000728, allocations: 82.38 kB / 0.7395 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.73e-06/5.75e-06, allocations: 0 / 0.859 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4079, allocations: 116.3 MB / 0.9726 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5566, allocations: 154.5 MB / 1.123 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.5569, allocations: 95.92 kB / 1.124 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.06338/0.6203, allocations: 29.31 MB / 1.152 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.784e-05/0.6204, allocations: 20 kB / 1.152 GB, free: 14.32 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001155/0.6216, allocations: 0.7747 MB / 1.153 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.6216, allocations: 12.03 kB / 1.153 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.6229, allocations: 202.8 kB / 1.153 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.6237, allocations: 0.4885 MB / 1.154 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.6237, allocations: 16 kB / 1.154 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.6238, allocations: 24 kB / 1.154 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006516/0.6244, allocations: 440.4 kB / 1.154 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.6254, allocations: 0.8614 MB / 1.155 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.6255, allocations: 7.938 kB / 1.155 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.6255, allocations: 8 kB / 1.155 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.858e-05/0.6256, allocations: 56.73 kB / 1.155 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003993/0.6296, allocations: 5.566 MB / 1.16 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.6301, allocations: 419.2 kB / 1.161 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.6304, allocations: 225.3 kB / 1.161 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.6304, allocations: 4 kB / 1.161 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.6305, allocations: 42.55 kB / 1.161 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.6305, allocations: 0 / 1.161 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001475/0.6319, allocations: 0.8324 MB / 1.162 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.632, allocations: 55.41 kB / 1.162 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.6324, allocations: 354.1 kB / 1.162 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.6324, allocations: 25.7 kB / 1.162 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.6326, allocations: 303.4 kB / 1.163 GB, free: 2.926 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.357e-05/0.6327, allocations: 110.4 kB / 1.163 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.6327, allocations: 0 / 1.163 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6328, allocations: 362.8 kB / 1.163 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.6331, allocations: 177.2 kB / 1.163 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.6334, allocations: 401.5 kB / 1.164 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.6337, allocations: 251.8 kB / 1.164 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6338, allocations: 0 / 1.164 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001092/0.6348, allocations: 0.7081 MB / 1.165 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6349, allocations: 7.938 kB / 1.165 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6349, allocations: 8 kB / 1.165 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.6353, allocations: 152.4 kB / 1.165 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.6358, allocations: 107.8 kB / 1.165 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.6385, allocations: 3.865 MB / 1.169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.6388, allocations: 17.86 kB / 1.169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.6389, allocations: 28.84 kB / 1.169 GB, free: 12.28 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.639, allocations: 124.9 kB / 1.169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.6391, allocations: 55.34 kB / 1.169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009165/0.64, allocations: 0.5768 MB / 1.169 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.64, allocations: 4 kB / 1.169 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6401, allocations: 2.062 kB / 1.169 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6401, allocations: 0 / 1.169 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.6416, allocations: 1.172 MB / 1.171 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6416, allocations: 8.219 kB / 1.171 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.6418, allocations: 51.91 kB / 1.171 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003749/0.6422, allocations: 136.1 kB / 1.171 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.6423, allocations: 4 kB / 1.171 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/0.645, allocations: 3.844 MB / 1.174 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.645, allocations: 4.031 kB / 1.174 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000945/0.6459, allocations: 0.7845 MB / 1.175 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.6461, allocations: 169.5 kB / 1.175 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.6462, allocations: 0 / 1.175 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.6465, allocations: 11.98 kB / 1.175 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.6465, allocations: 15.97 kB / 1.175 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.6465, allocations: 13.31 kB / 1.175 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002469/0.6468, allocations: 271 kB / 1.176 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005948/0.6474, allocations: 128 kB / 1.176 GB, free: 4.348 MB / 0.7761 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.6476, allocations: 108.7 kB / 1.176 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.6488, allocations: 0.9589 MB / 1.177 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6488, allocations: 0.8125 kB / 1.177 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007281/0.6495, allocations: 0.7006 MB / 1.178 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007424/0.6503, allocations: 163.5 kB / 1.178 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.6516, allocations: 0.766 MB / 1.178 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.6522, allocations: 0.9604 MB / 1.179 GB, free: 488 kB / 0.7761 GB Notification: Performance of SimCode: time 3.41e-07/0.6522, allocations: 0 / 1.179 GB, free: 488 kB / 0.7761 GB Notification: Performance of Templates: time 0.01171/0.6639, allocations: 7.039 MB / 1.186 GB, free: 9.59 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)