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.001819/0.001819, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00216/0.00216, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1879/0.1879, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.003326/0.003326, allocations: 79.88 kB / 492.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3657, allocations: 62.45 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007848/0.3736, allocations: 5.138 MB / 0.547 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3759, allocations: 1.113 MB / 0.548 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.3761, allocations: 21.03 kB / 0.5481 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.3765, allocations: 92.88 kB / 0.5482 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007504/0.3773, allocations: 326.8 kB / 0.5485 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.3776, allocations: 146.6 kB / 0.5486 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008712/0.3785, allocations: 0.7265 MB / 0.5493 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.3788, allocations: 124 kB / 0.5494 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.3793, allocations: 334.7 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.3799, allocations: 368.6 kB / 0.5501 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.38, allocations: 40.84 kB / 0.5501 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3801, allocations: 41.44 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.3804, allocations: 208.9 kB / 0.5504 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.3806, allocations: 209.6 kB / 0.5506 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007374/0.3814, allocations: 0.5596 MB / 0.5511 GB, free: 9.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3814, allocations: 0 / 0.5511 GB, free: 9.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3814, allocations: 0 / 0.5511 GB, free: 9.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3814, allocations: 0 / 0.5511 GB, free: 9.465 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.001727/0.3831, allocations: 0.777 MB / 0.5519 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3832, allocations: 9.844 kB / 0.5519 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.927e-05/0.3832, allocations: 75.56 kB / 0.552 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.3833, allocations: 58.72 kB / 0.552 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.3841, allocations: 380.1 kB / 0.5524 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.3842, allocations: 43.89 kB / 0.5524 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.3842, allocations: 36.75 kB / 0.5525 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.385, allocations: 0.5049 MB / 0.553 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3851, allocations: 0 / 0.553 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.3851, allocations: 16.38 kB / 0.553 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.3852, allocations: 30.28 kB / 0.553 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006498/0.3858, allocations: 394.5 kB / 0.5534 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.3883, allocations: 1.593 MB / 0.5549 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.389, allocations: 332.9 kB / 0.5553 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.3894, allocations: 222.4 kB / 0.5555 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3894, allocations: 8 kB / 0.5555 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004797/0.3899, allocations: 313.4 kB / 0.5558 GB, free: 5.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.3899, allocations: 0 / 0.5558 GB, free: 5.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002666/0.3926, allocations: 1.258 MB / 0.557 GB, free: 4.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.3927, allocations: 136.5 kB / 0.5571 GB, free: 4.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.3932, allocations: 385.6 kB / 0.5575 GB, free: 3.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.3932, allocations: 41.62 kB / 0.5575 GB, free: 3.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.3934, allocations: 256.5 kB / 0.5578 GB, free: 3.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3935, allocations: 115.1 kB / 0.5579 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3937, allocations: 86.12 kB / 0.558 GB, free: 3.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.3939, allocations: 350.8 kB / 0.5583 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.3942, allocations: 158.6 kB / 0.5585 GB, free: 2.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.3945, allocations: 281.2 kB / 0.5587 GB, free: 2.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.3951, allocations: 441.4 kB / 0.5592 GB, free: 2.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3951, allocations: 4 kB / 0.5592 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008979/0.396, allocations: 0.5639 MB / 0.5597 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.396, allocations: 33.7 kB / 0.5597 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3961, allocations: 4.469 kB / 0.5597 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.3964, allocations: 89.7 kB / 0.5598 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.3966, allocations: 71.84 kB / 0.5599 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.3993, allocations: 2.781 MB / 0.5626 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.3996, allocations: 23.98 kB / 0.5626 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.3997, allocations: 20 kB / 0.5627 GB, free: 14.23 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.0003526/0.4, allocations: 243.2 kB / 0.5629 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.4001, allocations: 47.66 kB / 0.5629 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009933/0.4011, allocations: 0.5373 MB / 0.5635 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.4011, allocations: 4 kB / 0.5635 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4011, allocations: 3.938 kB / 0.5635 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4011, allocations: 7.984 kB / 0.5635 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.4029, allocations: 1.007 MB / 0.5645 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4029, allocations: 0 / 0.5645 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.4031, allocations: 47.91 kB / 0.5645 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.4034, allocations: 85.67 kB / 0.5646 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.4034, allocations: 8 kB / 0.5646 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.4059, allocations: 2.808 MB / 0.5673 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4059, allocations: 0 / 0.5673 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.4072, allocations: 0.847 MB / 0.5682 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.4073, allocations: 35.8 kB / 0.5682 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.4073, allocations: 19.92 kB / 0.5682 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4076, allocations: 15.98 kB / 0.5682 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4077, allocations: 35.94 kB / 0.5683 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.4077, allocations: 15.98 kB / 0.5683 GB, free: 8.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002902/0.408, allocations: 267 kB / 0.5685 GB, free: 7.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.408, allocations: 4.156 kB / 0.5685 GB, free: 7.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.4085, allocations: 112 kB / 0.5686 GB, free: 7.711 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.001599/0.4101, allocations: 1.396 MB / 0.57 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.4113, allocations: 0.6729 MB / 0.5707 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4113, allocations: 0 / 0.5707 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.412, allocations: 0.4983 MB / 0.5711 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.4126, allocations: 99.2 kB / 0.5712 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.419, allocations: 4.269 MB / 0.5754 GB, free: 380 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.4193, allocations: 262.3 kB / 0.5757 GB, free: 92 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.4195, allocations: 67.36 kB / 0.5757 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.4198, allocations: 159.5 kB / 0.5759 GB, free: 15.86 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4198, allocations: 0 / 0.5759 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06299/0.4828, allocations: 10.45 MB / 0.5861 GB, free: 5.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.28, allocations: 17.72 kB / 0.5861 GB, free: 5.609 MB / 430.1 MB " [Timeout remaining time 648] (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.36698440508917] Failed to read output from testmodel.py, exit status != 0: 12.402372183743864 12.426555803 12.04045377 Calling exit ...