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.001275/0.001275, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001478/0.001478, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9667/0.9667, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.00243/0.00243, allocations: 244.2 kB / 260.5 MB, free: 12.68 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.7178/0.7178, allocations: 138.4 MB / 455.5 MB, free: 30.05 MB / 410.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.733e-06/1.733e-06, allocations: 0 / 0.5556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.468e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.003757/0.003781, allocations: 4.116 MB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.00587, allocations: 1.543 MB / 0.5611 GB, free: 10.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.006094, allocations: 31.69 kB / 0.5611 GB, free: 10.15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.006527, allocations: 170.7 kB / 0.5613 GB, free: 9.984 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.007007, allocations: 369.6 kB / 0.5617 GB, free: 9.621 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.007459, allocations: 331.2 kB / 0.562 GB, free: 9.297 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.008103, allocations: 0.998 MB / 0.563 GB, free: 8.297 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.008465, allocations: 390.4 kB / 0.5633 GB, free: 7.906 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.008907, allocations: 0.5144 MB / 0.5638 GB, free: 7.391 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.009277, allocations: 386.9 kB / 0.5642 GB, free: 7.012 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.00933, allocations: 48 kB / 0.5642 GB, free: 6.965 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.009505, allocations: 135.7 kB / 0.5644 GB, free: 6.832 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.009667, allocations: 259.2 kB / 0.5646 GB, free: 6.578 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.009836, allocations: 239.4 kB / 0.5648 GB, free: 6.344 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.01034, allocations: 0.5955 MB / 0.5654 GB, free: 5.746 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01034, allocations: 3.938 kB / 0.5654 GB, free: 5.742 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.01034, allocations: 4 kB / 0.5654 GB, free: 5.738 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.01035, allocations: 0 / 0.5654 GB, free: 5.738 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.0008651/0.01121, allocations: 0.9819 MB / 0.5664 GB, free: 4.719 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.01125, allocations: 12.75 kB / 0.5664 GB, free: 4.707 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/0.01188, allocations: 248 kB / 0.5666 GB, free: 4.465 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.01232, allocations: 464.7 kB / 0.5671 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.01235, allocations: 41.36 kB / 0.5671 GB, free: 3.941 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.435e-05/0.01244, allocations: 56.55 kB / 0.5672 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.013, allocations: 0.7589 MB / 0.5679 GB, free: 2.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.01302, allocations: 4.172 kB / 0.5679 GB, free: 2.977 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.01306, allocations: 28.11 kB / 0.568 GB, free: 2.949 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-05/0.01316, allocations: 60.97 kB / 0.568 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.01342, allocations: 230.4 kB / 0.5682 GB, free: 2.664 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.01564, allocations: 4.294 MB / 0.5724 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.0158, allocations: 127.8 kB / 0.5725 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.01589, allocations: 76.2 kB / 0.5726 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.01591, allocations: 16.22 kB / 0.5726 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01593, allocations: 45.55 kB / 0.5727 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.01593, allocations: 0 / 0.5727 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002096/0.01803, allocations: 1.349 MB / 0.574 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.01805, allocations: 55.41 kB / 0.574 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.01829, allocations: 458.2 kB / 0.5745 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01831, allocations: 29.7 kB / 0.5745 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.01848, allocations: 415 kB / 0.5749 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.01855, allocations: 158.7 kB / 0.5751 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.01866, allocations: 111.9 kB / 0.5752 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.0188, allocations: 0.5312 MB / 0.5757 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.01889, allocations: 77.25 kB / 0.5758 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.01908, allocations: 323.2 kB / 0.5761 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.0194, allocations: 448.3 kB / 0.5765 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0194, allocations: 3.938 kB / 0.5765 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006527/0.02006, allocations: 0.5709 MB / 0.5771 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.02007, allocations: 8 kB / 0.5771 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.02008, allocations: 8.031 kB / 0.5771 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.0206, allocations: 234.8 kB / 0.5773 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.02081, allocations: 103.8 kB / 0.5774 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.02329, allocations: 5.559 MB / 0.5828 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.02345, allocations: 19.98 kB / 0.5828 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.02347, allocations: 20 kB / 0.5829 GB, free: 2.812 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.0001211/0.02359, allocations: 188.4 kB / 0.583 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.02367, allocations: 75.64 kB / 0.5831 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.02422, allocations: 452.7 kB / 0.5835 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02422, allocations: 4 kB / 0.5835 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.02422, allocations: 4 kB / 0.5835 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.02423, allocations: 3.984 kB / 0.5836 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/0.02519, allocations: 0.9354 MB / 0.5845 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.02519, allocations: 224 / 0.5845 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.02533, allocations: 59.92 kB / 0.5845 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.02579, allocations: 218.8 kB / 0.5847 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.02581, allocations: 12 kB / 0.5847 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.02813, allocations: 5.539 MB / 0.5902 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02814, allocations: 4 kB / 0.5902 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.02878, allocations: 0.6949 MB / 0.5908 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.02888, allocations: 79.62 kB / 0.5909 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.02891, allocations: 8 kB / 0.5909 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.02904, allocations: 15.98 kB / 0.5909 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.02908, allocations: 35.88 kB / 0.591 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.0291, allocations: 12 kB / 0.591 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001313/0.02923, allocations: 286.7 kB / 0.5913 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02923, allocations: 0 / 0.5913 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003631/0.02959, allocations: 168 kB / 0.5914 GB, free: 9.52 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 9.845e-05/0.02969, allocations: 115.2 kB / 0.5915 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.03035, allocations: 0.8854 MB / 0.5924 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03035, allocations: 4 kB / 0.5924 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.03077, allocations: 0.7162 MB / 0.5931 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.03124, allocations: 176.8 kB / 0.5933 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.03246, allocations: 1.145 MB / 0.5944 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.03258, allocations: 182.5 kB / 0.5946 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.03272, allocations: 68.8 kB / 0.5946 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.03296, allocations: 210.1 kB / 0.5948 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of SimCode: time 6.32e-07/0.03296, allocations: 0 / 0.5948 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of Templates: time 0.01056/0.04352, allocations: 9.819 MB / 0.6044 GB, free: 12.23 MB / 0.5261 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.6100991293787956]