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.001478/0.001478, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00113/0.00113, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.95/0.95, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.002062/0.002062, allocations: 229.5 kB / 261.3 MB, free: 12.69 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.7048/0.7048, allocations: 138.5 MB / 456.3 MB, free: 1.391 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.212e-06/1.212e-06, allocations: 0 / 0.5564 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.277e-05, allocations: 2.312 kB / 0.5564 GB, free: 232 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.003758/0.003771, allocations: 4.095 MB / 0.5604 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.005595, allocations: 1.555 MB / 0.5619 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.005805, allocations: 31.69 kB / 0.5619 GB, free: 10.51 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.006314, allocations: 170.7 kB / 0.5621 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.00678, allocations: 369.6 kB / 0.5624 GB, free: 9.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.007172, allocations: 339.2 kB / 0.5628 GB, free: 9.648 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00064/0.007813, allocations: 0.9945 MB / 0.5637 GB, free: 8.652 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.008178, allocations: 382.4 kB / 0.5641 GB, free: 8.273 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.0086, allocations: 0.5183 MB / 0.5646 GB, free: 7.754 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.008972, allocations: 382.9 kB / 0.565 GB, free: 7.379 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.009027, allocations: 48 kB / 0.565 GB, free: 7.332 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.009192, allocations: 135.7 kB / 0.5652 GB, free: 7.199 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.009355, allocations: 259.3 kB / 0.5654 GB, free: 6.945 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.00952, allocations: 239.4 kB / 0.5656 GB, free: 6.711 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.00999, allocations: 0.6033 MB / 0.5662 GB, free: 6.105 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.009993, allocations: 0 / 0.5662 GB, free: 6.105 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.009993, allocations: 0 / 0.5662 GB, free: 6.105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01, allocations: 0 / 0.5662 GB, free: 6.105 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.000883/0.01088, allocations: 0.9893 MB / 0.5672 GB, free: 5.078 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.01092, allocations: 16.75 kB / 0.5672 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006632/0.01158, allocations: 240 kB / 0.5674 GB, free: 4.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.01205, allocations: 464.8 kB / 0.5679 GB, free: 4.344 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.01207, allocations: 41.36 kB / 0.5679 GB, free: 4.305 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.01217, allocations: 52.56 kB / 0.568 GB, free: 4.254 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.0127, allocations: 0.755 MB / 0.5687 GB, free: 3.352 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.01272, allocations: 8.125 kB / 0.5687 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.01275, allocations: 32.09 kB / 0.5687 GB, free: 3.312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.821e-05/0.01285, allocations: 60.97 kB / 0.5688 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.0131, allocations: 226.5 kB / 0.569 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.01532, allocations: 4.286 MB / 0.5732 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.01549, allocations: 131.8 kB / 0.5733 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.01558, allocations: 88.19 kB / 0.5734 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.0156, allocations: 4.281 kB / 0.5734 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.01562, allocations: 45.61 kB / 0.5735 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.01562, allocations: 0 / 0.5735 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002168/0.01779, allocations: 1.353 MB / 0.5748 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.01782, allocations: 55.41 kB / 0.5748 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.01807, allocations: 458.2 kB / 0.5753 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.01809, allocations: 33.7 kB / 0.5753 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.01826, allocations: 415 kB / 0.5757 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.01834, allocations: 154.6 kB / 0.5758 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.01845, allocations: 111.9 kB / 0.5759 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.01858, allocations: 0.5429 MB / 0.5765 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.01868, allocations: 77.25 kB / 0.5765 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.01887, allocations: 315.3 kB / 0.5769 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.0192, allocations: 440.4 kB / 0.5773 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.0192, allocations: 7.938 kB / 0.5773 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006888/0.01989, allocations: 0.5826 MB / 0.5778 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.0199, allocations: 4 kB / 0.5779 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01991, allocations: 12 kB / 0.5779 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/0.02045, allocations: 226.8 kB / 0.5781 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.02067, allocations: 99.83 kB / 0.5782 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.02326, allocations: 5.55 MB / 0.5836 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.02343, allocations: 16 kB / 0.5836 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.02345, allocations: 23.98 kB / 0.5836 GB, free: 3.184 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.0001295/0.02358, allocations: 192.4 kB / 0.5838 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.02365, allocations: 71.61 kB / 0.5839 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.02424, allocations: 452.8 kB / 0.5843 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02424, allocations: 4 kB / 0.5843 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.02424, allocations: 8 kB / 0.5843 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.02425, allocations: 3.984 kB / 0.5843 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009876/0.02523, allocations: 0.9353 MB / 0.5852 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02524, allocations: 0 / 0.5852 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.02538, allocations: 59.91 kB / 0.5853 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004916/0.02588, allocations: 223 kB / 0.5855 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.0259, allocations: 12.12 kB / 0.5855 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.02829, allocations: 5.531 MB / 0.5909 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.02829, allocations: 3.938 kB / 0.5909 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006771/0.02897, allocations: 0.6912 MB / 0.5916 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.02907, allocations: 83.58 kB / 0.5917 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.02911, allocations: 8 kB / 0.5917 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.02924, allocations: 15.94 kB / 0.5917 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.02929, allocations: 31.94 kB / 0.5917 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.02931, allocations: 15.98 kB / 0.5918 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001383/0.02944, allocations: 286.7 kB / 0.592 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.02944, allocations: 0 / 0.592 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000375/0.02982, allocations: 176 kB / 0.5922 GB, free: 9.883 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.0001133/0.02993, allocations: 111.2 kB / 0.5923 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006951/0.03063, allocations: 0.8818 MB / 0.5932 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.03063, allocations: 3.938 kB / 0.5932 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.03107, allocations: 0.7159 MB / 0.5939 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.03157, allocations: 188.7 kB / 0.594 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.03284, allocations: 1.121 MB / 0.5951 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.03295, allocations: 194.3 kB / 0.5953 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000144/0.0331, allocations: 64.81 kB / 0.5954 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.03334, allocations: 214.1 kB / 0.5956 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.03334, allocations: 0 / 0.5956 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of Templates: time 0.1675/0.2009, allocations: 9.985 MB / 0.6053 GB, free: 90.98 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.8598518427461386]