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.001303/0.001303, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00153/0.00153, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.1907/0.1907, allocations: 38.54 MB / 352.5 MB, free: 12.52 MB / 286.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.002101/0.002101, allocations: 63.91 kB / 492.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 62.46 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.009251/0.3265, allocations: 5.49 MB / 0.5474 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.3297, allocations: 1.191 MB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.3301, allocations: 20.75 kB / 0.5486 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.3306, allocations: 101.2 kB / 0.5486 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.3317, allocations: 322.3 kB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.3322, allocations: 146.6 kB / 0.5491 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.3335, allocations: 0.726 MB / 0.5498 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.3338, allocations: 131.2 kB / 0.5499 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.3346, allocations: 335.5 kB / 0.5502 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.3353, allocations: 393 kB / 0.5506 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.3353, allocations: 41.06 kB / 0.5507 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.3354, allocations: 40.94 kB / 0.5507 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.3357, allocations: 200.4 kB / 0.5509 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.336, allocations: 260.9 kB / 0.5511 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000803/0.3368, allocations: 0.5539 MB / 0.5517 GB, free: 9.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3368, allocations: 1.156 kB / 0.5517 GB, free: 9.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3368, allocations: 0 / 0.5517 GB, free: 9.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3369, allocations: 0 / 0.5517 GB, free: 9.117 MB / 398.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.001805/0.3387, allocations: 0.7713 MB / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3387, allocations: 13.09 kB / 0.5524 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.3388, allocations: 76.34 kB / 0.5525 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3389, allocations: 62.66 kB / 0.5526 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008188/0.3398, allocations: 378.9 kB / 0.5529 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.3398, allocations: 33.12 kB / 0.553 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.3399, allocations: 40.08 kB / 0.553 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008641/0.3408, allocations: 483.1 kB / 0.5535 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3408, allocations: 3.938 kB / 0.5535 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.3408, allocations: 15.56 kB / 0.5535 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.3409, allocations: 30.69 kB / 0.5535 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.3416, allocations: 362.7 kB / 0.5539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.3444, allocations: 1.678 MB / 0.5555 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.3451, allocations: 304.2 kB / 0.5558 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.3455, allocations: 199.2 kB / 0.556 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3455, allocations: 6.422 kB / 0.556 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004927/0.346, allocations: 282 kB / 0.5563 GB, free: 5.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.346, allocations: 0 / 0.5563 GB, free: 5.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002661/0.3487, allocations: 1.184 MB / 0.5574 GB, free: 4.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3488, allocations: 140.5 kB / 0.5576 GB, free: 4.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.3493, allocations: 369.6 kB / 0.5579 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.3493, allocations: 37.83 kB / 0.5579 GB, free: 3.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.3495, allocations: 256.5 kB / 0.5582 GB, free: 3.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3496, allocations: 123 kB / 0.5583 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.3498, allocations: 90.14 kB / 0.5584 GB, free: 3.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.35, allocations: 346.8 kB / 0.5587 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.3502, allocations: 136.9 kB / 0.5588 GB, free: 2.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.3506, allocations: 251.5 kB / 0.5591 GB, free: 2.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.3512, allocations: 445.4 kB / 0.5595 GB, free: 2.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3512, allocations: 0 / 0.5595 GB, free: 2.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001019/0.3522, allocations: 0.5427 MB / 0.56 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.3523, allocations: 29.7 kB / 0.5601 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.3523, allocations: 4 kB / 0.5601 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.3527, allocations: 94 kB / 0.5602 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.353, allocations: 67.91 kB / 0.5602 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.3559, allocations: 2.793 MB / 0.563 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.3563, allocations: 19.98 kB / 0.563 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.3563, allocations: 16 kB / 0.563 GB, free: 14.27 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.0004178/0.3568, allocations: 247.3 kB / 0.5632 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.3569, allocations: 47.7 kB / 0.5633 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.3579, allocations: 0.4964 MB / 0.5638 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3579, allocations: 4 kB / 0.5638 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3579, allocations: 3.938 kB / 0.5638 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3579, allocations: 0 / 0.5638 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.3597, allocations: 1.025 MB / 0.5648 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3597, allocations: 4 kB / 0.5648 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.3599, allocations: 35.98 kB / 0.5648 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.3602, allocations: 89.53 kB / 0.5649 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.3603, allocations: 11.98 kB / 0.5649 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/0.3631, allocations: 2.808 MB / 0.5676 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.3631, allocations: 3.984 kB / 0.5676 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3644, allocations: 0.7656 MB / 0.5684 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3645, allocations: 43.73 kB / 0.5684 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.3646, allocations: 15.94 kB / 0.5685 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.3649, allocations: 24.11 kB / 0.5685 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.365, allocations: 35.88 kB / 0.5685 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.365, allocations: 15.98 kB / 0.5685 GB, free: 8.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.3653, allocations: 259.2 kB / 0.5688 GB, free: 7.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3653, allocations: 0 / 0.5688 GB, free: 7.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005853/0.3659, allocations: 112 kB / 0.5689 GB, free: 7.879 MB / 414.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.001665/0.3676, allocations: 1.33 MB / 0.5702 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3687, allocations: 0.6102 MB / 0.5708 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3687, allocations: 0 / 0.5708 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.3694, allocations: 481.6 kB / 0.5712 GB, free: 5.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.3701, allocations: 92.05 kB / 0.5713 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.3766, allocations: 4.143 MB / 0.5754 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.3771, allocations: 0.8625 MB / 0.5762 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000284/0.3774, allocations: 75.34 kB / 0.5763 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.3777, allocations: 159.4 kB / 0.5764 GB, free: 15.77 MB / 430.1 MB Notification: Performance of SimCode: time 1.512e-06/0.3777, allocations: 0 / 0.5764 GB, free: 15.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.4299, allocations: 9.868 MB / 0.5861 GB, free: 6.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.53, allocations: 17.33 kB / 0.5861 GB, free: 6.039 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.405158629000653] Failed to read output from testmodel.py, exit status != 0: 12.65286407199892 12.679927296 12.338166302 Calling exit ...