Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.00107/0.00107, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004572/0.004572, allocations: 161.3 kB / 24.69 MB, free: 8.895 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.8836/0.8836, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2155/0.2155, allocations: 29.41 MB / 290.8 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.588e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004088/0.004114, allocations: 5.273 MB / 436.7 MB, free: 7.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.005377, allocations: 1.266 MB / 438 MB, free: 6.539 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.005555, allocations: 27.75 kB / 438 MB, free: 6.512 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.005923, allocations: 135 kB / 438.2 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.006445, allocations: 389.9 kB / 438.5 MB, free: 5.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.006603, allocations: 135.7 kB / 438.7 MB, free: 5.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.007093, allocations: 0.7785 MB / 439.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.007282, allocations: 128.6 kB / 439.6 MB, free: 4.949 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.007683, allocations: 462.5 kB / 440 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.008035, allocations: 359 kB / 440.4 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.008075, allocations: 36 kB / 440.4 MB, free: 4.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.008122, allocations: 40 kB / 440.5 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.008256, allocations: 207.4 kB / 440.7 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.008381, allocations: 175.5 kB / 440.8 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.008774, allocations: 0.5217 MB / 441.3 MB, free: 3.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.008776, allocations: 0 / 441.3 MB, free: 3.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.008778, allocations: 4 kB / 441.4 MB, free: 3.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.008784, allocations: 0 / 441.4 MB, free: 3.168 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0008211/0.009605, allocations: 0.7328 MB / 442.1 MB, free: 2.398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.009636, allocations: 11.98 kB / 442.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.009703, allocations: 60.59 kB / 442.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.01018, allocations: 420.7 kB / 442.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.0102, allocations: 29.38 kB / 442.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.01025, allocations: 44.36 kB / 442.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.01079, allocations: 0.5 MB / 443.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.0108, allocations: 0 / 443.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.01084, allocations: 16 kB / 443.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/0.01088, allocations: 17 kB / 443.2 MB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.01128, allocations: 367.6 kB / 443.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1541/0.1654, allocations: 1.84 MB / 445.4 MB, free: 53.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.1657, allocations: 229.5 kB / 445.6 MB, free: 53.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1658, allocations: 116.6 kB / 445.7 MB, free: 53.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1658, allocations: 3.219 kB / 445.7 MB, free: 53.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.1659, allocations: 39.97 kB / 445.8 MB, free: 53.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.1659, allocations: 0 / 445.8 MB, free: 53.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007896/0.1666, allocations: 0.7005 MB / 446.5 MB, free: 53.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1667, allocations: 80.39 kB / 446.5 MB, free: 53.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1669, allocations: 387.2 kB / 446.9 MB, free: 53.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.1669, allocations: 27.2 kB / 446.9 MB, free: 53.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.167, allocations: 293.4 kB / 447.2 MB, free: 52.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.167, allocations: 89.17 kB / 447.3 MB, free: 52.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.167, allocations: 77.67 kB / 447.4 MB, free: 52.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.1671, allocations: 353 kB / 447.7 MB, free: 52.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.1672, allocations: 87.25 kB / 447.8 MB, free: 52.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1673, allocations: 277.2 kB / 448.1 MB, free: 52.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1675, allocations: 406.5 kB / 448.5 MB, free: 51.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1675, allocations: 0 / 448.5 MB, free: 51.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003783/0.1679, allocations: 454.8 kB / 448.9 MB, free: 51.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1679, allocations: 13.09 kB / 448.9 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1679, allocations: 6.25 kB / 448.9 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.1681, allocations: 50.48 kB / 449 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1682, allocations: 81.19 kB / 449.1 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000637/0.1688, allocations: 1.486 MB / 450.6 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1689, allocations: 13.25 kB / 450.6 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1689, allocations: 26.19 kB / 450.6 MB, free: 50.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.1691, allocations: 205 kB / 450.8 MB, free: 50.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.1691, allocations: 49.02 kB / 450.8 MB, free: 50.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.1693, allocations: 237 kB / 451.1 MB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.1693, allocations: 3.219 kB / 451.1 MB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1693, allocations: 0 / 451.1 MB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1693, allocations: 0 / 451.1 MB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.1697, allocations: 0.6036 MB / 451.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1697, allocations: 3.156 kB / 451.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1698, allocations: 42.14 kB / 451.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1698, allocations: 7.125 kB / 451.7 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1698, allocations: 4 kB / 451.7 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1698, allocations: 3.219 kB / 451.7 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1698, allocations: 3.938 kB / 451.7 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.17, allocations: 428 kB / 452.2 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.1701, allocations: 40.31 kB / 452.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1701, allocations: 7.406 kB / 452.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.1702, allocations: 6.484 kB / 452.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.1702, allocations: 21.42 kB / 452.2 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1702, allocations: 3.125 kB / 452.2 MB, free: 49.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1703, allocations: 249.3 kB / 452.5 MB, free: 49.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1703, allocations: 2.188 kB / 452.5 MB, free: 49.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.1706, allocations: 91.94 kB / 452.6 MB, free: 49.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.69e-05/0.1706, allocations: 103.2 kB / 452.7 MB, free: 49.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.171, allocations: 376.1 kB / 453 MB, free: 48.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.171, allocations: 3.938 kB / 453 MB, free: 48.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.374e-05/0.171, allocations: 80.28 kB / 453.1 MB, free: 48.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1714, allocations: 106.5 kB / 453.2 MB, free: 48.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.1721, allocations: 0.8476 MB / 454.1 MB, free: 48.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.1722, allocations: 257.4 kB / 454.3 MB, free: 48.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1723, allocations: 34.34 kB / 454.4 MB, free: 48.21 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1723, allocations: 0 / 454.4 MB, free: 48.21 MB / 410.7 MB Notification: Performance of Templates: time 0.004396/0.1767, allocations: 6.154 MB / 460.5 MB, free: 47.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.973443731665611] Failed to read output from testmodel.py, exit status != 0: 0.18165052123367786 0.18812016099999995 0.17798808299999994 Calling exit ...