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.001336/0.001336, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00149/0.00149, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9252/0.9252, allocations: 177.1 MB / 206 MB, free: 4.477 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.1192/0.1192, allocations: 29.42 MB / 292 MB, free: 2.625 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.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 1.442e-06/1.442e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.291e-05, allocations: 9.797 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.004327/0.004339, allocations: 6.369 MB / 377.2 MB, free: 25.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.006925, allocations: 2.294 MB / 379.5 MB, free: 23.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.007234, allocations: 35.69 kB / 379.6 MB, free: 23.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.007843, allocations: 310 kB / 379.9 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.008509, allocations: 0.5204 MB / 380.4 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007559/0.009265, allocations: 474.6 kB / 380.9 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008933/0.01016, allocations: 1.302 MB / 382.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.0106, allocations: 0.5058 MB / 382.7 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007537/0.01136, allocations: 0.8454 MB / 383.5 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.01186, allocations: 0.5609 MB / 384.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.822e-05/0.01196, allocations: 75.94 kB / 384.1 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.01228, allocations: 227.6 kB / 384.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.01253, allocations: 0.5104 MB / 384.9 MB, free: 18.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.01277, allocations: 375.1 kB / 385.2 MB, free: 17.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.01339, allocations: 0.907 MB / 386.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.01339, allocations: 0 / 386.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.01339, allocations: 0 / 386.2 MB, free: 16.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.01341, allocations: 0 / 386.2 MB, free: 16.96 MB / 314.7 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.001078/0.01448, allocations: 1.345 MB / 387.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.01452, allocations: 12.03 kB / 387.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006151/0.01513, allocations: 264.1 kB / 387.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.01564, allocations: 0.5932 MB / 388.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.01567, allocations: 66.38 kB / 388.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.01574, allocations: 80.36 kB / 388.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.0163, allocations: 0.8434 MB / 389.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.01632, allocations: 3.938 kB / 389.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.01637, allocations: 39.94 kB / 389.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.0164, allocations: 53.98 kB / 389.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.01676, allocations: 379.1 kB / 389.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.01913, allocations: 5.019 MB / 394.8 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.01953, allocations: 427 kB / 395.3 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.01967, allocations: 187.3 kB / 395.4 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.01969, allocations: 16.5 kB / 395.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.01991, allocations: 324.8 kB / 395.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.773e-06/0.01991, allocations: 0 / 395.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.002001/0.02191, allocations: 1.351 MB / 397.1 MB, free: 5.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.02195, allocations: 166.8 kB / 397.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.02221, allocations: 0.6005 MB / 397.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.02224, allocations: 37.7 kB / 397.9 MB, free: 4.605 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.0225, allocations: 0.5415 MB / 398.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.02264, allocations: 238 kB / 398.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.02277, allocations: 168.2 kB / 398.9 MB, free: 3.645 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.02285, allocations: 0.5741 MB / 399.4 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.02296, allocations: 115.6 kB / 399.5 MB, free: 2.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.02316, allocations: 0.5123 MB / 400.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.02354, allocations: 0.7019 MB / 400.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02354, allocations: 0 / 400.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008164/0.02436, allocations: 0.8381 MB / 401.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.02438, allocations: 34.58 kB / 401.6 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.02439, allocations: 8 kB / 401.6 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.02496, allocations: 273.3 kB / 401.9 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.0252, allocations: 143.8 kB / 402 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.02797, allocations: 4.658 MB / 406.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.02819, allocations: 32 kB / 406.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.02823, allocations: 28 kB / 406.8 MB, free: 11.1 MB / 330.7 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.000186/0.02841, allocations: 250.8 kB / 407 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.0285, allocations: 99.48 kB / 407.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000771/0.02927, allocations: 0.6668 MB / 407.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.02928, allocations: 15.92 kB / 407.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.02928, allocations: 4 kB / 407.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.02929, allocations: 0 / 407.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.03063, allocations: 1.374 MB / 409.2 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.03063, allocations: 4 kB / 409.2 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.03079, allocations: 75.84 kB / 409.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004799/0.03127, allocations: 251 kB / 409.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.03129, allocations: 12 kB / 409.5 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.03385, allocations: 4.63 MB / 414.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03385, allocations: 4 kB / 414.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.03461, allocations: 0.8543 MB / 415 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.03468, allocations: 71.47 kB / 415.1 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.03474, allocations: 16 kB / 415.1 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.03489, allocations: 12 kB / 415.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.03497, allocations: 56.39 kB / 415.1 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.035, allocations: 19.94 kB / 415.2 MB, free: 2.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001922/0.03519, allocations: 354.9 kB / 415.5 MB, free: 1.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03519, allocations: 0 / 415.5 MB, free: 1.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000536/0.03573, allocations: 268 kB / 415.8 MB, free: 1.668 MB / 330.7 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.000102/0.03583, allocations: 119.1 kB / 415.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008038/0.03663, allocations: 0.9881 MB / 416.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.03663, allocations: 0 / 416.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.03714, allocations: 0.7419 MB / 417.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.03763, allocations: 172 kB / 417.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.03946, allocations: 1.59 MB / 419.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.03964, allocations: 263.8 kB / 419.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.03982, allocations: 86.31 kB / 419.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.04006, allocations: 218.1 kB / 419.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04006, allocations: 0 / 419.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of Templates: time 0.01353/0.05359, allocations: 12.22 MB / 432.1 MB, free: 1.273 MB / 346.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1915293000638485]