Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001115/0.001115, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008205/0.0008205, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8917/0.8917, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2114/0.2114, allocations: 29.41 MB / 290.1 MB, free: 2.457 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.AC3ph.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.634e-05, allocations: 2.844 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.004727/0.004743, allocations: 5.874 MB / 436.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.007286, allocations: 1.99 MB / 438.1 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.007615, allocations: 23.81 kB / 438.1 MB, free: 5.652 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.008541, allocations: 0.5121 MB / 438.6 MB, free: 5.141 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009492/0.009491, allocations: 0.5205 MB / 439.1 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.01011, allocations: 382.9 kB / 439.5 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000806/0.01091, allocations: 1.095 MB / 440.6 MB, free: 3.145 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.0114, allocations: 416.4 kB / 441 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.01209, allocations: 0.635 MB / 441.6 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.0126, allocations: 0.5065 MB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.224e-05/0.01269, allocations: 87.94 kB / 442.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.01326, allocations: 0.5031 MB / 442.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.01353, allocations: 418.9 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.01378, allocations: 335.2 kB / 443.5 MB, free: 260 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1567/0.1705, allocations: 1.289 MB / 444.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1705, allocations: 6.969 kB / 444.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1705, allocations: 0 / 444.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.1705, allocations: 0 / 444.8 MB, free: 45.12 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.001439/0.172, allocations: 1.179 MB / 446 MB, free: 44.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.172, allocations: 16.8 kB / 446 MB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.608e-05/0.1721, allocations: 130 kB / 446.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.1726, allocations: 168.6 kB / 446.3 MB, free: 44.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.1731, allocations: 0.5176 MB / 446.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.1732, allocations: 60.34 kB / 446.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1733, allocations: 83.69 kB / 446.9 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.1742, allocations: 1.116 MB / 448 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1742, allocations: 6.5 kB / 448 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.1742, allocations: 38.92 kB / 448.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.1743, allocations: 47 kB / 448.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/0.1751, allocations: 0.9711 MB / 449.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.1776, allocations: 3.935 MB / 453 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.1782, allocations: 0.683 MB / 453.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.1786, allocations: 437.3 kB / 454.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.1786, allocations: 14.09 kB / 454.2 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.1791, allocations: 0.6766 MB / 454.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.425e-06/0.1791, allocations: 0 / 454.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.00234/0.1814, allocations: 2.731 MB / 457.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1815, allocations: 149.9 kB / 457.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.1817, allocations: 486.6 kB / 458.2 MB, free: 39.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.1818, allocations: 48.05 kB / 458.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1819, allocations: 399.2 kB / 458.6 MB, free: 39.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.182, allocations: 292.9 kB / 458.9 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1821, allocations: 187.7 kB / 459.1 MB, free: 38.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.1822, allocations: 379.3 kB / 459.5 MB, free: 38.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.1825, allocations: 414.4 kB / 459.9 MB, free: 38.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.1829, allocations: 0.6499 MB / 460.5 MB, free: 38.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.1837, allocations: 1.08 MB / 461.6 MB, free: 37.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1837, allocations: 0 / 461.6 MB, free: 37.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001509/0.1852, allocations: 1.536 MB / 463.1 MB, free: 36.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1852, allocations: 31.67 kB / 463.2 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001145/0.1863, allocations: 1.158 MB / 464.3 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000674/0.187, allocations: 426.9 kB / 464.7 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1872, allocations: 129.9 kB / 464.9 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/0.1911, allocations: 4.99 MB / 469.9 MB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.1913, allocations: 55.42 kB / 469.9 MB, free: 33.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.1914, allocations: 41.52 kB / 470 MB, free: 33.59 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.0002329/0.1916, allocations: 348.2 kB / 470.3 MB, free: 33.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.1917, allocations: 79.05 kB / 470.4 MB, free: 33.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009708/0.1927, allocations: 1.167 MB / 471.5 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.1927, allocations: 14.44 kB / 471.6 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1927, allocations: 3.938 kB / 471.6 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1927, allocations: 3.422 kB / 471.6 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.1944, allocations: 2.059 MB / 473.6 MB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1944, allocations: 3.062 kB / 473.6 MB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.1947, allocations: 123.5 kB / 473.7 MB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.031e-05/0.1948, allocations: 85.95 kB / 473.8 MB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.1948, allocations: 29.8 kB / 473.9 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.1958, allocations: 3.902 MB / 477.8 MB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1958, allocations: 0 / 477.8 MB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.1972, allocations: 1.846 MB / 479.6 MB, free: 27.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.1973, allocations: 66.44 kB / 479.7 MB, free: 27.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.1973, allocations: 32.34 kB / 479.7 MB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1975, allocations: 48 kB / 479.7 MB, free: 27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1977, allocations: 83.55 kB / 479.8 MB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.1977, allocations: 30.22 kB / 479.9 MB, free: 26.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.1979, allocations: 326.4 kB / 480.2 MB, free: 26.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1979, allocations: 0 / 480.2 MB, free: 26.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.1983, allocations: 254.3 kB / 480.4 MB, free: 26.8 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.001731/0.2001, allocations: 2.446 MB / 482.9 MB, free: 25.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.2014, allocations: 1.372 MB / 484.2 MB, free: 24.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2014, allocations: 0 / 484.2 MB, free: 24.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006018/0.202, allocations: 0.9161 MB / 485.2 MB, free: 24.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.2024, allocations: 122.7 kB / 485.3 MB, free: 24.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006526/0.2089, allocations: 7.823 MB / 493.1 MB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.2092, allocations: 445.2 kB / 493.5 MB, free: 19.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.2095, allocations: 193.6 kB / 493.7 MB, free: 19.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.2097, allocations: 290.2 kB / 494 MB, free: 19.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2097, allocations: 0 / 494 MB, free: 19.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.2474, allocations: 19.67 MB / 0.5016 GB, free: 13.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.741/8.989, allocations: 0 / 0.5016 GB, free: 13.7 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Elementary_Breaker.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.98840060736984] Failed to read output from testmodel.py, exit status != 0: 9.087900835089386 9.094876762 8.922898568 Calling exit ...