Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.001096/0.001096, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001051/0.001051, allocations: 165.5 kB / 24.99 MB, free: 9.285 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.26/0.26, allocations: 29.41 MB / 291.2 MB, free: 2.504 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.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.523e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.006135/0.00616, allocations: 5.41 MB / 375 MB, free: 5.871 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.00789, allocations: 1.157 MB / 376.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.008144, allocations: 15.88 kB / 376.2 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.008492, allocations: 91.19 kB / 376.3 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.00912, allocations: 330 kB / 376.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.009421, allocations: 151.6 kB / 376.8 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006722/0.01009, allocations: 0.7473 MB / 377.5 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.01031, allocations: 121.3 kB / 377.6 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.01087, allocations: 438.7 kB / 378.1 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.01132, allocations: 339.1 kB / 378.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.01137, allocations: 40 kB / 378.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.01144, allocations: 40 kB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.01162, allocations: 227.3 kB / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.01178, allocations: 179.6 kB / 378.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.0122, allocations: 398.6 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01221, allocations: 0 / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01221, allocations: 0 / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.01222, allocations: 0 / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001053/0.01327, allocations: 0.8704 MB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01331, allocations: 8.031 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.01342, allocations: 84.61 kB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.0139, allocations: 391.7 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.01393, allocations: 29.38 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.01397, allocations: 40.36 kB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.01443, allocations: 411.7 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01444, allocations: 0 / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.01447, allocations: 16 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.342e-05/0.01455, allocations: 32.56 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.01484, allocations: 202.1 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01628, allocations: 1.754 MB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.01667, allocations: 251.9 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.01696, allocations: 201 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.01698, allocations: 8 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.01726, allocations: 280.5 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.372e-06/0.01727, allocations: 3.938 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001476/0.01874, allocations: 1.01 MB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.01881, allocations: 140.5 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.01908, allocations: 398.6 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.0191, allocations: 33.83 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.01925, allocations: 315.2 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.01933, allocations: 115.1 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.01942, allocations: 83.8 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.01956, allocations: 0.5391 MB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.01969, allocations: 86.66 kB / 386.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.01987, allocations: 257.2 kB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.02019, allocations: 377.3 kB / 387.1 MB, free: 9.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02019, allocations: 0 / 387.1 MB, free: 9.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005485/0.02074, allocations: 447.4 kB / 387.6 MB, free: 8.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.02079, allocations: 37.7 kB / 387.6 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.0208, allocations: 7.938 kB / 387.6 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.02107, allocations: 55.81 kB / 387.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.02133, allocations: 83.83 kB / 387.7 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.02321, allocations: 3.503 MB / 391.2 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.0234, allocations: 19.98 kB / 391.3 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.02342, allocations: 20 kB / 391.3 MB, free: 4.723 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.02362, allocations: 210.2 kB / 391.5 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.02368, allocations: 59.8 kB / 391.5 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.0242, allocations: 420.3 kB / 392 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.02421, allocations: 4 kB / 392 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.02421, allocations: 0 / 392 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.02422, allocations: 7.984 kB / 392 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/0.02518, allocations: 0.8669 MB / 392.8 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.02519, allocations: 0 / 392.8 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.0253, allocations: 43.91 kB / 392.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.02551, allocations: 75.33 kB / 392.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.02554, allocations: 19.92 kB / 393 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.02726, allocations: 3.511 MB / 396.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02726, allocations: 0 / 396.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.02797, allocations: 0.6982 MB / 397.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.02803, allocations: 43.69 kB / 397.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.02807, allocations: 15.94 kB / 397.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.02819, allocations: 15.98 kB / 397.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.02829, allocations: 36.09 kB / 397.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.02831, allocations: 15.98 kB / 397.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.0285, allocations: 259.1 kB / 397.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0285, allocations: 0 / 397.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003845/0.02888, allocations: 112 kB / 397.7 MB, free: 13.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/0.02901, allocations: 107.2 kB / 397.8 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006691/0.02968, allocations: 0.6939 MB / 398.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.02968, allocations: 0 / 398.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.03011, allocations: 0.5599 MB / 399 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.03059, allocations: 103.4 kB / 399.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.03244, allocations: 0.9055 MB / 400 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.03256, allocations: 141.7 kB / 400.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.03273, allocations: 67.34 kB / 400.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.0328, allocations: 32.5 kB / 400.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.03281, allocations: 0 / 400.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of Templates: time 0.008701/0.04151, allocations: 5.667 MB / 405.9 MB, free: 5.547 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2627688290085644]