Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0.1-maint.8.0.x/package.mo): time 1.288/1.288, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009385/0.0009385, allocations: 179.8 kB / 361.1 MB, free: 7.117 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.9652/0.9652, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007725/0.0007725, allocations: 100.1 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.662e-06, allocations: 4 kB / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3814, allocations: 115.3 MB / 0.9637 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.5294, allocations: 166.8 MB / 1.127 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.5296, allocations: 96.53 kB / 1.127 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.1855/0.7151, allocations: 85.18 MB / 1.21 GB, free: 15.32 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.575e-05/0.7152, allocations: 63.92 kB / 1.21 GB, free: 15.25 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00395/0.7192, allocations: 2.143 MB / 1.212 GB, free: 13.05 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.7192, allocations: 11.97 kB / 1.212 GB, free: 13.04 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.7231, allocations: 0.6799 MB / 1.213 GB, free: 12.36 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.7257, allocations: 1.539 MB / 1.214 GB, free: 10.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.7258, allocations: 80 kB / 1.214 GB, free: 10.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/0.7262, allocations: 135.9 kB / 1.214 GB, free: 10.56 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00414/0.7303, allocations: 2.794 MB / 1.217 GB, free: 7.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/0.7352, allocations: 3.558 MB / 1.221 GB, free: 4.031 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/0.7353, allocations: 7.938 kB / 1.221 GB, free: 4.023 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/0.7355, allocations: 4 kB / 1.221 GB, free: 4.02 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.7357, allocations: 168.5 kB / 1.221 GB, free: 3.852 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.7504, allocations: 15.98 MB / 1.236 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.7515, allocations: 1.067 MB / 1.237 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007668/0.7523, allocations: 0.6212 MB / 1.238 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.7524, allocations: 93.67 kB / 1.238 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.7525, allocations: 55.17 kB / 1.238 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.7525, allocations: 0 / 1.238 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.004044/0.7565, allocations: 2.815 MB / 1.241 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.7566, allocations: 111.5 kB / 1.241 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.7575, allocations: 0.852 MB / 1.242 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.7576, allocations: 25.7 kB / 1.242 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/0.7581, allocations: 0.9974 MB / 1.243 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.7583, allocations: 268.2 kB / 1.243 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.7583, allocations: 0 / 1.243 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7585, allocations: 410.7 kB / 1.244 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/0.7593, allocations: 0.6286 MB / 1.244 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.7604, allocations: 1.165 MB / 1.245 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.7619, allocations: 0.9983 MB / 1.246 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.762, allocations: 15.98 kB / 1.246 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003147/0.7651, allocations: 2.049 MB / 1.248 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7651, allocations: 17.34 kB / 1.248 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.7652, allocations: 16 kB / 1.248 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.7656, allocations: 163.3 kB / 1.248 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.7668, allocations: 335.4 kB / 1.249 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.14e-05/0.7668, allocations: 35.86 kB / 1.249 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/0.7677, allocations: 99.62 kB / 1.249 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/0.7678, allocations: 60 kB / 1.249 GB, free: 5.125 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.768, allocations: 152.4 kB / 1.249 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.7681, allocations: 110.8 kB / 1.249 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.7702, allocations: 1.349 MB / 1.251 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.7703, allocations: 8 kB / 1.251 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7703, allocations: 4 kB / 1.251 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.7703, allocations: 3.984 kB / 1.251 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2015/0.9718, allocations: 3.373 MB / 1.254 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.9719, allocations: 7.797 kB / 1.254 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007114/0.9726, allocations: 146.6 kB / 1.254 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/0.9729, allocations: 149.1 kB / 1.254 GB, free: 293.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.973, allocations: 3.812 kB / 1.254 GB, free: 293.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.973, allocations: 5.656 kB / 1.254 GB, free: 293.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.973, allocations: 3.938 kB / 1.254 GB, free: 293.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001651/0.9747, allocations: 1.699 MB / 1.256 GB, free: 293 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.9751, allocations: 298.1 kB / 1.256 GB, free: 292.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.9752, allocations: 3.812 kB / 1.256 GB, free: 292.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.9758, allocations: 55.11 kB / 1.256 GB, free: 292.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.9759, allocations: 49.12 kB / 1.256 GB, free: 292.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.976, allocations: 21.88 kB / 1.256 GB, free: 292.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0006149/0.9766, allocations: 0.6381 MB / 1.257 GB, free: 292.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001058/0.9777, allocations: 387.4 kB / 1.257 GB, free: 292.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.9778, allocations: 111.8 kB / 1.257 GB, free: 292.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.9793, allocations: 1.747 MB / 1.259 GB, free: 292.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9793, allocations: 0 / 1.259 GB, free: 292.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.9799, allocations: 0.9051 MB / 1.26 GB, free: 291.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009322/0.9809, allocations: 211.2 kB / 1.26 GB, free: 291.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.9849, allocations: 3.106 MB / 1.263 GB, free: 291.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/0.9864, allocations: 2.048 MB / 1.265 GB, free: 290.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.9e-07/0.9864, allocations: 0 / 1.265 GB, free: 290.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01908/1.005, allocations: 14.53 MB / 1.279 GB, free: 290.2 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)