Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 173 kB / 23.03 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9278/0.9278, allocations: 177.2 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001537/0.001537, allocations: 241.9 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.696/0.696, allocations: 138.4 MB / 455.2 MB, free: 1.539 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.128e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006684/0.006715, allocations: 4.177 MB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.01028, allocations: 1.539 MB / 0.5607 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.01079, allocations: 35.69 kB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.01157, allocations: 174.7 kB / 0.5609 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009901/0.01256, allocations: 369.6 kB / 0.5613 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.01343, allocations: 331.2 kB / 0.5616 GB, free: 9.879 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.01489, allocations: 0.9945 MB / 0.5625 GB, free: 8.883 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.01544, allocations: 382.4 kB / 0.5629 GB, free: 8.504 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006394/0.01608, allocations: 0.526 MB / 0.5634 GB, free: 7.977 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.01654, allocations: 382.9 kB / 0.5638 GB, free: 7.602 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.0166, allocations: 48 kB / 0.5638 GB, free: 7.555 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.01682, allocations: 135.7 kB / 0.564 GB, free: 7.422 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.01697, allocations: 267.2 kB / 0.5642 GB, free: 7.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.01721, allocations: 239.4 kB / 0.5644 GB, free: 6.926 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.01776, allocations: 0.5878 MB / 0.565 GB, free: 6.336 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01777, allocations: 0 / 0.565 GB, free: 6.336 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01777, allocations: 4 kB / 0.565 GB, free: 6.332 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.01777, allocations: 0 / 0.565 GB, free: 6.332 MB / 490.7 MB 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.000922/0.0187, allocations: 0.9894 MB / 0.566 GB, free: 5.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.01873, allocations: 12.75 kB / 0.566 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008137/0.01954, allocations: 267.9 kB / 0.5663 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.02002, allocations: 484.7 kB / 0.5667 GB, free: 4.527 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.02005, allocations: 33.38 kB / 0.5668 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.02014, allocations: 60.53 kB / 0.5668 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.02074, allocations: 0.7942 MB / 0.5676 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.02076, allocations: 12.06 kB / 0.5676 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.0208, allocations: 28.11 kB / 0.5676 GB, free: 3.457 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.757e-05/0.02089, allocations: 64.95 kB / 0.5677 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.02124, allocations: 273.4 kB / 0.5679 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.02382, allocations: 4.43 MB / 0.5723 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.02405, allocations: 155.8 kB / 0.5724 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.02416, allocations: 92.22 kB / 0.5725 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.02419, allocations: 12.22 kB / 0.5725 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.02421, allocations: 45.61 kB / 0.5726 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.02421, allocations: 4 kB / 0.5726 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002436/0.02665, allocations: 1.563 MB / 0.5741 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.02667, allocations: 59.39 kB / 0.5742 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.02694, allocations: 466.4 kB / 0.5746 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.02697, allocations: 33.7 kB / 0.5746 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.02713, allocations: 407.1 kB / 0.575 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.02721, allocations: 146.8 kB / 0.5752 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.02731, allocations: 111.9 kB / 0.5753 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.02744, allocations: 0.5391 MB / 0.5758 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.02758, allocations: 101.2 kB / 0.5759 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.02781, allocations: 343.3 kB / 0.5762 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.02845, allocations: 492.4 kB / 0.5767 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02845, allocations: 4 kB / 0.5767 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007873/0.02924, allocations: 0.6289 MB / 0.5773 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.02925, allocations: 4 kB / 0.5773 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02926, allocations: 8.656 kB / 0.5773 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.02982, allocations: 234.8 kB / 0.5775 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.03007, allocations: 127.7 kB / 0.5777 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.03266, allocations: 5.65 MB / 0.5832 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.03285, allocations: 35.95 kB / 0.5832 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.03288, allocations: 27.94 kB / 0.5832 GB, free: 2.555 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.03326, allocations: 188.4 kB / 0.5834 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.03332, allocations: 71.81 kB / 0.5835 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.03397, allocations: 0.4968 MB / 0.584 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.03397, allocations: 4 kB / 0.584 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.03397, allocations: 4 kB / 0.584 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.03398, allocations: 0 / 0.584 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.03507, allocations: 1.068 MB / 0.585 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.03507, allocations: 0 / 0.585 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.03523, allocations: 71.89 kB / 0.5851 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/0.03573, allocations: 227 kB / 0.5853 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.03575, allocations: 8 kB / 0.5853 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.03849, allocations: 5.658 MB / 0.5908 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.03849, allocations: 0 / 0.5908 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.03925, allocations: 0.7459 MB / 0.5916 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.03935, allocations: 91.61 kB / 0.5917 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.03939, allocations: 19.94 kB / 0.5917 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.03954, allocations: 27.97 kB / 0.5917 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.0396, allocations: 40.02 kB / 0.5917 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.03962, allocations: 12 kB / 0.5918 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001709/0.03979, allocations: 298.8 kB / 0.592 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03979, allocations: 0 / 0.592 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003928/0.04018, allocations: 172 kB / 0.5922 GB, free: 8.812 MB / 0.5105 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.04029, allocations: 119.2 kB / 0.5923 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007843/0.04107, allocations: 0.9208 MB / 0.5932 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.04108, allocations: 0 / 0.5932 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.04155, allocations: 0.7433 MB / 0.5939 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.04203, allocations: 173.6 kB / 0.5941 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.04336, allocations: 1.151 MB / 0.5952 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.04347, allocations: 178.4 kB / 0.5954 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.04365, allocations: 88.77 kB / 0.5955 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.04372, allocations: 48.48 kB / 0.5955 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of SimCode: time 6.92e-07/0.04372, allocations: 0 / 0.5955 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of Templates: time 0.1621/0.2058, allocations: 9.684 MB / 0.605 GB, free: 92.37 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7897994313389063]