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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.63/2.63, allocations: 287.4 MB / 303.2 MB, free: 8.234 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.001404/0.001404, allocations: 180.8 kB / 371.8 MB, free: 10.84 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.042/2.042, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009612/0.0009607, allocations: 93.11 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004775, allocations: 14.72 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9826/1.199, allocations: 187.8 MB / 1.163 GB, free: 12.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/1.2, allocations: 104.1 kB / 1.163 GB, free: 12.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1445/1.344, allocations: 31.99 MB / 1.194 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.705e-06/1.344, allocations: 0 / 1.194 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.369e-05/1.344, allocations: 19.98 kB / 1.194 GB, free: 1.246 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00249/1.347, allocations: 0.8629 MB / 1.195 GB, free: 388 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.347, allocations: 12.03 kB / 1.195 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/1.349, allocations: 199.5 kB / 1.195 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/1.351, allocations: 0.5148 MB / 1.196 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/1.351, allocations: 35.75 kB / 1.196 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/1.352, allocations: 58.7 kB / 1.196 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/1.354, allocations: 0.8812 MB / 1.197 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/1.354, allocations: 3.938 kB / 1.197 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.354, allocations: 19.25 kB / 1.197 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.354, allocations: 48.48 kB / 1.197 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/1.356, allocations: 0.5764 MB / 1.197 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007857/1.364, allocations: 4.595 MB / 1.202 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/1.365, allocations: 297.2 kB / 1.202 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/1.365, allocations: 229 kB / 1.202 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/1.365, allocations: 0 / 1.202 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/1.365, allocations: 42.06 kB / 1.202 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/1.365, allocations: 0 / 1.202 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.01016/1.375, allocations: 2.628 MB / 1.205 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.376, allocations: 58.91 kB / 1.205 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/1.376, allocations: 462.1 kB / 1.205 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.377, allocations: 37.33 kB / 1.205 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/1.377, allocations: 339.4 kB / 1.206 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/1.377, allocations: 142.5 kB / 1.206 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/1.377, allocations: 12.62 kB / 1.206 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001943/1.377, allocations: 360.1 kB / 1.206 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006748/1.378, allocations: 235.4 kB / 1.206 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007764/1.379, allocations: 384.3 kB / 1.207 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/1.38, allocations: 0.6529 MB / 1.207 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.38, allocations: 0 / 1.207 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003108/1.383, allocations: 0.9014 MB / 1.208 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/1.384, allocations: 8 kB / 1.208 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.384, allocations: 4 kB / 1.208 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/1.385, allocations: 238.8 kB / 1.208 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.386, allocations: 103.8 kB / 1.209 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008257/1.394, allocations: 4.933 MB / 1.213 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008756/1.395, allocations: 31.22 kB / 1.213 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/1.395, allocations: 35.23 kB / 1.213 GB, free: 15.21 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005654/1.396, allocations: 219.4 kB / 1.214 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/1.396, allocations: 55.34 kB / 1.214 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/1.399, allocations: 0.7744 MB / 1.214 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.399, allocations: 4 kB / 1.214 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.399, allocations: 4 kB / 1.214 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/1.399, allocations: 3.984 kB / 1.215 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/1.403, allocations: 1.476 MB / 1.216 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.404, allocations: 0 / 1.216 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/1.404, allocations: 71.08 kB / 1.216 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/1.406, allocations: 209.2 kB / 1.216 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.406, allocations: 9.25 kB / 1.216 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007611/1.413, allocations: 4.87 MB / 1.221 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.413, allocations: 12.08 kB / 1.221 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/1.417, allocations: 1.126 MB / 1.222 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/1.417, allocations: 172.9 kB / 1.222 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.417, allocations: 11.12 kB / 1.222 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/1.418, allocations: 27.53 kB / 1.222 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.418, allocations: 41.89 kB / 1.222 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/1.418, allocations: 15.25 kB / 1.222 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005866/1.419, allocations: 313.5 kB / 1.223 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.21e-07/1.419, allocations: 0 / 1.223 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001203/1.42, allocations: 181.2 kB / 1.223 GB, free: 6.625 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002925/1.42, allocations: 122.4 kB / 1.223 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002739/1.423, allocations: 0.9844 MB / 1.224 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.423, allocations: 128 / 1.224 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/1.425, allocations: 0.6852 MB / 1.225 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.427, allocations: 166.6 kB / 1.225 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/1.431, allocations: 1.501 MB / 1.226 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008911/1.432, allocations: 0.9522 MB / 1.227 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007529/1.432, allocations: 104.9 kB / 1.227 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/1.433, allocations: 35.44 kB / 1.227 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of SimCode: time 1.723e-06/1.433, allocations: 0 / 1.227 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.02628/1.459, allocations: 8.19 MB / 1.235 GB, free: 10.32 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)