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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.886/1.886, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001187/0.001187, allocations: 188.3 kB / 371.8 MB, free: 10.28 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.836/1.836, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008848/0.0008851, allocations: 89.09 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 16.44 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8379/1.063, allocations: 188 MB / 1.163 GB, free: 11.04 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.064, allocations: 97.75 kB / 1.163 GB, free: 10.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08069/1.144, allocations: 31.97 MB / 1.194 GB, free: 88 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.775e-06/1.144, allocations: 0 / 1.194 GB, free: 88 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.625e-05/1.144, allocations: 20 kB / 1.194 GB, free: 68 kB / 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.002369/1.147, allocations: 0.8733 MB / 1.195 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/1.147, allocations: 8.031 kB / 1.195 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/1.149, allocations: 206.8 kB / 1.195 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/1.15, allocations: 0.4898 MB / 1.196 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/1.15, allocations: 38.23 kB / 1.196 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/1.15, allocations: 56.67 kB / 1.196 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/1.152, allocations: 0.8732 MB / 1.197 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/1.152, allocations: 0 / 1.197 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/1.152, allocations: 30.73 kB / 1.197 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-05/1.152, allocations: 48.78 kB / 1.197 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/1.153, allocations: 0.5627 MB / 1.197 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/1.158, allocations: 4.61 MB / 1.202 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/1.159, allocations: 290.3 kB / 1.202 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/1.159, allocations: 4 kB / 1.202 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.159, allocations: 38.25 kB / 1.202 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/1.159, allocations: 0 / 1.202 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.005951/1.165, allocations: 2.636 MB / 1.205 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/1.165, allocations: 55.41 kB / 1.205 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/1.166, allocations: 398.1 kB / 1.205 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/1.166, allocations: 41.14 kB / 1.205 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.166, allocations: 334.6 kB / 1.206 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.166, allocations: 137.4 kB / 1.206 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/1.166, allocations: 11.31 kB / 1.206 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.166, allocations: 373 kB / 1.206 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/1.167, allocations: 231.5 kB / 1.206 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/1.167, allocations: 382.1 kB / 1.207 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/1.168, allocations: 299 kB / 1.207 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.168, allocations: 0 / 1.207 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001701/1.169, allocations: 0.902 MB / 1.208 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.169, allocations: 8.062 kB / 1.208 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.169, allocations: 8 kB / 1.208 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008365/1.17, allocations: 223.1 kB / 1.208 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/1.171, allocations: 114.9 kB / 1.208 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/1.176, allocations: 5.004 MB / 1.213 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/1.177, allocations: 26.91 kB / 1.213 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/1.177, allocations: 23.12 kB / 1.213 GB, free: 14.53 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.0004689/1.177, allocations: 235.5 kB / 1.213 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/1.177, allocations: 55.34 kB / 1.213 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/1.179, allocations: 0.7723 MB / 1.214 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.179, allocations: 7.938 kB / 1.214 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.179, allocations: 0 / 1.214 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.179, allocations: 4 kB / 1.214 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/1.182, allocations: 1.479 MB / 1.216 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.182, allocations: 4 kB / 1.216 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/1.182, allocations: 63.94 kB / 1.216 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006951/1.183, allocations: 207 kB / 1.216 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/1.183, allocations: 10.88 kB / 1.216 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/1.188, allocations: 4.951 MB / 1.221 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.188, allocations: 0 / 1.221 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/1.19, allocations: 1.216 MB / 1.222 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/1.19, allocations: 175.8 kB / 1.222 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.19, allocations: 11.12 kB / 1.222 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/1.191, allocations: 23.78 kB / 1.222 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.191, allocations: 31.58 kB / 1.222 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/1.191, allocations: 16 kB / 1.222 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005225/1.192, allocations: 320.3 kB / 1.222 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.192, allocations: 0 / 1.222 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00114/1.193, allocations: 178.3 kB / 1.223 GB, free: 5.773 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.0003167/1.193, allocations: 114.9 kB / 1.223 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.195, allocations: 1.005 MB / 1.224 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.195, allocations: 0 / 1.224 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000982/1.196, allocations: 0.6767 MB / 1.224 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/1.197, allocations: 164.7 kB / 1.225 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/1.2, allocations: 1.494 MB / 1.226 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/1.201, allocations: 0.9616 MB / 1.227 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005129/1.201, allocations: 108.9 kB / 1.227 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/1.201, allocations: 35.44 kB / 1.227 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/1.201, allocations: 0 / 1.227 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of Templates: time 0.01724/1.219, allocations: 8.19 MB / 1.235 GB, free: 9.473 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)