Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.001399/0.001399, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001507/0.001507, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.488/1.488, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.1796/0.1796, allocations: 29.44 MB / 290.1 MB, free: 3.285 MB / 270.1 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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.435e-05, allocations: 2.281 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01011/0.01015, allocations: 7.107 MB / 437.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.01497, allocations: 2.224 MB / 440 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004649/0.01543, allocations: 39.69 kB / 440.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.01803, allocations: 0.8346 MB / 440.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.01938, allocations: 0.5281 MB / 441.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.02085, allocations: 474.6 kB / 441.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.02253, allocations: 1.308 MB / 443.2 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007886/0.02331, allocations: 0.5058 MB / 443.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.02448, allocations: 0.7516 MB / 444.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009976/0.02548, allocations: 0.6194 MB / 445.1 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.02562, allocations: 76 kB / 445.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.02616, allocations: 223.7 kB / 445.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.0267, allocations: 0.5143 MB / 445.9 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.02719, allocations: 375.1 kB / 446.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.02875, allocations: 1.258 MB / 447.5 MB, free: 1.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.02876, allocations: 4 kB / 447.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02876, allocations: 0 / 447.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.02878, allocations: 0 / 447.5 MB, free: 1.059 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.1934/0.2222, allocations: 1.245 MB / 448.8 MB, free: 30.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2222, allocations: 13.73 kB / 448.8 MB, free: 30.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.2234, allocations: 208.5 kB / 449 MB, free: 30.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.2246, allocations: 0.6596 MB / 449.7 MB, free: 30.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.2247, allocations: 61.56 kB / 449.7 MB, free: 30.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.2248, allocations: 89.44 kB / 449.8 MB, free: 30.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.2265, allocations: 1.206 MB / 451 MB, free: 29.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.2265, allocations: 7.312 kB / 451 MB, free: 29.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.2266, allocations: 33.97 kB / 451 MB, free: 29.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-05/0.2267, allocations: 56.38 kB / 451.1 MB, free: 29.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.2281, allocations: 0.9576 MB / 452.1 MB, free: 29.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/0.2328, allocations: 4.325 MB / 456.4 MB, free: 26.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2339, allocations: 0.6525 MB / 457 MB, free: 25.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.2343, allocations: 375 kB / 457.4 MB, free: 25.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.2344, allocations: 9.172 kB / 457.4 MB, free: 25.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005783/0.235, allocations: 470.1 kB / 457.9 MB, free: 25.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.394e-06/0.235, allocations: 0 / 457.9 MB, free: 25.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005376/0.2404, allocations: 2.389 MB / 460.3 MB, free: 24.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.2404, allocations: 169.8 kB / 460.4 MB, free: 24.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/0.2412, allocations: 0.5867 MB / 461 MB, free: 24.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.2412, allocations: 42 kB / 461.1 MB, free: 24.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.2416, allocations: 0.4926 MB / 461.5 MB, free: 23.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.2418, allocations: 232.2 kB / 461.8 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.242, allocations: 154.1 kB / 461.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2421, allocations: 381.6 kB / 462.3 MB, free: 23.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.2426, allocations: 313.3 kB / 462.6 MB, free: 22.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.2432, allocations: 0.5808 MB / 463.2 MB, free: 22.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2442, allocations: 0.953 MB / 464.1 MB, free: 21.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2443, allocations: 2.5 kB / 464.1 MB, free: 21.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002193/0.2464, allocations: 1.249 MB / 465.4 MB, free: 21.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.2465, allocations: 38.8 kB / 465.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.2465, allocations: 9.406 kB / 465.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.248, allocations: 336.1 kB / 465.8 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/0.2487, allocations: 145 kB / 465.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/0.2566, allocations: 4.974 MB / 470.9 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/0.2576, allocations: 34.41 kB / 470.9 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.2577, allocations: 40 kB / 471 MB, free: 17.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007825/0.2585, allocations: 365.3 kB / 471.3 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.2587, allocations: 75.36 kB / 471.4 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.2615, allocations: 1.069 MB / 472.5 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.2615, allocations: 11.62 kB / 472.5 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.2615, allocations: 4.625 kB / 472.5 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.2615, allocations: 3.984 kB / 472.5 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.2659, allocations: 1.868 MB / 474.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2659, allocations: 1.188 kB / 474.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.2663, allocations: 73.06 kB / 474.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.2675, allocations: 321.5 kB / 474.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.2676, allocations: 13.53 kB / 474.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006796/0.2744, allocations: 4.906 MB / 479.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.2744, allocations: 1.656 kB / 479.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.2768, allocations: 1.15 MB / 480.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.2771, allocations: 59.53 kB / 480.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.2773, allocations: 27.94 kB / 480.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/0.2778, allocations: 20 kB / 480.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.2781, allocations: 64.27 kB / 481 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.2781, allocations: 19.94 kB / 481 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006645/0.2788, allocations: 403 kB / 481.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2788, allocations: 0 / 481.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001617/0.2804, allocations: 268 kB / 481.6 MB, free: 9.926 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.2806, allocations: 115.1 kB / 481.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.2829, allocations: 1.178 MB / 482.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2829, allocations: 4 kB / 482.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.2841, allocations: 0.7565 MB / 483.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.2855, allocations: 181.4 kB / 483.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.289, allocations: 1.78 MB / 485.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.2896, allocations: 0.5065 MB / 486.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005799/0.2902, allocations: 178.4 kB / 486.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.2904, allocations: 48.5 kB / 486.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2904, allocations: 0 / 486.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of Templates: time 0.02486/0.3152, allocations: 11.17 MB / 497.5 MB, free: 10.04 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.269938990473747] Failed to read output from testmodel.py, exit status != 0: 0.32450924813747406 0.33945924400000005 0.30756397 Calling exit ...