Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0008128/0.0008128, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009057/0.0009057, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8927/0.8927, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2254/0.2254, allocations: 29.4 MB / 290.1 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.335e-05, allocations: 4.25 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004816/0.004839, allocations: 5.106 MB / 435.3 MB, free: 8.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.006567, allocations: 1.133 MB / 436.5 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.006766, allocations: 19.81 kB / 436.5 MB, free: 7.309 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.007085, allocations: 95.19 kB / 436.6 MB, free: 7.215 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005759/0.00766, allocations: 326 kB / 436.9 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.007914, allocations: 151.7 kB / 437 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.008458, allocations: 0.7396 MB / 437.8 MB, free: 6.004 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.008686, allocations: 133.2 kB / 437.9 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.009159, allocations: 438.6 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.009555, allocations: 335.1 kB / 438.7 MB, free: 5.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.009606, allocations: 40 kB / 438.7 MB, free: 5.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.795e-05/0.009664, allocations: 48 kB / 438.8 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.009835, allocations: 227.3 kB / 439 MB, free: 4.801 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.009977, allocations: 175.6 kB / 439.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.01046, allocations: 0.5491 MB / 439.7 MB, free: 4.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01046, allocations: 7.938 kB / 439.7 MB, free: 4.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01046, allocations: 0 / 439.7 MB, free: 4.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.01047, allocations: 0 / 439.7 MB, free: 4.07 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.00133/0.0118, allocations: 0.7666 MB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.01184, allocations: 8.031 kB / 440.5 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.0119, allocations: 82.7 kB / 440.6 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.01197, allocations: 52.61 kB / 440.6 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.01244, allocations: 388.8 kB / 441 MB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.01247, allocations: 25.38 kB / 441 MB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.01251, allocations: 36.38 kB / 441 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.01303, allocations: 0.5118 MB / 441.6 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01304, allocations: 4 kB / 441.6 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.01308, allocations: 12 kB / 441.6 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-05/0.01316, allocations: 28.62 kB / 441.6 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.01358, allocations: 400.3 kB / 442 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.01507, allocations: 1.575 MB / 443.6 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1779/0.193, allocations: 336.8 kB / 443.9 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.1933, allocations: 261.1 kB / 444.2 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1934, allocations: 3.156 kB / 444.2 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.1936, allocations: 309.2 kB / 444.5 MB, free: 54.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.1936, allocations: 2.156 kB / 444.5 MB, free: 54.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001521/0.1952, allocations: 1.272 MB / 445.7 MB, free: 53.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.1952, allocations: 142.1 kB / 445.9 MB, free: 53.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1955, allocations: 382.5 kB / 446.2 MB, free: 53.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1955, allocations: 32.8 kB / 446.3 MB, free: 53.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1956, allocations: 261.4 kB / 446.5 MB, free: 53.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.1956, allocations: 115.9 kB / 446.6 MB, free: 53.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.1957, allocations: 84.73 kB / 446.7 MB, free: 53.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.1957, allocations: 357 kB / 447.1 MB, free: 52.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1959, allocations: 161.1 kB / 447.2 MB, free: 52.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.196, allocations: 278.4 kB / 447.5 MB, free: 52.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1963, allocations: 448.7 kB / 447.9 MB, free: 52.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1963, allocations: 3.094 kB / 447.9 MB, free: 52.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004719/0.1968, allocations: 0.5747 MB / 448.5 MB, free: 52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.1968, allocations: 32.02 kB / 448.6 MB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1968, allocations: 6.844 kB / 448.6 MB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.197, allocations: 86.7 kB / 448.6 MB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1972, allocations: 68.98 kB / 448.7 MB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.1983, allocations: 2.781 MB / 451.5 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.1984, allocations: 24.38 kB / 451.5 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.1984, allocations: 18.44 kB / 451.5 MB, free: 49.31 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.0001622/0.1986, allocations: 247.3 kB / 451.8 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1986, allocations: 43.31 kB / 451.8 MB, free: 49.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.1991, allocations: 0.5338 MB / 452.4 MB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1991, allocations: 6.766 kB / 452.4 MB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1991, allocations: 3.156 kB / 452.4 MB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1991, allocations: 3.938 kB / 452.4 MB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.1999, allocations: 1.02 MB / 453.4 MB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1999, allocations: 0 / 453.4 MB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.2, allocations: 46.58 kB / 453.4 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/0.2002, allocations: 96.48 kB / 453.5 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2002, allocations: 7.281 kB / 453.5 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009722/0.2012, allocations: 2.795 MB / 456.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2012, allocations: 3.219 kB / 456.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.2018, allocations: 0.8497 MB / 457.2 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2018, allocations: 35.66 kB / 457.2 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.2019, allocations: 14.38 kB / 457.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.202, allocations: 20.73 kB / 457.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.2021, allocations: 37.88 kB / 457.3 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.2021, allocations: 10.38 kB / 457.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.2022, allocations: 265.7 kB / 457.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2022, allocations: 3.875 kB / 457.6 MB, free: 44.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.2025, allocations: 112.8 kB / 457.7 MB, free: 44.91 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 0.0007536/0.2033, allocations: 1.398 MB / 459.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005542/0.2039, allocations: 0.6841 MB / 459.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2039, allocations: 0.5625 kB / 459.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.2042, allocations: 0.5069 MB / 460.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.2045, allocations: 89.25 kB / 460.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.2074, allocations: 4.205 MB / 464.6 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.2076, allocations: 265.9 kB / 464.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.2077, allocations: 67.66 kB / 464.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2079, allocations: 170.6 kB / 465 MB, free: 40.11 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2079, allocations: 0 / 465 MB, free: 40.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.2351, allocations: 10.64 MB / 475.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/7.531, allocations: 20.33 kB / 475.7 MB, free: 38.48 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.557336253114045] Failed to read output from testmodel.py, exit status != 0: 7.6204031659290195 7.63047127 7.618050961 Calling exit ...