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.001499/0.001499, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001875/0.001875, allocations: 170.3 kB / 24.82 MB, free: 9.266 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.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.2538/0.2538, allocations: 29.41 MB / 291.2 MB, free: 2.387 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.593e-06/1.593e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.469e-05, allocations: 2.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.00589/0.005914, allocations: 6.369 MB / 376.5 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.009411, allocations: 2.297 MB / 378.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004995/0.009911, allocations: 35.69 kB / 378.8 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008358/0.01075, allocations: 306 kB / 379.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009602/0.01171, allocations: 0.5126 MB / 379.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.01272, allocations: 478.6 kB / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.01381, allocations: 1.301 MB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000583/0.0144, allocations: 0.5135 MB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.01539, allocations: 0.8377 MB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.01602, allocations: 0.557 MB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.201e-05/0.01612, allocations: 72 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.01655, allocations: 231.7 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.0169, allocations: 0.5104 MB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.01722, allocations: 371.1 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008557/0.01807, allocations: 0.9148 MB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01808, allocations: 3.984 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01808, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.01809, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.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.001598/0.01969, allocations: 1.345 MB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.01974, allocations: 15.98 kB / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008461/0.02059, allocations: 260 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.0214, allocations: 0.601 MB / 387.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.02145, allocations: 62.38 kB / 387.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.02156, allocations: 80.36 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.02252, allocations: 0.8459 MB / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.02255, allocations: 11.83 kB / 388.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.02261, allocations: 36 kB / 388.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.02268, allocations: 61.97 kB / 388.7 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.02325, allocations: 379.1 kB / 389.1 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.02711, allocations: 5.004 MB / 394.1 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.0277, allocations: 414.6 kB / 394.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.02792, allocations: 195.3 kB / 394.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.02796, allocations: 24.42 kB / 394.7 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.02833, allocations: 332.8 kB / 395 MB, free: 1.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 3.076e-06/0.02833, allocations: 0 / 395 MB, free: 1.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.003039/0.03137, allocations: 1.335 MB / 396.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.03145, allocations: 170.9 kB / 396.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.03199, allocations: 0.5888 MB / 397.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.03203, allocations: 45.77 kB / 397.1 MB, free: 15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.03239, allocations: 0.5454 MB / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.03259, allocations: 238 kB / 397.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.03279, allocations: 168.1 kB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.03303, allocations: 0.5702 MB / 398.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.0332, allocations: 111.6 kB / 398.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.03361, allocations: 0.5201 MB / 399.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.03428, allocations: 0.6979 MB / 400 MB, free: 11.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.03428, allocations: 0 / 400 MB, free: 11.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001171/0.03545, allocations: 0.8312 MB / 400.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.03549, allocations: 41.69 kB / 400.9 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.03551, allocations: 12 kB / 400.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007946/0.0363, allocations: 271.1 kB / 401.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.03667, allocations: 147.7 kB / 401.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.04036, allocations: 4.65 MB / 405.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.04073, allocations: 24 kB / 405.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.04078, allocations: 36.22 kB / 406 MB, free: 5.492 MB / 378.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.0002785/0.04106, allocations: 252.7 kB / 406.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.04117, allocations: 99.48 kB / 406.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009681/0.04214, allocations: 0.6591 MB / 407 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.04215, allocations: 8 kB / 407 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.04215, allocations: 4 kB / 407 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.04216, allocations: 7.984 kB / 407 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.044, allocations: 1.381 MB / 408.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.044, allocations: 4 kB / 408.4 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.04421, allocations: 75.89 kB / 408.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006267/0.04483, allocations: 254.4 kB / 408.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.04487, allocations: 19.98 kB / 408.7 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/0.04807, allocations: 4.621 MB / 413.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.04808, allocations: 7.938 kB / 413.4 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.0491, allocations: 0.8582 MB / 414.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.0492, allocations: 63.52 kB / 414.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.04926, allocations: 20 kB / 414.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.04947, allocations: 19.98 kB / 414.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.04957, allocations: 48.34 kB / 414.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.04961, allocations: 24 kB / 414.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002651/0.04987, allocations: 354.9 kB / 414.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04987, allocations: 0 / 414.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008359/0.05071, allocations: 264 kB / 415 MB, free: 12.06 MB / 394.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.0001408/0.05085, allocations: 122 kB / 415.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.05187, allocations: 0.9887 MB / 416.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.05188, allocations: 4.062 kB / 416.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.0525, allocations: 0.7407 MB / 416.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.05316, allocations: 173 kB / 417 MB, free: 9.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.05573, allocations: 1.584 MB / 418.6 MB, free: 8.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.05597, allocations: 259.8 kB / 418.9 MB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.05622, allocations: 90.31 kB / 418.9 MB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.05652, allocations: 222.1 kB / 419.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.05652, allocations: 0 / 419.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of Templates: time 0.03198/0.0885, allocations: 11.95 MB / 431.1 MB, free: 11.9 MB / 410.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.5024873563088477]