Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.566/2.566, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001338/0.001338, allocations: 188.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008789/0.000879, allocations: 92.69 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007077/0.000708, allocations: 15.08 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2174, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9509/1.168, allocations: 163.5 MB / 1.139 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/1.169, allocations: 102.3 kB / 1.139 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1514/1.32, allocations: 37.14 MB / 1.175 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/1.32, allocations: 0 / 1.175 GB, free: 4.258 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.332e-05/1.32, allocations: 23.98 kB / 1.175 GB, free: 4.234 MB / 0.698 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.003301/1.324, allocations: 1.027 MB / 1.176 GB, free: 3.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.324, allocations: 19.97 kB / 1.176 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/1.327, allocations: 243.5 kB / 1.177 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/1.328, allocations: 0.5561 MB / 1.177 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.329, allocations: 52.36 kB / 1.177 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/1.329, allocations: 65 kB / 1.177 GB, free: 2.344 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/1.332, allocations: 1.149 MB / 1.178 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/1.332, allocations: 7.984 kB / 1.178 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/1.332, allocations: 29.06 kB / 1.178 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/1.332, allocations: 56.73 kB / 1.178 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/1.334, allocations: 0.7436 MB / 1.179 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009292/1.344, allocations: 5.912 MB / 1.185 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.345, allocations: 0.5589 MB / 1.185 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/1.346, allocations: 324.1 kB / 1.186 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.214e-05/1.346, allocations: 12.38 kB / 1.186 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.346, allocations: 38.44 kB / 1.186 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.216e-06/1.346, allocations: 0 / 1.186 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.006481/1.353, allocations: 1.989 MB / 1.188 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/1.353, allocations: 55.84 kB / 1.188 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009958/1.354, allocations: 0.5569 MB / 1.188 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.135e-05/1.354, allocations: 39.45 kB / 1.188 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/1.354, allocations: 405.8 kB / 1.189 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/1.355, allocations: 170.3 kB / 1.189 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/1.355, allocations: 18.38 kB / 1.189 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002231/1.355, allocations: 379 kB / 1.189 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006815/1.356, allocations: 272.6 kB / 1.19 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/1.356, allocations: 456.6 kB / 1.19 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/1.358, allocations: 0.7834 MB / 1.191 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.358, allocations: 0 / 1.191 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003108/1.361, allocations: 1.052 MB / 1.192 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.361, allocations: 6.312 kB / 1.192 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.361, allocations: 11.98 kB / 1.192 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/1.363, allocations: 277.6 kB / 1.192 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/1.364, allocations: 123.1 kB / 1.192 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009417/1.373, allocations: 6.6 MB / 1.199 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.374, allocations: 38.58 kB / 1.199 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/1.375, allocations: 30.19 kB / 1.199 GB, free: 14.45 MB / 0.7292 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 () * Number of clocked 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.0005994/1.375, allocations: 259 kB / 1.199 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.375, allocations: 71.16 kB / 1.199 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/1.378, allocations: 0.8826 MB / 1.2 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.378, allocations: 4 kB / 1.2 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.378, allocations: 8 kB / 1.2 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/1.378, allocations: 0 / 1.2 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/1.382, allocations: 1.724 MB / 1.202 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.382, allocations: 3.938 kB / 1.202 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/1.383, allocations: 55.95 kB / 1.202 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/1.384, allocations: 268.5 kB / 1.202 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/1.384, allocations: 11.12 kB / 1.202 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009413/1.394, allocations: 6.589 MB / 1.208 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.394, allocations: 19.94 kB / 1.208 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/1.397, allocations: 0.9689 MB / 1.209 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/1.397, allocations: 192.9 kB / 1.21 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.398, allocations: 14.81 kB / 1.21 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/1.398, allocations: 23.22 kB / 1.21 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.398, allocations: 50.88 kB / 1.21 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/1.398, allocations: 15.56 kB / 1.21 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008/1.399, allocations: 387.6 kB / 1.21 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.61e-07/1.399, allocations: 0 / 1.21 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001386/1.401, allocations: 236.7 kB / 1.21 GB, free: 3.848 MB / 0.7292 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 () * Number of clocked 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.0002716/1.401, allocations: 117.9 kB / 1.21 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003223/1.404, allocations: 1.249 MB / 1.212 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.404, allocations: 0 / 1.212 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.407, allocations: 0.8973 MB / 1.212 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/1.41, allocations: 207.5 kB / 1.213 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/1.416, allocations: 1.587 MB / 1.214 GB, free: 172 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.417, allocations: 1.011 MB / 1.215 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001172/1.418, allocations: 122 kB / 1.215 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/1.419, allocations: 43.44 kB / 1.215 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of SimCode: time 2.104e-06/1.419, allocations: 0 / 1.215 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of Templates: time 0.04916/1.468, allocations: 10.34 MB / 1.225 GB, free: 4.781 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)