Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.001441/0.001441, 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.001567/0.001567, allocations: 165.3 kB / 24.27 MB, free: 148 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.474/1.474, allocations: 177.1 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.3087/0.3087, allocations: 29.42 MB / 290.5 MB, free: 2.445 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.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.587e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01026/0.01029, allocations: 7.115 MB / 376 MB, free: 4.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005453/0.01574, allocations: 2.223 MB / 378.2 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.0163, allocations: 39.69 kB / 378.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.01882, allocations: 0.8281 MB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.02028, allocations: 0.532 MB / 379.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.02172, allocations: 474.6 kB / 380.1 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.02355, allocations: 1.344 MB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.0244, allocations: 0.5213 MB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.02566, allocations: 0.7711 MB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.02672, allocations: 0.6545 MB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.02687, allocations: 84 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.02758, allocations: 283.4 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006298/0.02821, allocations: 0.5377 MB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008076/0.02901, allocations: 383.1 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.03104, allocations: 1.363 MB / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.03104, allocations: 0 / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.03104, allocations: 0 / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.03106, allocations: 0 / 386 MB, free: 10.13 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.002999/0.03406, allocations: 1.282 MB / 387.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.654e-05/0.03412, allocations: 11.98 kB / 387.3 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.03554, allocations: 304 kB / 387.6 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.03691, allocations: 0.7017 MB / 388.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/0.03699, allocations: 66.38 kB / 388.3 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.03726, allocations: 104.8 kB / 388.4 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.03944, allocations: 1.256 MB / 389.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.03947, allocations: 3.953 kB / 389.7 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.03958, allocations: 36 kB / 389.7 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002698/0.03985, allocations: 57.97 kB / 389.8 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.04168, allocations: 1.044 MB / 390.8 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006923/0.0486, allocations: 4.302 MB / 395.1 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.04988, allocations: 0.6532 MB / 395.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.05061, allocations: 445.8 kB / 396.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.549e-05/0.05066, allocations: 16.66 kB / 396.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.05156, allocations: 0.5346 MB / 396.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.465e-06/0.05156, allocations: 3.938 kB / 396.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.005741/0.0573, allocations: 2.837 MB / 399.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.05744, allocations: 162.9 kB / 399.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/0.05823, allocations: 0.5819 MB / 400.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/0.0583, allocations: 41.7 kB / 400.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.05877, allocations: 484.2 kB / 400.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.05906, allocations: 265.8 kB / 401.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.05934, allocations: 170.6 kB / 401.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.0596, allocations: 390.8 kB / 401.7 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.06028, allocations: 403.5 kB / 402.1 MB, free: 9.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/0.06124, allocations: 0.6561 MB / 402.7 MB, free: 8.719 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.007918/0.06915, allocations: 3.238 MB / 406 MB, free: 5.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.06916, allocations: 4 kB / 406 MB, free: 5.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002755/0.07192, allocations: 1.404 MB / 407.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.07197, allocations: 33.7 kB / 407.4 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.07198, allocations: 12.72 kB / 407.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008195/0.0728, allocations: 266.4 kB / 407.7 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.07396, allocations: 263.5 kB / 407.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006766/0.08073, allocations: 5.683 MB / 413.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.08136, allocations: 40.17 kB / 413.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.08144, allocations: 43.98 kB / 413.7 MB, free: 13.27 MB / 394.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006385/0.08208, allocations: 375 kB / 414.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.08226, allocations: 103.5 kB / 414.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.08452, allocations: 1.162 MB / 415.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.08454, allocations: 8 kB / 415.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.08455, allocations: 4 kB / 415.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.08457, allocations: 11.92 kB / 415.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/0.08836, allocations: 2.051 MB / 417.4 MB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.08836, allocations: 0 / 417.4 MB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009249/0.08929, allocations: 187.9 kB / 417.6 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008978/0.09018, allocations: 266.2 kB / 417.9 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.09025, allocations: 23.98 kB / 417.9 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006441/0.09669, allocations: 5.609 MB / 423.5 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.09669, allocations: 0 / 423.5 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.09981, allocations: 1.733 MB / 425.2 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.09999, allocations: 71.53 kB / 425.3 MB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1001, allocations: 23.98 kB / 425.3 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.1005, allocations: 23.98 kB / 425.3 MB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.1007, allocations: 64.48 kB / 425.4 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.1008, allocations: 23.98 kB / 425.4 MB, free: 1.055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005488/0.1013, allocations: 395 kB / 425.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1013, allocations: 0 / 425.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001119/0.1024, allocations: 275.9 kB / 426.1 MB, free: 416 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002587/0.1027, allocations: 131.1 kB / 426.2 MB, free: 272 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.1052, allocations: 1.403 MB / 427.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1052, allocations: 1 kB / 427.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.1068, allocations: 0.9145 MB / 428.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009127/0.1077, allocations: 206 kB / 428.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.1115, allocations: 2.107 MB / 430.8 MB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.1122, allocations: 0.5125 MB / 431.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005568/0.1127, allocations: 210.3 kB / 431.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.1129, allocations: 60.48 kB / 431.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1129, allocations: 0 / 431.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of Templates: time 0.1464/0.2593, allocations: 11.34 MB / 443 MB, free: 108.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.22678015101701]