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.0009116/0.0009116, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009399/0.0009399, allocations: 173 kB / 23.5 MB, free: 1.055 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.9013/0.9013, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.001679/0.001679, allocations: 228.3 kB / 260.5 MB, free: 12.89 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.6998/0.6998, allocations: 138.4 MB / 455.4 MB, free: 1.555 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 1.483e-06/1.483e-06, allocations: 0 / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.799e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005341/0.005359, allocations: 5.62 MB / 0.5605 GB, free: 11.24 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.008352, allocations: 2.716 MB / 0.5632 GB, free: 8.516 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.008617, allocations: 31.69 kB / 0.5632 GB, free: 8.484 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009757/0.009592, allocations: 0.7 MB / 0.5639 GB, free: 7.781 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000637/0.01023, allocations: 441.2 kB / 0.5643 GB, free: 7.348 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.01084, allocations: 418.8 kB / 0.5647 GB, free: 6.938 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.01157, allocations: 0.9827 MB / 0.5657 GB, free: 5.953 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.01196, allocations: 382.5 kB / 0.566 GB, free: 5.574 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.01242, allocations: 0.522 MB / 0.5665 GB, free: 5.051 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000587/0.013, allocations: 371 kB / 0.5669 GB, free: 4.688 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.01305, allocations: 48 kB / 0.5669 GB, free: 4.641 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.01341, allocations: 335.1 kB / 0.5673 GB, free: 4.312 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.01358, allocations: 267.2 kB / 0.5675 GB, free: 4.051 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.01375, allocations: 247.4 kB / 0.5678 GB, free: 3.809 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.01436, allocations: 0.7202 MB / 0.5685 GB, free: 3.086 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01436, allocations: 0 / 0.5685 GB, free: 3.086 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01436, allocations: 0 / 0.5685 GB, free: 3.086 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.01437, allocations: 0 / 0.5685 GB, free: 3.086 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.0009486/0.01532, allocations: 1.028 MB / 0.5695 GB, free: 2.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01535, allocations: 8.75 kB / 0.5695 GB, free: 2.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000921/0.01627, allocations: 287.8 kB / 0.5697 GB, free: 1.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.01677, allocations: 499 kB / 0.5702 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.01679, allocations: 37.31 kB / 0.5703 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.01689, allocations: 56.55 kB / 0.5703 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.01752, allocations: 0.7903 MB / 0.5711 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.01754, allocations: 12.08 kB / 0.5711 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.01758, allocations: 20.12 kB / 0.5711 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.01769, allocations: 72.94 kB / 0.5712 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.01808, allocations: 273.5 kB / 0.5714 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.02087, allocations: 4.422 MB / 0.5758 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.02116, allocations: 155.8 kB / 0.5759 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.02133, allocations: 96.2 kB / 0.576 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.02136, allocations: 8.219 kB / 0.576 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.02138, allocations: 37.67 kB / 0.576 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.02138, allocations: 0 / 0.576 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.003295/0.02468, allocations: 1.536 MB / 0.5775 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.02471, allocations: 55.41 kB / 0.5776 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.02509, allocations: 466.5 kB / 0.578 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.02512, allocations: 33.7 kB / 0.5781 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.02533, allocations: 407.1 kB / 0.5785 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.02543, allocations: 142.8 kB / 0.5786 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.02558, allocations: 111.9 kB / 0.5787 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.02574, allocations: 0.5391 MB / 0.5792 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.02594, allocations: 97.25 kB / 0.5793 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.02627, allocations: 347.3 kB / 0.5797 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.02684, allocations: 492.4 kB / 0.5801 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02684, allocations: 0 / 0.5801 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001342/0.02818, allocations: 0.6371 MB / 0.5808 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.0282, allocations: 8 kB / 0.5808 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.02821, allocations: 4 kB / 0.5808 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/0.02895, allocations: 227.1 kB / 0.581 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.02932, allocations: 119.8 kB / 0.5811 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.03285, allocations: 5.642 MB / 0.5866 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.03314, allocations: 31.97 kB / 0.5866 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.03317, allocations: 27.94 kB / 0.5867 GB, free: 15.32 MB / 0.5105 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.0001762/0.03335, allocations: 196.4 kB / 0.5868 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.03345, allocations: 67.67 kB / 0.5869 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/0.03436, allocations: 492.8 kB / 0.5874 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.03437, allocations: 7.984 kB / 0.5874 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.03437, allocations: 4 kB / 0.5874 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.03438, allocations: 0 / 0.5874 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.03617, allocations: 1.068 MB / 0.5884 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.03618, allocations: 0 / 0.5884 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.03643, allocations: 71.88 kB / 0.5885 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006531/0.03709, allocations: 219 kB / 0.5887 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.03712, allocations: 8 kB / 0.5887 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.04037, allocations: 5.646 MB / 0.5942 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.04038, allocations: 3.984 kB / 0.5942 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.04166, allocations: 0.7537 MB / 0.595 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.04181, allocations: 91.62 kB / 0.5951 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.04186, allocations: 11.94 kB / 0.5951 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.04209, allocations: 27.97 kB / 0.5951 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.04218, allocations: 31.94 kB / 0.5951 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.0422, allocations: 20.03 kB / 0.5952 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002336/0.04244, allocations: 298.8 kB / 0.5954 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04244, allocations: 0 / 0.5954 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006162/0.04305, allocations: 172 kB / 0.5956 GB, free: 5.605 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.0001369/0.04319, allocations: 111.1 kB / 0.5957 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.04427, allocations: 0.9208 MB / 0.5966 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.04427, allocations: 3.938 kB / 0.5966 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.0449, allocations: 0.7355 MB / 0.5973 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.0456, allocations: 177.5 kB / 0.5975 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.04739, allocations: 1.144 MB / 0.5986 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.04754, allocations: 190.4 kB / 0.5988 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000244/0.04778, allocations: 92.8 kB / 0.5989 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.04787, allocations: 32.5 kB / 0.5989 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.04787, allocations: 4 kB / 0.5989 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of Templates: time 0.1684/0.2163, allocations: 9.205 MB / 0.6079 GB, free: 98.82 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.762221426004544]