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.000805/0.000805, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003271/0.003271, allocations: 165.1 kB / 24.7 MB, free: 9.426 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 0.8681/0.8681, allocations: 177.2 MB / 205 MB, free: 5.734 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.2201/0.2201, allocations: 29.41 MB / 290.8 MB, free: 2.43 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 2.104e-06/2.104e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.865e-05, allocations: 4.109 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005974/0.006003, allocations: 5.106 MB / 436.6 MB, free: 7.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.007292, allocations: 1.126 MB / 437.7 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.007468, allocations: 23.81 kB / 437.7 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.007768, allocations: 95.19 kB / 437.8 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.008251, allocations: 330 kB / 438.2 MB, free: 6.375 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.008464, allocations: 143.6 kB / 438.3 MB, free: 6.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.008962, allocations: 0.7435 MB / 439 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.009169, allocations: 125.3 kB / 439.2 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.009587, allocations: 446.6 kB / 439.6 MB, free: 4.922 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.009949, allocations: 339.1 kB / 439.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.009998, allocations: 44 kB / 440 MB, free: 4.547 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.01005, allocations: 40 kB / 440 MB, free: 4.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.01021, allocations: 219.4 kB / 440.2 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.01035, allocations: 175.5 kB / 440.4 MB, free: 4.121 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.01081, allocations: 0.5491 MB / 440.9 MB, free: 3.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.01081, allocations: 7.938 kB / 441 MB, free: 3.562 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01082, allocations: 4 kB / 441 MB, free: 3.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.01082, allocations: 0 / 441 MB, free: 3.559 MB / 410.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.001013/0.01184, allocations: 0.7628 MB / 441.7 MB, free: 2.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.01187, allocations: 12.03 kB / 441.7 MB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.01194, allocations: 60.55 kB / 441.8 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.01265, allocations: 392.8 kB / 442.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.01268, allocations: 33.36 kB / 442.2 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.01273, allocations: 36.38 kB / 442.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.01326, allocations: 0.5042 MB / 442.7 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01327, allocations: 3.984 kB / 442.7 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.0133, allocations: 16 kB / 442.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-05/0.01338, allocations: 28.62 kB / 442.8 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.0138, allocations: 396.3 kB / 443.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1867/0.2005, allocations: 1.511 MB / 444.7 MB, free: 53.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.201, allocations: 335.6 kB / 445 MB, free: 53.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.2013, allocations: 261.4 kB / 445.3 MB, free: 53.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2013, allocations: 2.875 kB / 445.3 MB, free: 53.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.2016, allocations: 312.7 kB / 445.6 MB, free: 53.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.674e-06/0.2016, allocations: 4.688 kB / 445.6 MB, free: 53.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.00143/0.203, allocations: 1.272 MB / 446.9 MB, free: 53.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2031, allocations: 144.1 kB / 447 MB, free: 52.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.2033, allocations: 373.8 kB / 447.4 MB, free: 52.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2033, allocations: 37.05 kB / 447.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.2034, allocations: 257.3 kB / 447.7 MB, free: 52.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.2034, allocations: 121 kB / 447.8 MB, free: 52.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.2035, allocations: 80.36 kB / 447.8 MB, free: 52.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.2035, allocations: 358.5 kB / 448.2 MB, free: 52.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.2037, allocations: 161 kB / 448.4 MB, free: 52.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.2038, allocations: 293.4 kB / 448.6 MB, free: 51.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.2041, allocations: 448.3 kB / 449.1 MB, free: 51.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2041, allocations: 3.281 kB / 449.1 MB, free: 51.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004501/0.2046, allocations: 0.5644 MB / 449.6 MB, free: 51.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2046, allocations: 31.92 kB / 449.7 MB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2046, allocations: 8.375 kB / 449.7 MB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.2048, allocations: 80.33 kB / 449.8 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2049, allocations: 75.58 kB / 449.8 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.2059, allocations: 2.74 MB / 452.6 MB, free: 48.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.2061, allocations: 25.91 kB / 452.6 MB, free: 48.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.2061, allocations: 18.97 kB / 452.6 MB, free: 48.62 MB / 410.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.0001376/0.2062, allocations: 243.2 kB / 452.9 MB, free: 48.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.2063, allocations: 45.92 kB / 452.9 MB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.2067, allocations: 0.5364 MB / 453.4 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2067, allocations: 4.234 kB / 453.4 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.2067, allocations: 0 / 453.4 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2067, allocations: 6.516 kB / 453.5 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/0.2075, allocations: 0.9577 MB / 454.4 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2075, allocations: 0 / 454.4 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/0.2076, allocations: 47.03 kB / 454.5 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.2077, allocations: 89.89 kB / 454.5 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2077, allocations: 14.14 kB / 454.6 MB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008439/0.2086, allocations: 2.749 MB / 457.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2086, allocations: 0 / 457.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.2092, allocations: 0.8445 MB / 458.1 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.2092, allocations: 45.53 kB / 458.2 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.2092, allocations: 21.88 kB / 458.2 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2093, allocations: 18.14 kB / 458.2 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.2094, allocations: 37.45 kB / 458.3 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.2094, allocations: 13.88 kB / 458.3 MB, free: 44.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.2095, allocations: 262.9 kB / 458.5 MB, free: 44.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2095, allocations: 0 / 458.5 MB, free: 44.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.2098, allocations: 112.9 kB / 458.7 MB, free: 44.33 MB / 410.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 9.317e-05/0.2099, allocations: 107.8 kB / 458.8 MB, free: 44.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005116/0.2104, allocations: 0.6839 MB / 459.4 MB, free: 43.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2104, allocations: 0 / 459.4 MB, free: 43.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.2107, allocations: 0.4987 MB / 459.9 MB, free: 43.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2111, allocations: 96.8 kB / 460 MB, free: 43.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008971/0.212, allocations: 0.9995 MB / 461 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.2121, allocations: 267 kB / 461.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.2122, allocations: 34.47 kB / 461.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2122, allocations: 0 / 461.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of Templates: time 0.006101/0.2183, allocations: 9.541 MB / 470.9 MB, free: 41.94 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.896009713411331] Failed to read output from testmodel.py, exit status != 0: 0.22465522214770317 0.22999107600000002 0.21751235700000002 Calling exit ...