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.000988/0.000988, 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.000766/0.000766, allocations: 170.3 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.8803/0.8803, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2215/0.2215, allocations: 29.4 MB / 290.1 MB, free: 2.441 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.104e-05, allocations: 4.391 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004695/0.004716, allocations: 5.114 MB / 435.3 MB, free: 8.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.006138, allocations: 1.13 MB / 436.5 MB, free: 7.305 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.006322, allocations: 23.81 kB / 436.5 MB, free: 7.281 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.006612, allocations: 95.23 kB / 436.6 MB, free: 7.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.00712, allocations: 322 kB / 436.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.007353, allocations: 151.6 kB / 437 MB, free: 6.723 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.007875, allocations: 0.7396 MB / 437.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.008061, allocations: 137.2 kB / 437.9 MB, free: 5.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.008516, allocations: 434.7 kB / 438.3 MB, free: 5.414 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.008871, allocations: 335.1 kB / 438.7 MB, free: 5.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.008921, allocations: 44 kB / 438.7 MB, free: 5.043 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.284e-05/0.008974, allocations: 40 kB / 438.7 MB, free: 5.004 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.009123, allocations: 223.3 kB / 439 MB, free: 4.785 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.009252, allocations: 175.6 kB / 439.1 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.009664, allocations: 0.5607 MB / 439.7 MB, free: 4.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.009666, allocations: 0 / 439.7 MB, free: 4.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.009668, allocations: 0 / 439.7 MB, free: 4.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.009675, allocations: 0 / 439.7 MB, free: 4.051 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.00097/0.01064, allocations: 0.7627 MB / 440.5 MB, free: 3.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.01068, allocations: 16.03 kB / 440.5 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.01074, allocations: 78.66 kB / 440.5 MB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.0108, allocations: 56.61 kB / 440.6 MB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.01123, allocations: 384.9 kB / 441 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.01126, allocations: 29.38 kB / 441 MB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.0113, allocations: 32.38 kB / 441 MB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.01179, allocations: 0.5157 MB / 441.6 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.0118, allocations: 4 kB / 441.6 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.01183, allocations: 12 kB / 441.6 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.741e-05/0.0119, allocations: 28.62 kB / 441.6 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.01231, allocations: 400.3 kB / 442 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1524/0.1647, allocations: 1.565 MB / 443.6 MB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.1653, allocations: 340 kB / 443.9 MB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.1656, allocations: 267.4 kB / 444.1 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1656, allocations: 4.688 kB / 444.1 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.1658, allocations: 313 kB / 444.5 MB, free: 54.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/0.1658, allocations: 0 / 444.5 MB, free: 54.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001458/0.1673, allocations: 1.272 MB / 445.7 MB, free: 53.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1673, allocations: 141.5 kB / 445.9 MB, free: 53.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.1676, allocations: 382.9 kB / 446.2 MB, free: 53.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1676, allocations: 35.7 kB / 446.3 MB, free: 53.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.1677, allocations: 260.9 kB / 446.5 MB, free: 53.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.1677, allocations: 113.8 kB / 446.6 MB, free: 53.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.1678, allocations: 78.8 kB / 446.7 MB, free: 53.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.1679, allocations: 356.7 kB / 447.1 MB, free: 52.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.168, allocations: 161.8 kB / 447.2 MB, free: 52.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1682, allocations: 282.1 kB / 447.5 MB, free: 52.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.1685, allocations: 451 kB / 447.9 MB, free: 52.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1685, allocations: 3.375 kB / 447.9 MB, free: 52.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004737/0.169, allocations: 0.5757 MB / 448.5 MB, free: 51.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.169, allocations: 34.73 kB / 448.6 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.169, allocations: 3.281 kB / 448.6 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.1692, allocations: 77.44 kB / 448.6 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1693, allocations: 76.72 kB / 448.7 MB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009366/0.1703, allocations: 2.781 MB / 451.5 MB, free: 49.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1704, allocations: 28.94 kB / 451.5 MB, free: 49.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1704, allocations: 17.03 kB / 451.5 MB, free: 49.12 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.0001416/0.1706, allocations: 240.8 kB / 451.8 MB, free: 48.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.1706, allocations: 43.28 kB / 451.8 MB, free: 48.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.1711, allocations: 0.5318 MB / 452.3 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1711, allocations: 9.312 kB / 452.3 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1711, allocations: 0 / 452.3 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1711, allocations: 3.094 kB / 452.4 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008074/0.1719, allocations: 1.027 MB / 453.4 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1719, allocations: 0 / 453.4 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.172, allocations: 46.41 kB / 453.4 MB, free: 48.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.1721, allocations: 94.06 kB / 453.5 MB, free: 48.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1721, allocations: 13.84 kB / 453.5 MB, free: 48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/0.173, allocations: 2.791 MB / 456.3 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.173, allocations: 0 / 456.3 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.1736, allocations: 0.8453 MB / 457.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.1737, allocations: 44.34 kB / 457.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.1737, allocations: 18.53 kB / 457.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1738, allocations: 20.81 kB / 457.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.1739, allocations: 30.5 kB / 457.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1739, allocations: 13.92 kB / 457.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.174, allocations: 260.4 kB / 457.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.174, allocations: 0 / 457.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.1743, allocations: 121.2 kB / 457.7 MB, free: 44.71 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.0007614/0.1751, allocations: 1.401 MB / 459.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.1756, allocations: 0.6745 MB / 459.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1757, allocations: 0 / 459.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.1761, allocations: 0.5103 MB / 460.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.1766, allocations: 92.41 kB / 460.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.1796, allocations: 4.201 MB / 464.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.1797, allocations: 266.5 kB / 464.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.1798, allocations: 67.73 kB / 464.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.18, allocations: 164.5 kB / 465 MB, free: 39.94 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.18, allocations: 0 / 465 MB, free: 39.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.2046, allocations: 10.64 MB / 475.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.646, allocations: 14.44 kB / 475.7 MB, free: 38.28 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSystems_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_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.612029870040715] Failed to read output from testmodel.py, exit status != 0: 7.733017098158598 7.746803752 7.734510491 Calling exit ...