Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 179.3 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 95.56 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003889, allocations: 12.75 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1893, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5966/0.7859, allocations: 181.7 MB / 1.079 GB, free: 52.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.7863, allocations: 104.3 kB / 1.079 GB, free: 52.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06954/0.8558, allocations: 32 MB / 1.11 GB, free: 48.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8559, allocations: 1.375 kB / 1.11 GB, free: 48.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.383e-05/0.856, allocations: 20.88 kB / 1.11 GB, free: 48.9 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002151/0.8581, allocations: 0.8642 MB / 1.111 GB, free: 48.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.8582, allocations: 11.56 kB / 1.111 GB, free: 48.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.8597, allocations: 192.5 kB / 1.111 GB, free: 48.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.8609, allocations: 0.5088 MB / 1.112 GB, free: 47.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.8609, allocations: 39.97 kB / 1.112 GB, free: 47.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.8611, allocations: 60.2 kB / 1.112 GB, free: 47.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.8623, allocations: 0.8743 MB / 1.113 GB, free: 47.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.8623, allocations: 7.688 kB / 1.113 GB, free: 47.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/0.8624, allocations: 27.78 kB / 1.113 GB, free: 47.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.8625, allocations: 47.25 kB / 1.113 GB, free: 47.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.8632, allocations: 0.5651 MB / 1.113 GB, free: 47.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.8669, allocations: 4.609 MB / 1.118 GB, free: 43.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.8673, allocations: 294.6 kB / 1.118 GB, free: 43.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.8676, allocations: 222.8 kB / 1.118 GB, free: 43.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.8676, allocations: 3.812 kB / 1.118 GB, free: 43.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.8676, allocations: 41.61 kB / 1.118 GB, free: 43.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.8676, allocations: 4 kB / 1.118 GB, free: 43.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.004623/0.8722, allocations: 2.634 MB / 1.121 GB, free: 42.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.8723, allocations: 55.28 kB / 1.121 GB, free: 42.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.8727, allocations: 465.4 kB / 1.121 GB, free: 41.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.8727, allocations: 33.17 kB / 1.121 GB, free: 41.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.8729, allocations: 331.3 kB / 1.122 GB, free: 41.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.873, allocations: 144.5 kB / 1.122 GB, free: 41.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.873, allocations: 7.062 kB / 1.122 GB, free: 41.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.8731, allocations: 366.8 kB / 1.122 GB, free: 41.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.8733, allocations: 232 kB / 1.122 GB, free: 41.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.8737, allocations: 387 kB / 1.123 GB, free: 40.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.8743, allocations: 0.6518 MB / 1.123 GB, free: 40.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8743, allocations: 3.938 kB / 1.123 GB, free: 40.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001276/0.8756, allocations: 0.8983 MB / 1.124 GB, free: 40.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.8756, allocations: 3.969 kB / 1.124 GB, free: 40.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8757, allocations: 11.75 kB / 1.124 GB, free: 40.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/0.8763, allocations: 225 kB / 1.124 GB, free: 40.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.8768, allocations: 108.3 kB / 1.125 GB, free: 40.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.8802, allocations: 4.932 MB / 1.129 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.8806, allocations: 29.66 kB / 1.129 GB, free: 36.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.8806, allocations: 26.5 kB / 1.129 GB, free: 36.14 MB / 0.698 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.0002524/0.8809, allocations: 226.8 kB / 1.13 GB, free: 35.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.881, allocations: 62.48 kB / 1.13 GB, free: 35.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.8822, allocations: 0.7753 MB / 1.13 GB, free: 35.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8822, allocations: 3.938 kB / 1.13 GB, free: 35.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8822, allocations: 7.922 kB / 1.13 GB, free: 35.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8822, allocations: 144 / 1.13 GB, free: 35.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.8841, allocations: 1.483 MB / 1.132 GB, free: 35.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8841, allocations: 3.984 kB / 1.132 GB, free: 35.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.8844, allocations: 70.44 kB / 1.132 GB, free: 35.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/0.885, allocations: 207 kB / 1.132 GB, free: 34.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.885, allocations: 10.88 kB / 1.132 GB, free: 34.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/0.8882, allocations: 4.863 MB / 1.137 GB, free: 30.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8882, allocations: 3.844 kB / 1.137 GB, free: 30.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.8896, allocations: 1.139 MB / 1.138 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.8898, allocations: 173.4 kB / 1.138 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.8899, allocations: 14.86 kB / 1.138 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.8902, allocations: 23.09 kB / 1.138 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.8903, allocations: 42.52 kB / 1.138 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.8903, allocations: 7.781 kB / 1.138 GB, free: 30.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002526/0.8905, allocations: 312 kB / 1.139 GB, free: 30.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8906, allocations: 3.938 kB / 1.139 GB, free: 30.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005843/0.8911, allocations: 177.5 kB / 1.139 GB, free: 30.1 MB / 0.698 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.0001532/0.8913, allocations: 125.5 kB / 1.139 GB, free: 30 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.8925, allocations: 0.9913 MB / 1.14 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8926, allocations: 3.875 kB / 1.14 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000708/0.8933, allocations: 0.6736 MB / 1.141 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.8942, allocations: 170.5 kB / 1.141 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.8959, allocations: 1.51 MB / 1.142 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.8963, allocations: 0.9468 MB / 1.143 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.8966, allocations: 107.2 kB / 1.143 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.8967, allocations: 38.62 kB / 1.143 GB, free: 27.22 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.8967, allocations: 0 / 1.143 GB, free: 27.22 MB / 0.698 GB Notification: Performance of Templates: time 0.01222/0.9089, allocations: 8.279 MB / 1.151 GB, free: 23.25 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)