Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 112 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8031/0.8031, allocations: 128.4 MB / 426.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 60.38 kB / 0.5912 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1541, allocations: 83.26 MB / 0.6725 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007883/0.162, allocations: 5.595 MB / 0.6779 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00465/0.1666, allocations: 2.677 MB / 0.6805 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.1671, allocations: 27.81 kB / 0.6806 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.1691, allocations: 0.6875 MB / 0.6812 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.1702, allocations: 425.7 kB / 0.6817 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1713, allocations: 419 kB / 0.6821 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1726, allocations: 0.9512 MB / 0.683 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.1732, allocations: 378.6 kB / 0.6833 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005823/0.1738, allocations: 378.6 kB / 0.6837 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006769/0.1745, allocations: 434.3 kB / 0.6841 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.1746, allocations: 48 kB / 0.6842 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000744/0.1753, allocations: 371.2 kB / 0.6845 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003133/0.1756, allocations: 251.2 kB / 0.6848 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.1761, allocations: 354.1 kB / 0.6851 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.1775, allocations: 0.9767 MB / 0.686 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1775, allocations: 4 kB / 0.6861 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1775, allocations: 0 / 0.6861 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.843e-05/0.1775, allocations: 0 / 0.6861 GB, free: 5.938 MB / 0.5137 GB 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.002077/0.1796, allocations: 0.9961 MB / 0.687 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1796, allocations: 8.031 kB / 0.687 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.1812, allocations: 204.3 kB / 0.6872 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.182, allocations: 0.5301 MB / 0.6877 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.1821, allocations: 37.36 kB / 0.6878 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.1822, allocations: 52.56 kB / 0.6878 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1835, allocations: 0.8319 MB / 0.6886 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.1836, allocations: 15.83 kB / 0.6887 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.1836, allocations: 27.92 kB / 0.6887 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/0.1838, allocations: 68.95 kB / 0.6888 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009378/0.1848, allocations: 0.5735 MB / 0.6893 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.1894, allocations: 4.578 MB / 0.6938 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.1899, allocations: 275.3 kB / 0.694 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.1902, allocations: 209.3 kB / 0.6942 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1902, allocations: 4.281 kB / 0.6942 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1902, allocations: 34.84 kB / 0.6943 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 3.506e-06/0.1902, allocations: 4 kB / 0.6943 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.005515/0.1957, allocations: 2.632 MB / 0.6969 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1958, allocations: 55.41 kB / 0.6969 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.1963, allocations: 466 kB / 0.6974 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.1964, allocations: 37.7 kB / 0.6974 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.1966, allocations: 344.6 kB / 0.6977 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.1967, allocations: 150.7 kB / 0.6979 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1969, allocations: 110.2 kB / 0.698 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1971, allocations: 358.8 kB / 0.6983 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.1974, allocations: 240.9 kB / 0.6985 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.1979, allocations: 406.5 kB / 0.6989 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009165/0.1989, allocations: 0.674 MB / 0.6996 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1989, allocations: 4 kB / 0.6996 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001687/0.2005, allocations: 0.9173 MB / 0.7005 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2006, allocations: 4 kB / 0.7005 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2006, allocations: 8 kB / 0.7005 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.2013, allocations: 234.8 kB / 0.7007 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.2019, allocations: 119.7 kB / 0.7008 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/0.2073, allocations: 5.341 MB / 0.706 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.2077, allocations: 31.97 kB / 0.7061 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.2078, allocations: 24 kB / 0.7061 GB, free: 88 kB / 0.5294 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.0003285/0.2081, allocations: 222.1 kB / 0.7063 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.2082, allocations: 63.56 kB / 0.7064 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.2098, allocations: 0.7696 MB / 0.7071 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.2098, allocations: 7.984 kB / 0.7071 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2098, allocations: 192 / 0.7071 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2098, allocations: 3.984 kB / 0.7071 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.2123, allocations: 1.495 MB / 0.7086 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2123, allocations: 0 / 0.7086 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.2127, allocations: 75.88 kB / 0.7087 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000694/0.2134, allocations: 202.5 kB / 0.7089 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.2134, allocations: 12 kB / 0.7089 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.2187, allocations: 5.277 MB / 0.714 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2187, allocations: 3.938 kB / 0.714 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.2205, allocations: 1.124 MB / 0.7151 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.2208, allocations: 172.7 kB / 0.7153 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.2209, allocations: 15.88 kB / 0.7153 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.2212, allocations: 27.95 kB / 0.7153 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2214, allocations: 35.91 kB / 0.7154 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.2214, allocations: 8 kB / 0.7154 GB, free: 5.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003798/0.2218, allocations: 322.9 kB / 0.7157 GB, free: 5.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2218, allocations: 0 / 0.7157 GB, free: 5.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006937/0.2225, allocations: 172 kB / 0.7158 GB, free: 5.5 MB / 0.545 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.0001736/0.2226, allocations: 115.1 kB / 0.716 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.2243, allocations: 0.9733 MB / 0.7169 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.2243, allocations: 0 / 0.7169 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009597/0.2252, allocations: 0.6642 MB / 0.7176 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/0.2261, allocations: 189.4 kB / 0.7177 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.2285, allocations: 1.281 MB / 0.719 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.2293, allocations: 0.9494 MB / 0.7199 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003948/0.2297, allocations: 117 kB / 0.72 GB, free: 1.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.2299, allocations: 39.44 kB / 0.7201 GB, free: 1.016 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.2299, allocations: 0 / 0.7201 GB, free: 1.016 MB / 0.545 GB Notification: Performance of Templates: time 0.01878/0.2486, allocations: 9.176 MB / 0.729 GB, free: 7.961 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480]