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.001338/0.001338, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001402/0.001402, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.509/1.509, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1878/0.1878, allocations: 38.51 MB / 348.7 MB, free: 2.613 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="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: 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.002025/0.002025, allocations: 67.88 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1391, allocations: 62.42 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.008248/0.1473, allocations: 5.368 MB / 0.5419 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.15, allocations: 1.196 MB / 0.5431 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.1504, allocations: 23.81 kB / 0.5431 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.1509, allocations: 95.19 kB / 0.5432 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000965/0.1518, allocations: 318.4 kB / 0.5435 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.1523, allocations: 147.8 kB / 0.5436 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.1533, allocations: 0.7203 MB / 0.5443 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.1536, allocations: 156.8 kB / 0.5445 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007172/0.1544, allocations: 330.6 kB / 0.5448 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.155, allocations: 386.6 kB / 0.5452 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.1551, allocations: 40 kB / 0.5452 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.1552, allocations: 40 kB / 0.5453 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.1555, allocations: 207.4 kB / 0.5455 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.1558, allocations: 262.7 kB / 0.5457 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00076/0.1565, allocations: 0.5486 MB / 0.5462 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1565, allocations: 0 / 0.5462 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1565, allocations: 3.938 kB / 0.5462 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1565, allocations: 0 / 0.5462 GB, free: 13.73 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.001834/0.1584, allocations: 0.846 MB / 0.5471 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1584, allocations: 12.03 kB / 0.5471 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.1585, allocations: 74.72 kB / 0.5472 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1586, allocations: 56.56 kB / 0.5472 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.1595, allocations: 452.9 kB / 0.5476 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.1595, allocations: 32.88 kB / 0.5477 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.1596, allocations: 40 kB / 0.5477 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008676/0.1605, allocations: 482.5 kB / 0.5482 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1605, allocations: 4 kB / 0.5482 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.1605, allocations: 16 kB / 0.5482 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.1606, allocations: 28.62 kB / 0.5482 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.1614, allocations: 366.6 kB / 0.5486 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.1641, allocations: 1.711 MB / 0.5502 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.1648, allocations: 394.3 kB / 0.5506 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.1652, allocations: 185.7 kB / 0.5508 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.1653, allocations: 4 kB / 0.5508 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004722/0.1657, allocations: 279.7 kB / 0.5511 GB, free: 8.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.1657, allocations: 0 / 0.5511 GB, free: 8.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002584/0.1683, allocations: 1.406 MB / 0.5524 GB, free: 6.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.1684, allocations: 140.5 kB / 0.5526 GB, free: 6.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.1689, allocations: 377.6 kB / 0.5529 GB, free: 6.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.1689, allocations: 33.7 kB / 0.553 GB, free: 6.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.1692, allocations: 256.6 kB / 0.5532 GB, free: 6.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1693, allocations: 119 kB / 0.5533 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1694, allocations: 82.2 kB / 0.5534 GB, free: 5.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.1696, allocations: 358.7 kB / 0.5537 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.1699, allocations: 137 kB / 0.5539 GB, free: 5.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.1703, allocations: 252.1 kB / 0.5541 GB, free: 5.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/0.1709, allocations: 457.2 kB / 0.5545 GB, free: 4.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1709, allocations: 4 kB / 0.5545 GB, free: 4.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001003/0.1719, allocations: 0.5277 MB / 0.5551 GB, free: 4.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.1719, allocations: 37.77 kB / 0.5551 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1719, allocations: 4 kB / 0.5551 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.1723, allocations: 77.61 kB / 0.5552 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.1726, allocations: 71.89 kB / 0.5552 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.1754, allocations: 3.004 MB / 0.5582 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.1758, allocations: 23.98 kB / 0.5582 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.1758, allocations: 19.94 kB / 0.5582 GB, free: 0.5586 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.0003566/0.1762, allocations: 252 kB / 0.5585 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.611e-05/0.1762, allocations: 47.7 kB / 0.5585 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.1772, allocations: 0.4927 MB / 0.559 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1772, allocations: 4 kB / 0.559 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1772, allocations: 7.938 kB / 0.559 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1772, allocations: 0 / 0.559 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.179, allocations: 1.053 MB / 0.56 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.179, allocations: 11.98 kB / 0.56 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1792, allocations: 31.98 kB / 0.5601 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.1795, allocations: 97.55 kB / 0.5602 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.1795, allocations: 12 kB / 0.5602 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.1822, allocations: 3 MB / 0.5631 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.1822, allocations: 7.969 kB / 0.5631 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1835, allocations: 0.7656 MB / 0.5639 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1836, allocations: 120.8 kB / 0.564 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.1837, allocations: 19.91 kB / 0.564 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.1839, allocations: 23.98 kB / 0.564 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.184, allocations: 27.95 kB / 0.564 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.1841, allocations: 16 kB / 0.5641 GB, free: 10.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.1844, allocations: 259.2 kB / 0.5643 GB, free: 9.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1844, allocations: 0 / 0.5643 GB, free: 9.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.1849, allocations: 112 kB / 0.5644 GB, free: 9.773 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.001687/0.1866, allocations: 1.33 MB / 0.5657 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.1878, allocations: 0.6143 MB / 0.5663 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1878, allocations: 0 / 0.5663 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.1885, allocations: 481.2 kB / 0.5668 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.1892, allocations: 100.1 kB / 0.5669 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/0.1954, allocations: 4.12 MB / 0.5709 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.196, allocations: 0.8704 MB / 0.5717 GB, free: 1.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.1963, allocations: 67.36 kB / 0.5718 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.1965, allocations: 163.4 kB / 0.572 GB, free: 1.684 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1965, allocations: 0 / 0.572 GB, free: 1.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04768/0.2442, allocations: 9.56 MB / 0.5813 GB, free: 8.266 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.73, allocations: 4 kB / 0.5813 GB, free: 8.262 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 & 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 sys.exit(0), Time elapsed: 13.92114605900133] Failed to read output from testmodel.py, exit status != 0: 10.820925663996604 11.048831521 10.889039184 Calling exit ...