Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.0008213/0.0008213, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008059/0.0008059, allocations: 170 kB / 23.95 MB, free: 0.6016 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.8671/0.8671, allocations: 177.1 MB / 204.3 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.2082/0.2082, allocations: 29.4 MB / 290.1 MB, free: 2.461 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.AC3ph.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.429e-05, allocations: 8.047 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.004744/0.004758, allocations: 5.877 MB / 436.1 MB, free: 7.699 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.007172, allocations: 1.986 MB / 438.1 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.007387, allocations: 31.75 kB / 438.1 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008483/0.008235, allocations: 0.5132 MB / 438.6 MB, free: 5.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006837/0.008918, allocations: 0.5166 MB / 439.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.009385, allocations: 374.9 kB / 439.5 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.01004, allocations: 1.095 MB / 440.6 MB, free: 3.176 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.01044, allocations: 428.4 kB / 441 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005047/0.01095, allocations: 0.6194 MB / 441.6 MB, free: 2.125 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.01139, allocations: 0.5182 MB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.01147, allocations: 84 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.01195, allocations: 0.5108 MB / 442.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.0122, allocations: 410.9 kB / 443.1 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.01242, allocations: 343.2 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1607/0.1731, allocations: 1.287 MB / 444.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1731, allocations: 3.219 kB / 444.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1731, allocations: 0 / 444.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1731, allocations: 0 / 444.8 MB, free: 45.15 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001443/0.1746, allocations: 1.191 MB / 446 MB, free: 44.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1746, allocations: 13.61 kB / 446 MB, free: 44.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.1747, allocations: 121.9 kB / 446.1 MB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/0.1752, allocations: 174.8 kB / 446.3 MB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.1758, allocations: 0.5144 MB / 446.8 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.1759, allocations: 53.84 kB / 446.8 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.176, allocations: 87.7 kB / 446.9 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.1769, allocations: 1.121 MB / 448 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1769, allocations: 9.156 kB / 448 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.1769, allocations: 26.25 kB / 448.1 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/0.177, allocations: 54.06 kB / 448.1 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000898/0.1779, allocations: 0.9631 MB / 449.1 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.1804, allocations: 3.945 MB / 453 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.1811, allocations: 0.6793 MB / 453.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.1814, allocations: 438.5 kB / 454.1 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1815, allocations: 13.84 kB / 454.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.182, allocations: 0.6774 MB / 454.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 1.944e-06/0.182, allocations: 0 / 454.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.002417/0.1844, allocations: 2.722 MB / 457.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1845, allocations: 154.2 kB / 457.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1847, allocations: 486.8 kB / 458.2 MB, free: 39.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.1848, allocations: 44.39 kB / 458.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1849, allocations: 400 kB / 458.6 MB, free: 39.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.185, allocations: 294.9 kB / 458.9 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1851, allocations: 179 kB / 459.1 MB, free: 39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.1852, allocations: 383.1 kB / 459.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.1855, allocations: 416.8 kB / 459.9 MB, free: 38.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.1859, allocations: 0.6521 MB / 460.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.1867, allocations: 1.079 MB / 461.6 MB, free: 37.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1867, allocations: 3.188 kB / 461.6 MB, free: 37.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001501/0.1882, allocations: 1.533 MB / 463.1 MB, free: 36.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.1882, allocations: 41.45 kB / 463.2 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00119/0.1894, allocations: 1.15 MB / 464.3 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006874/0.1901, allocations: 438.2 kB / 464.7 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1903, allocations: 120.8 kB / 464.9 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.1943, allocations: 4.988 MB / 469.9 MB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.1946, allocations: 58.14 kB / 469.9 MB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.1946, allocations: 43.53 kB / 470 MB, free: 33.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.1949, allocations: 343.9 kB / 470.3 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.1949, allocations: 77.72 kB / 470.4 MB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.196, allocations: 1.17 MB / 471.5 MB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.196, allocations: 13.56 kB / 471.5 MB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.196, allocations: 3.938 kB / 471.5 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.196, allocations: 5.844 kB / 471.6 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.1978, allocations: 2.062 MB / 473.6 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1978, allocations: 2.969 kB / 473.6 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.1981, allocations: 117.2 kB / 473.7 MB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.1982, allocations: 90.47 kB / 473.8 MB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.1983, allocations: 25.98 kB / 473.8 MB, free: 31.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.1994, allocations: 3.901 MB / 477.7 MB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1994, allocations: 0 / 477.7 MB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.2009, allocations: 1.851 MB / 479.6 MB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.2009, allocations: 65.41 kB / 479.7 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.201, allocations: 25.16 kB / 479.7 MB, free: 27.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2012, allocations: 48.62 kB / 479.7 MB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.2013, allocations: 85.5 kB / 479.8 MB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.2014, allocations: 30.3 kB / 479.8 MB, free: 26.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.2016, allocations: 322.5 kB / 480.2 MB, free: 26.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2016, allocations: 2.938 kB / 480.2 MB, free: 26.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005221/0.2021, allocations: 253.8 kB / 480.4 MB, free: 26.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_a.closed,breaker.breaker_b.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.001814/0.2039, allocations: 2.446 MB / 482.9 MB, free: 25.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.2053, allocations: 1.369 MB / 484.2 MB, free: 24.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2053, allocations: 1.125 kB / 484.2 MB, free: 24.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.2059, allocations: 0.9181 MB / 485.1 MB, free: 24.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.2063, allocations: 129.5 kB / 485.3 MB, free: 24.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007107/0.2134, allocations: 7.822 MB / 493.1 MB, free: 20.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.2137, allocations: 452.6 kB / 493.5 MB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.2141, allocations: 194.1 kB / 493.7 MB, free: 19.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.2143, allocations: 287.2 kB / 494 MB, free: 19.71 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2143, allocations: 0.8438 kB / 494 MB, free: 19.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.2492, allocations: 19.64 MB / 0.5016 GB, free: 13.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.667, allocations: 18 kB / 0.5016 GB, free: 13.74 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.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_AC3ph_Elementary_Breaker.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.554529894143343] Failed to read output from testmodel.py, exit status != 0: 8.765305162407458 8.771830484 8.597319578 Calling exit ...