Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [: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.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 1.137 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 177.8 kB / 361.1 MB, free: 15.46 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9813/0.9813, allocations: 205.1 MB / 0.6195 GB, free: 6.152 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007518/0.0007517, allocations: 83.06 kB / 0.7325 GB, free: 47.02 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.923e-06, allocations: 0 / 0.8511 GB, free: 13.07 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4049, allocations: 115.3 MB / 0.9637 GB, free: 85.89 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.5575, allocations: 162.8 MB / 1.123 GB, free: 2.902 MB / 0.7217 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.5578, allocations: 93.02 kB / 1.123 GB, free: 2.812 MB / 0.7217 GB Notification: Performance of FrontEnd: time 0.08228/0.6401, allocations: 36.42 MB / 1.158 GB, free: 14.15 MB / 0.7686 GB Notification: Performance of Transformations before backend: time 4.397e-05/0.6401, allocations: 23.98 kB / 1.158 GB, free: 14.13 MB / 0.7686 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00158/0.6417, allocations: 0.9656 MB / 1.159 GB, free: 13.12 MB / 0.7686 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.6417, allocations: 8.031 kB / 1.159 GB, free: 13.11 MB / 0.7686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.6433, allocations: 246.6 kB / 1.16 GB, free: 12.87 MB / 0.7686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.6442, allocations: 0.5432 MB / 1.16 GB, free: 12.28 MB / 0.7686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.6442, allocations: 20 kB / 1.16 GB, free: 12.26 MB / 0.7686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.895e-05/0.6443, allocations: 44 kB / 1.16 GB, free: 12.22 MB / 0.7686 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009367/0.6452, allocations: 0.6169 MB / 1.161 GB, free: 11.6 MB / 0.7686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.6465, allocations: 1.049 MB / 1.162 GB, free: 10.41 MB / 0.7686 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.6465, allocations: 0 / 1.162 GB, free: 10.41 MB / 0.7686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.6466, allocations: 8 kB / 1.162 GB, free: 10.4 MB / 0.7686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.634e-05/0.6467, allocations: 53.28 kB / 1.162 GB, free: 10.35 MB / 0.7686 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/0.6514, allocations: 5.798 MB / 1.167 GB, free: 4.137 MB / 0.7686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.6523, allocations: 0.5234 MB / 1.168 GB, free: 3.598 MB / 0.7686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.6527, allocations: 322.1 kB / 1.168 GB, free: 3.281 MB / 0.7686 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.6527, allocations: 4.438 kB / 1.168 GB, free: 3.277 MB / 0.7686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.6527, allocations: 43 kB / 1.168 GB, free: 3.227 MB / 0.7686 GB Notification: Performance of pre-optimization done (n=47): time 1.823e-06/0.6527, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.7686 GB Notification: Performance of matching and sorting (n=48): time 0.001959/0.6547, allocations: 1.185 MB / 1.169 GB, free: 2.02 MB / 0.7686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.6547, allocations: 55.84 kB / 1.17 GB, free: 1.953 MB / 0.7686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.6552, allocations: 406.2 kB / 1.17 GB, free: 1.551 MB / 0.7686 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.6552, allocations: 29.64 kB / 1.17 GB, free: 1.516 MB / 0.7686 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.6554, allocations: 350.8 kB / 1.17 GB, free: 1.168 MB / 0.7686 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.6555, allocations: 161.6 kB / 1.17 GB, free: 1.008 MB / 0.7686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.6555, allocations: 0 / 1.17 GB, free: 1.008 MB / 0.7686 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6557, allocations: 374.7 kB / 1.171 GB, free: 0.6328 MB / 0.7686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.656, allocations: 257.2 kB / 1.171 GB, free: 392 kB / 0.7686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.6565, allocations: 453.5 kB / 1.171 GB, free: 15.86 MB / 0.7842 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.6569, allocations: 329.2 kB / 1.172 GB, free: 15.54 MB / 0.7842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6569, allocations: 4 kB / 1.172 GB, free: 15.54 MB / 0.7842 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001569/0.6585, allocations: 0.9788 MB / 1.173 GB, free: 14.54 MB / 0.7842 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.6585, allocations: 5.844 kB / 1.173 GB, free: 14.54 MB / 0.7842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6585, allocations: 8 kB / 1.173 GB, free: 14.53 MB / 0.7842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008138/0.6594, allocations: 279.1 kB / 1.173 GB, free: 14.24 MB / 0.7842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.6598, allocations: 113.1 kB / 1.173 GB, free: 14.13 MB / 0.7842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/0.6652, allocations: 6.213 MB / 1.179 GB, free: 7.461 MB / 0.7842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.6657, allocations: 19.97 kB / 1.179 GB, free: 7.441 MB / 0.7842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.6657, allocations: 24 kB / 1.179 GB, free: 7.418 MB / 0.7842 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.6659, allocations: 124.6 kB / 1.179 GB, free: 7.289 MB / 0.7842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.666, allocations: 67.25 kB / 1.179 GB, free: 7.223 MB / 0.7842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.6674, allocations: 0.8492 MB / 1.18 GB, free: 6.352 MB / 0.7842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.6674, allocations: 4 kB / 1.18 GB, free: 6.348 MB / 0.7842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6674, allocations: 4 kB / 1.18 GB, free: 6.344 MB / 0.7842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.6674, allocations: 3.984 kB / 1.18 GB, free: 6.34 MB / 0.7842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.6697, allocations: 1.595 MB / 1.182 GB, free: 4.672 MB / 0.7842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6698, allocations: 8.188 kB / 1.182 GB, free: 4.664 MB / 0.7842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.67, allocations: 55.91 kB / 1.182 GB, free: 4.609 MB / 0.7842 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007272/0.6708, allocations: 265.2 kB / 1.182 GB, free: 4.34 MB / 0.7842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.6708, allocations: 0 / 1.182 GB, free: 4.34 MB / 0.7842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/0.676, allocations: 6.181 MB / 1.188 GB, free: 13.7 MB / 0.7999 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.676, allocations: 7.938 kB / 1.188 GB, free: 13.7 MB / 0.7999 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001374/0.6774, allocations: 1.02 MB / 1.189 GB, free: 12.59 MB / 0.7999 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.6776, allocations: 188.3 kB / 1.189 GB, free: 12.39 MB / 0.7999 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.6777, allocations: 5.375 kB / 1.189 GB, free: 12.38 MB / 0.7999 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.6781, allocations: 11.98 kB / 1.189 GB, free: 12.37 MB / 0.7999 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.6781, allocations: 27.95 kB / 1.189 GB, free: 12.34 MB / 0.7999 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.6782, allocations: 8 kB / 1.189 GB, free: 12.34 MB / 0.7999 GB Notification: Performance of sort global known variables: time 0.0002889/0.6785, allocations: 310.9 kB / 1.19 GB, free: 12.04 MB / 0.7999 GB Notification: Performance of remove unused functions: time 0.0006618/0.6791, allocations: 192 kB / 1.19 GB, free: 11.85 MB / 0.7999 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.6793, allocations: 119.2 kB / 1.19 GB, free: 11.72 MB / 0.7999 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.6809, allocations: 1.158 MB / 1.191 GB, free: 10.53 MB / 0.7999 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6809, allocations: 4 kB / 1.191 GB, free: 10.52 MB / 0.7999 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.682, allocations: 0.7921 MB / 1.192 GB, free: 9.691 MB / 0.7999 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.6827, allocations: 164.8 kB / 1.192 GB, free: 9.539 MB / 0.7999 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.6846, allocations: 1.002 MB / 1.193 GB, free: 8.492 MB / 0.7999 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006491/0.6852, allocations: 1.053 MB / 1.194 GB, free: 7.414 MB / 0.7999 GB Notification: Performance of SimCode: time 2.7e-07/0.6852, allocations: 0 / 1.194 GB, free: 7.414 MB / 0.7999 GB Notification: Performance of Templates: time 0.01597/0.7012, allocations: 10.1 MB / 1.204 GB, free: 13.46 MB / 0.8155 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)