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.001769/0.001769, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002124/0.002124, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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.509/1.509, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3063/0.3063, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.934e-06/1.934e-06, allocations: 3.938 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.74e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01049/0.01053, allocations: 7.119 MB / 376 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.01518, allocations: 2.227 MB / 378.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.01555, allocations: 35.69 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.01798, allocations: 0.832 MB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.01924, allocations: 0.5242 MB / 379.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.02061, allocations: 478.6 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.02227, allocations: 1.301 MB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008112/0.02308, allocations: 0.5096 MB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.02426, allocations: 0.7555 MB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.0253, allocations: 0.6155 MB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.02543, allocations: 72 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.02595, allocations: 235.6 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000601/0.02655, allocations: 0.5104 MB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005244/0.02707, allocations: 371.2 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.02873, allocations: 1.266 MB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.02874, allocations: 4 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02874, allocations: 0 / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.02875, allocations: 0 / 385.7 MB, free: 10.4 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.002601/0.03135, allocations: 1.253 MB / 387 MB, free: 9.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.0314, allocations: 11.98 kB / 387 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.03265, allocations: 292 kB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.03407, allocations: 0.6861 MB / 388 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/0.03414, allocations: 66.36 kB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.03429, allocations: 84.36 kB / 388.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.03637, allocations: 1.201 MB / 389.3 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.03641, allocations: 11.88 kB / 389.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/0.03651, allocations: 40 kB / 389.4 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-05/0.0366, allocations: 57.97 kB / 389.4 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.03834, allocations: 0.9539 MB / 390.4 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006492/0.04483, allocations: 4.334 MB / 394.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.04615, allocations: 0.6575 MB / 395.4 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.04676, allocations: 373.6 kB / 395.7 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.04683, allocations: 12.5 kB / 395.7 MB, free: 12 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007782/0.0476, allocations: 466.5 kB / 396.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 1.963e-06/0.04761, allocations: 0 / 396.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.006041/0.05365, allocations: 2.412 MB / 398.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.05381, allocations: 170.9 kB / 398.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008498/0.05466, allocations: 0.5781 MB / 399.3 MB, free: 12.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.05472, allocations: 37.7 kB / 399.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007026/0.05542, allocations: 0.4921 MB / 399.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.05573, allocations: 238 kB / 400.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.056, allocations: 154.6 kB / 400.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.05627, allocations: 386.8 kB / 400.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/0.0568, allocations: 311.5 kB / 400.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009108/0.05771, allocations: 0.5854 MB / 401.5 MB, free: 9.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.05925, allocations: 0.9585 MB / 402.5 MB, free: 8.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.05926, allocations: 4 kB / 402.5 MB, free: 8.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002618/0.06188, allocations: 1.278 MB / 403.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.855e-05/0.06193, allocations: 37.69 kB / 403.8 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.06195, allocations: 8 kB / 403.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.06347, allocations: 396.5 kB / 404.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.06402, allocations: 143.7 kB / 404.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007428/0.07145, allocations: 4.992 MB / 409.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.07207, allocations: 39.98 kB / 409.4 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.07215, allocations: 39.94 kB / 409.4 MB, free: 1.676 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.000621/0.07277, allocations: 365.3 kB / 409.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.07294, allocations: 99.53 kB / 409.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.07517, allocations: 1.06 MB / 410.9 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.07519, allocations: 8.141 kB / 410.9 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.0752, allocations: 4 kB / 410.9 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.07521, allocations: 11.91 kB / 410.9 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.07905, allocations: 1.87 MB / 412.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.07907, allocations: 4 kB / 412.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.0794, allocations: 76.05 kB / 412.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.08062, allocations: 357.3 kB / 413.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.08067, allocations: 12 kB / 413.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007306/0.08798, allocations: 4.921 MB / 418.2 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.08799, allocations: 7.938 kB / 418.2 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.09055, allocations: 1.16 MB / 419.3 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.09079, allocations: 71.47 kB / 419.4 MB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.09092, allocations: 19.94 kB / 419.4 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.0913, allocations: 23.92 kB / 419.5 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.09152, allocations: 60.38 kB / 419.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.09158, allocations: 20 kB / 419.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000672/0.09225, allocations: 399 kB / 419.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09225, allocations: 4 kB / 419.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001303/0.09355, allocations: 268 kB / 420.2 MB, free: 6.52 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.0002459/0.0938, allocations: 114.1 kB / 420.3 MB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.09642, allocations: 1.191 MB / 421.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.09642, allocations: 0 / 421.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.09782, allocations: 0.7657 MB / 422.3 MB, free: 4.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.09895, allocations: 194.6 kB / 422.4 MB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.1027, allocations: 1.811 MB / 424.3 MB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.1035, allocations: 0.4922 MB / 424.7 MB, free: 1.777 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005495/0.104, allocations: 174.1 kB / 424.9 MB, free: 1.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1042, allocations: 56.48 kB / 425 MB, free: 1.551 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1042, allocations: 4 kB / 425 MB, free: 1.547 MB / 394.7 MB Notification: Performance of Templates: time 0.02385/0.1281, allocations: 11.23 MB / 436.2 MB, free: 6.488 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.407604896929115]