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.001362/0.001362, allocations: 79.06 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001609/0.001609, allocations: 164.6 kB / 23.96 MB, free: 4.164 MB / 14.72 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.515/1.515, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 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.1845/0.1845, allocations: 29.44 MB / 290.1 MB, free: 3.281 MB / 270.1 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.904e-06/1.904e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.1e-05/4.29e-05, allocations: 6.219 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.01137/0.01141, allocations: 5.11 MB / 435.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.01473, allocations: 1.126 MB / 437 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005175/0.01525, allocations: 23.81 kB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.01582, allocations: 91.19 kB / 437.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.01726, allocations: 326 kB / 437.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.01788, allocations: 155.6 kB / 437.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.01941, allocations: 0.7433 MB / 438.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.01983, allocations: 117.3 kB / 438.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.02119, allocations: 442.6 kB / 438.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009771/0.02217, allocations: 335.1 kB / 439.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.02234, allocations: 40 kB / 439.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.02258, allocations: 40 kB / 439.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.02303, allocations: 227.3 kB / 439.5 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.02371, allocations: 175.6 kB / 439.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.02548, allocations: 0.553 MB / 440.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.02548, allocations: 0 / 440.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.02549, allocations: 0 / 440.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.02552, allocations: 4 kB / 440.2 MB, free: 8.418 MB / 366.1 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.002651/0.02818, allocations: 0.7666 MB / 441 MB, free: 7.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.02823, allocations: 11.98 kB / 441 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.02844, allocations: 60.56 kB / 441 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.02971, allocations: 384.9 kB / 441.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.02978, allocations: 33.36 kB / 441.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.02989, allocations: 40.33 kB / 441.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.03096, allocations: 0.5081 MB / 442 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.03098, allocations: 3.938 kB / 442 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.618e-05/0.03106, allocations: 16 kB / 442 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.03122, allocations: 32.62 kB / 442 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009776/0.0322, allocations: 392.4 kB / 442.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.03581, allocations: 1.517 MB / 443.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.03683, allocations: 338.8 kB / 444.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008679/0.0377, allocations: 259.3 kB / 444.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.03774, allocations: 4 kB / 444.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007266/0.03846, allocations: 325.3 kB / 444.8 MB, free: 3.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 3.316e-06/0.03847, allocations: 3.938 kB / 444.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.003839/0.04231, allocations: 1.261 MB / 446.1 MB, free: 2.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.04242, allocations: 144.4 kB / 446.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.04311, allocations: 377.6 kB / 446.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.04317, allocations: 37.83 kB / 446.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.0435, allocations: 264.5 kB / 446.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.04368, allocations: 115.1 kB / 447 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.04395, allocations: 78.19 kB / 447.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.04422, allocations: 362.7 kB / 447.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.04462, allocations: 154.6 kB / 447.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.04515, allocations: 291.8 kB / 447.9 MB, free: 284 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2158/0.261, allocations: 441.3 kB / 448.3 MB, free: 29.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.261, allocations: 3.281 kB / 448.3 MB, free: 29.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001321/0.2623, allocations: 0.5669 MB / 448.9 MB, free: 29.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.2624, allocations: 32.78 kB / 448.9 MB, free: 29.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2624, allocations: 6.469 kB / 448.9 MB, free: 29.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/0.2627, allocations: 79.11 kB / 449 MB, free: 29.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.2631, allocations: 76.14 kB / 449.1 MB, free: 29.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.2652, allocations: 2.747 MB / 451.8 MB, free: 27.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.2655, allocations: 23.69 kB / 451.8 MB, free: 27.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2656, allocations: 16.53 kB / 451.9 MB, free: 27.29 MB / 366.1 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.0002803/0.2659, allocations: 241.8 kB / 452.1 MB, free: 27.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.2659, allocations: 42.42 kB / 452.1 MB, free: 27.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/0.2668, allocations: 0.5377 MB / 452.7 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2668, allocations: 4.25 kB / 452.7 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2668, allocations: 5.062 kB / 452.7 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2668, allocations: 1.828 kB / 452.7 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.2683, allocations: 0.9577 MB / 453.6 MB, free: 26.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2683, allocations: 1.188 kB / 453.7 MB, free: 26.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.2685, allocations: 45.48 kB / 453.7 MB, free: 26.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.2688, allocations: 87.42 kB / 453.8 MB, free: 26.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.2688, allocations: 11.59 kB / 453.8 MB, free: 26.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.2706, allocations: 2.756 MB / 456.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2706, allocations: 1.703 kB / 456.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.2717, allocations: 0.8546 MB / 457.4 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.2718, allocations: 38.02 kB / 457.4 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.2719, allocations: 18.42 kB / 457.5 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.2721, allocations: 19.42 kB / 457.5 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.2722, allocations: 34.75 kB / 457.5 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.2723, allocations: 18.64 kB / 457.5 MB, free: 23.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.2726, allocations: 261.6 kB / 457.8 MB, free: 23.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2726, allocations: 0 / 457.8 MB, free: 23.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.2731, allocations: 119.5 kB / 457.9 MB, free: 23.09 MB / 366.1 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.0001409/0.2732, allocations: 108.9 kB / 458 MB, free: 23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009055/0.2741, allocations: 0.6812 MB / 458.7 MB, free: 22.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2742, allocations: 1.188 kB / 458.7 MB, free: 22.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.2748, allocations: 0.497 MB / 459.2 MB, free: 22.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.2755, allocations: 91.25 kB / 459.3 MB, free: 22.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.2771, allocations: 0.961 MB / 460.2 MB, free: 21.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.2774, allocations: 261.1 kB / 460.5 MB, free: 21.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.2776, allocations: 72.56 kB / 460.6 MB, free: 21.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.2777, allocations: 33.44 kB / 460.6 MB, free: 21.48 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2777, allocations: 1.219 kB / 460.6 MB, free: 21.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01317/0.2909, allocations: 5.601 MB / 466.2 MB, free: 20.88 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.114643532782793] Failed to read output from testmodel.py, exit status != 0: 0.3017118386924267 0.310707276 0.282728318 Calling exit ...