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.001902/0.001902, allocations: 115.8 kB / 20.44 MB, free: 1.324 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.001676/0.001676, allocations: 211 kB / 23.74 MB, free: 4.543 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.969 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.1899/0.1899, allocations: 38.52 MB / 352.5 MB, free: 12.54 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.002941/0.002941, allocations: 63.91 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3538, allocations: 62.47 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007336/0.3611, allocations: 5.487 MB / 0.5474 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.3633, allocations: 1.198 MB / 0.5485 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.3636, allocations: 20.94 kB / 0.5486 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.3639, allocations: 88.97 kB / 0.5486 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000733/0.3647, allocations: 326.7 kB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.365, allocations: 145.5 kB / 0.5491 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008669/0.3659, allocations: 0.7273 MB / 0.5498 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.3662, allocations: 131.4 kB / 0.5499 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.3667, allocations: 331.3 kB / 0.5502 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006041/0.3673, allocations: 384.2 kB / 0.5506 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.178e-05/0.3674, allocations: 40.56 kB / 0.5507 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.3674, allocations: 45.31 kB / 0.5507 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.3677, allocations: 216.9 kB / 0.5509 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.368, allocations: 249.6 kB / 0.5511 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.3687, allocations: 0.5535 MB / 0.5517 GB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3687, allocations: 1.531 kB / 0.5517 GB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3687, allocations: 0 / 0.5517 GB, free: 9.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.3687, allocations: 3.984 kB / 0.5517 GB, free: 9.109 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.001656/0.3704, allocations: 0.7682 MB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3704, allocations: 10.28 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.3705, allocations: 72.28 kB / 0.5525 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3706, allocations: 58.53 kB / 0.5526 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.3714, allocations: 386.2 kB / 0.5529 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.3715, allocations: 33.03 kB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/0.3716, allocations: 44.66 kB / 0.553 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/0.3725, allocations: 485.2 kB / 0.5535 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3725, allocations: 5.047 kB / 0.5535 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.3726, allocations: 12.34 kB / 0.5535 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.3727, allocations: 37.31 kB / 0.5535 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.3734, allocations: 363.6 kB / 0.5539 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.3761, allocations: 1.671 MB / 0.5555 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.3768, allocations: 303.6 kB / 0.5558 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.3772, allocations: 187.4 kB / 0.556 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.3773, allocations: 6.25 kB / 0.556 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005378/0.3778, allocations: 283.6 kB / 0.5563 GB, free: 5.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.605e-06/0.3778, allocations: 1.719 kB / 0.5563 GB, free: 5.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002531/0.3803, allocations: 1.186 MB / 0.5574 GB, free: 4.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.3804, allocations: 144.5 kB / 0.5575 GB, free: 4.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.3809, allocations: 373.6 kB / 0.5579 GB, free: 3.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.3809, allocations: 33.7 kB / 0.5579 GB, free: 3.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.3813, allocations: 256.5 kB / 0.5582 GB, free: 3.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3814, allocations: 119.1 kB / 0.5583 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3816, allocations: 86.17 kB / 0.5584 GB, free: 3.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3818, allocations: 362.7 kB / 0.5587 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.382, allocations: 124.9 kB / 0.5588 GB, free: 2.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.3823, allocations: 263.4 kB / 0.5591 GB, free: 2.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.3829, allocations: 445.4 kB / 0.5595 GB, free: 2.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3829, allocations: 0 / 0.5595 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009434/0.3839, allocations: 0.5391 MB / 0.56 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.3839, allocations: 33.7 kB / 0.5601 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.384, allocations: 4 kB / 0.5601 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.3843, allocations: 73.67 kB / 0.5602 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.3845, allocations: 71.84 kB / 0.5602 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.3872, allocations: 2.793 MB / 0.5629 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.3875, allocations: 24.14 kB / 0.563 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.3875, allocations: 23.98 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.0002948/0.3878, allocations: 235.3 kB / 0.5632 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.3879, allocations: 43.72 kB / 0.5633 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009183/0.3888, allocations: 0.4926 MB / 0.5637 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3888, allocations: 4 kB / 0.5637 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3888, allocations: 7.938 kB / 0.5638 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.3888, allocations: 3.984 kB / 0.5638 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.3905, allocations: 1.033 MB / 0.5648 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3905, allocations: 0 / 0.5648 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3907, allocations: 43.86 kB / 0.5648 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/0.391, allocations: 89.62 kB / 0.5649 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.391, allocations: 12 kB / 0.5649 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/0.3937, allocations: 2.8 MB / 0.5676 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3937, allocations: 4.031 kB / 0.5676 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.395, allocations: 0.7774 MB / 0.5684 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-05/0.3951, allocations: 35.75 kB / 0.5684 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.3952, allocations: 19.94 kB / 0.5685 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3954, allocations: 19.97 kB / 0.5685 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.3955, allocations: 31.94 kB / 0.5685 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.3955, allocations: 16.06 kB / 0.5685 GB, free: 8.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003151/0.3958, allocations: 259.2 kB / 0.5688 GB, free: 7.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3958, allocations: 3.938 kB / 0.5688 GB, free: 7.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.3964, allocations: 116 kB / 0.5689 GB, free: 7.875 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.001632/0.398, allocations: 1.326 MB / 0.5702 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.399, allocations: 0.6149 MB / 0.5708 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.399, allocations: 0 / 0.5708 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007289/0.3998, allocations: 476.5 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.0005981/0.4004, allocations: 89.62 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.005951/0.4063, allocations: 4.143 MB / 0.5754 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.4069, allocations: 0.8625 MB / 0.5762 GB, free: 0 / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.4072, allocations: 67.34 kB / 0.5763 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.4074, allocations: 163.4 kB / 0.5764 GB, free: 15.77 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4074, allocations: 4 kB / 0.5764 GB, free: 15.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04683/0.4542, allocations: 9.867 MB / 0.5861 GB, free: 6.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.59, allocations: 16.81 kB / 0.5861 GB, free: 6.043 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 & /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 sys.exit(0), Time elapsed: 15.488340712850913] Failed to read output from testmodel.py, exit status != 0: 12.71316444198601 12.741402822 12.367318313 Calling exit ...