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.001291/0.001291, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001445/0.001445, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.539/1.539, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.1837/0.1837, allocations: 38.5 MB / 349.4 MB, free: 2.582 MB / 270.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 83.88 kB / 487.9 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1444, allocations: 62.41 MB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.008338/0.1528, allocations: 5.38 MB / 0.5426 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.1555, allocations: 1.184 MB / 0.5438 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.1559, allocations: 23.81 kB / 0.5438 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1564, allocations: 99.22 kB / 0.5439 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009898/0.1574, allocations: 318.4 kB / 0.5442 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.1579, allocations: 143.7 kB / 0.5443 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.159, allocations: 0.7281 MB / 0.545 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.1594, allocations: 148.8 kB / 0.5452 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007827/0.1601, allocations: 330.7 kB / 0.5455 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007849/0.1609, allocations: 386.6 kB / 0.5459 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.1611, allocations: 40 kB / 0.5459 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1612, allocations: 40 kB / 0.5459 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.1615, allocations: 207.3 kB / 0.5461 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.1619, allocations: 262.7 kB / 0.5464 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008086/0.1627, allocations: 0.5485 MB / 0.5469 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1627, allocations: 4 kB / 0.5469 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1627, allocations: 3.938 kB / 0.5469 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.165e-05/0.1628, allocations: 8 kB / 0.5469 GB, free: 13.7 MB / 414.1 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.002031/0.1648, allocations: 0.8304 MB / 0.5478 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1648, allocations: 12.02 kB / 0.5478 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.857e-05/0.1649, allocations: 17.19 kB / 0.5478 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.165, allocations: 74.7 kB / 0.5479 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.1651, allocations: 56.56 kB / 0.5479 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/0.1659, allocations: 452.6 kB / 0.5483 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.1659, allocations: 29 kB / 0.5484 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.166, allocations: 36 kB / 0.5484 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.1669, allocations: 494.5 kB / 0.5489 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1669, allocations: 4 kB / 0.5489 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.167, allocations: 12 kB / 0.5489 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.1671, allocations: 32.62 kB / 0.5489 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/0.1678, allocations: 366.6 kB / 0.5493 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.1707, allocations: 1.711 MB / 0.5509 GB, free: 9.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.1714, allocations: 382.3 kB / 0.5513 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.1719, allocations: 193.4 kB / 0.5515 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.1719, allocations: 7.984 kB / 0.5515 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.1724, allocations: 283.7 kB / 0.5518 GB, free: 8.461 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.1724, allocations: 0 / 0.5518 GB, free: 8.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002806/0.1752, allocations: 1.398 MB / 0.5531 GB, free: 6.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.1754, allocations: 144.6 kB / 0.5533 GB, free: 6.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.1759, allocations: 373.6 kB / 0.5536 GB, free: 6.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.1759, allocations: 33.7 kB / 0.5537 GB, free: 6.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.1762, allocations: 256.6 kB / 0.5539 GB, free: 6.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1763, allocations: 123 kB / 0.554 GB, free: 5.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1764, allocations: 86.2 kB / 0.5541 GB, free: 5.898 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1766, allocations: 350.8 kB / 0.5544 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1769, allocations: 133 kB / 0.5546 GB, free: 5.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.1772, allocations: 256.1 kB / 0.5548 GB, free: 5.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.1779, allocations: 449.2 kB / 0.5552 GB, free: 4.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1779, allocations: 4 kB / 0.5552 GB, free: 4.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001029/0.1789, allocations: 0.535 MB / 0.5558 GB, free: 4.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.179, allocations: 37.7 kB / 0.5558 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.179, allocations: 4.469 kB / 0.5558 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.1793, allocations: 81.7 kB / 0.5559 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.1797, allocations: 79.77 kB / 0.556 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/0.1828, allocations: 3 MB / 0.5589 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.1832, allocations: 27.92 kB / 0.5589 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.1833, allocations: 16 kB / 0.5589 GB, free: 0.5234 MB / 414.1 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.0004019/0.1837, allocations: 247.3 kB / 0.5592 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.1838, allocations: 47.7 kB / 0.5592 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.1848, allocations: 0.4967 MB / 0.5597 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1848, allocations: 7.984 kB / 0.5597 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1848, allocations: 3.938 kB / 0.5597 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1848, allocations: 0 / 0.5597 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.1864, allocations: 1.049 MB / 0.5607 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.1864, allocations: 4 kB / 0.5607 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1866, allocations: 39.91 kB / 0.5608 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000283/0.1869, allocations: 89.62 kB / 0.5609 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.1869, allocations: 16 kB / 0.5609 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.1897, allocations: 3.007 MB / 0.5638 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1897, allocations: 4.031 kB / 0.5638 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.191, allocations: 0.7733 MB / 0.5646 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1911, allocations: 112.9 kB / 0.5647 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.1912, allocations: 15.94 kB / 0.5647 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.1914, allocations: 23.97 kB / 0.5647 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1916, allocations: 27.95 kB / 0.5647 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.1916, allocations: 19.98 kB / 0.5648 GB, free: 10.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003261/0.1919, allocations: 259.2 kB / 0.565 GB, free: 9.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1919, allocations: 0 / 0.565 GB, free: 9.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005797/0.1925, allocations: 116.1 kB / 0.5651 GB, free: 9.734 MB / 430.1 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.001705/0.1942, allocations: 1.33 MB / 0.5664 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.1954, allocations: 0.6173 MB / 0.567 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1955, allocations: 1 kB / 0.567 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000778/0.1962, allocations: 481.2 kB / 0.5675 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.1969, allocations: 88.38 kB / 0.5676 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.2031, allocations: 4.132 MB / 0.5716 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.2037, allocations: 0.8704 MB / 0.5724 GB, free: 1.871 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.2039, allocations: 67.36 kB / 0.5725 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.2042, allocations: 159.4 kB / 0.5727 GB, free: 1.648 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2042, allocations: 0 / 0.5727 GB, free: 1.648 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.242, allocations: 9.589 MB / 0.582 GB, free: 8.219 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.19, allocations: 9.969 kB / 0.582 GB, free: 8.211 MB / 446.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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: 14.38109171600081] Failed to read output from testmodel.py, exit status != 0: 11.333449368015863 11.550623239 11.385115776 Calling exit ...