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.001224/0.001224, 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.001365/0.001365, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9007/0.9007, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001687/0.001687, allocations: 233.5 kB / 260.2 MB, free: 12.82 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.6753/0.6753, allocations: 138.4 MB / 455.2 MB, free: 1.035 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.433e-06/1.433e-06, allocations: 3.938 kB / 0.5551 GB, free: 372 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.161e-05, allocations: 2.312 kB / 0.5551 GB, free: 368 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.003938/0.00396, allocations: 4.174 MB / 0.5592 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.005833, allocations: 1.543 MB / 0.5607 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.006032, allocations: 31.69 kB / 0.5607 GB, free: 10.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.006526, allocations: 182.7 kB / 0.5609 GB, free: 10.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.006981, allocations: 365.6 kB / 0.5613 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.007405, allocations: 331.3 kB / 0.5616 GB, free: 9.715 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.008277, allocations: 0.9944 MB / 0.5625 GB, free: 8.719 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.008676, allocations: 386.4 kB / 0.5629 GB, free: 8.336 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.009125, allocations: 0.5144 MB / 0.5634 GB, free: 7.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.009497, allocations: 374.9 kB / 0.5638 GB, free: 7.453 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.009555, allocations: 48 kB / 0.5638 GB, free: 7.406 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.009741, allocations: 135.7 kB / 0.5639 GB, free: 7.273 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.009919, allocations: 267.2 kB / 0.5642 GB, free: 7.012 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.01009, allocations: 239.4 kB / 0.5644 GB, free: 6.777 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.01059, allocations: 0.5994 MB / 0.565 GB, free: 6.176 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01059, allocations: 0 / 0.565 GB, free: 6.176 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01059, allocations: 0 / 0.565 GB, free: 6.176 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.0106, allocations: 0 / 0.565 GB, free: 6.176 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.0009176/0.01152, allocations: 0.9934 MB / 0.566 GB, free: 5.145 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.01155, allocations: 8.75 kB / 0.566 GB, free: 5.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007895/0.01234, allocations: 291.8 kB / 0.5663 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.01285, allocations: 495 kB / 0.5667 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.01288, allocations: 37.36 kB / 0.5668 GB, free: 4.301 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.01299, allocations: 56.55 kB / 0.5668 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.01362, allocations: 0.7941 MB / 0.5676 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.01364, allocations: 12.08 kB / 0.5676 GB, free: 3.297 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.01367, allocations: 24.11 kB / 0.5676 GB, free: 3.273 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.01379, allocations: 76.94 kB / 0.5677 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.01415, allocations: 269.5 kB / 0.568 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.01695, allocations: 4.407 MB / 0.5723 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.01718, allocations: 155.8 kB / 0.5724 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.0173, allocations: 88.22 kB / 0.5725 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.01733, allocations: 12.22 kB / 0.5725 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.01736, allocations: 41.61 kB / 0.5726 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.858e-06/0.01737, allocations: 3.984 kB / 0.5726 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002619/0.01998, allocations: 1.544 MB / 0.5741 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.02001, allocations: 55.41 kB / 0.5741 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.0203, allocations: 466.4 kB / 0.5746 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.02033, allocations: 33.7 kB / 0.5746 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.02049, allocations: 403.1 kB / 0.575 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/0.02057, allocations: 150.7 kB / 0.5751 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.02068, allocations: 111.9 kB / 0.5752 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.02081, allocations: 0.5352 MB / 0.5758 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.02096, allocations: 105.2 kB / 0.5759 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.02147, allocations: 348.4 kB / 0.5762 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.02189, allocations: 480.4 kB / 0.5766 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02189, allocations: 4 kB / 0.5767 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007926/0.02268, allocations: 0.6367 MB / 0.5773 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.0227, allocations: 8 kB / 0.5773 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02271, allocations: 4 kB / 0.5773 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.02327, allocations: 223.5 kB / 0.5775 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.02354, allocations: 119.8 kB / 0.5776 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.02655, allocations: 5.65 MB / 0.5831 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.02674, allocations: 27.97 kB / 0.5832 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.02677, allocations: 27.94 kB / 0.5832 GB, free: 2.445 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.0001288/0.0269, allocations: 188.4 kB / 0.5834 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.02696, allocations: 71.67 kB / 0.5834 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006683/0.02763, allocations: 496.8 kB / 0.5839 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.02763, allocations: 4 kB / 0.5839 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02764, allocations: 4 kB / 0.5839 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.02764, allocations: 0 / 0.5839 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.02879, allocations: 1.067 MB / 0.585 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.0288, allocations: 4 kB / 0.585 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.02899, allocations: 68.2 kB / 0.585 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/0.02947, allocations: 214.8 kB / 0.5852 GB, free: 220 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.02949, allocations: 16 kB / 0.5852 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.03247, allocations: 5.646 MB / 0.5908 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.03247, allocations: 3.938 kB / 0.5908 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.03329, allocations: 0.7421 MB / 0.5915 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.03341, allocations: 91.66 kB / 0.5916 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.03345, allocations: 11.94 kB / 0.5916 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.03361, allocations: 27.97 kB / 0.5916 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.03366, allocations: 39.86 kB / 0.5917 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.03368, allocations: 16 kB / 0.5917 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001804/0.03386, allocations: 294.8 kB / 0.5919 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.03386, allocations: 0 / 0.5919 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004072/0.03427, allocations: 164 kB / 0.5921 GB, free: 8.746 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.0001199/0.03439, allocations: 115.2 kB / 0.5922 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008495/0.03524, allocations: 0.9169 MB / 0.5931 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.03524, allocations: 4 kB / 0.5931 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.03573, allocations: 0.7472 MB / 0.5938 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.03625, allocations: 186.1 kB / 0.594 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.03769, allocations: 1.132 MB / 0.5951 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.03782, allocations: 182.4 kB / 0.5953 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001985/0.03802, allocations: 100.8 kB / 0.5954 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.03809, allocations: 36.5 kB / 0.5954 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.03809, allocations: 0 / 0.5954 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of Templates: time 0.177/0.2151, allocations: 9.213 MB / 0.6044 GB, free: 92.11 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.897051113191992]