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.001348/0.001348, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001455/0.001455, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1871/0.1871, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.002086/0.002086, allocations: 67.91 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3598, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007558/0.3673, allocations: 5.136 MB / 0.547 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3695, allocations: 1.113 MB / 0.548 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.3697, allocations: 22.03 kB / 0.5481 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.3701, allocations: 92.19 kB / 0.5482 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008367/0.371, allocations: 327.7 kB / 0.5485 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.3714, allocations: 146.7 kB / 0.5486 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008959/0.3723, allocations: 0.7254 MB / 0.5493 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.3725, allocations: 123.7 kB / 0.5494 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005273/0.373, allocations: 339 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.3736, allocations: 377 kB / 0.5501 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.3737, allocations: 40.38 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3738, allocations: 41.81 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.374, allocations: 200.2 kB / 0.5504 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.3743, allocations: 221.1 kB / 0.5506 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000689/0.375, allocations: 0.5565 MB / 0.5511 GB, free: 9.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.84e-05/0.375, allocations: 0 / 0.5511 GB, free: 9.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.375, allocations: 0 / 0.5511 GB, free: 9.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.375, allocations: 4 kB / 0.5511 GB, free: 9.457 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.001695/0.3767, allocations: 0.7696 MB / 0.5519 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3768, allocations: 9.656 kB / 0.5519 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.67e-05/0.3769, allocations: 71.69 kB / 0.552 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.377, allocations: 71.45 kB / 0.552 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.3778, allocations: 379.5 kB / 0.5524 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.3778, allocations: 31.86 kB / 0.5524 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.3779, allocations: 36.66 kB / 0.5525 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009681/0.3789, allocations: 0.5052 MB / 0.553 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.3789, allocations: 3.938 kB / 0.553 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.379, allocations: 20.34 kB / 0.553 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.3791, allocations: 30.06 kB / 0.553 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.3799, allocations: 394.1 kB / 0.5534 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.3827, allocations: 1.585 MB / 0.5549 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.3835, allocations: 337 kB / 0.5553 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.3839, allocations: 225 kB / 0.5555 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.384, allocations: 4 kB / 0.5555 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.3845, allocations: 309.4 kB / 0.5558 GB, free: 5.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.3845, allocations: 0 / 0.5558 GB, free: 5.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002581/0.387, allocations: 1.258 MB / 0.557 GB, free: 4.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.3872, allocations: 148.5 kB / 0.5571 GB, free: 4.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.3876, allocations: 381.5 kB / 0.5575 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.3877, allocations: 37.64 kB / 0.5575 GB, free: 3.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.3879, allocations: 264.5 kB / 0.5578 GB, free: 3.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.388, allocations: 111.1 kB / 0.5579 GB, free: 3.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3882, allocations: 82.19 kB / 0.558 GB, free: 3.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3884, allocations: 354.8 kB / 0.5583 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.3886, allocations: 154.6 kB / 0.5585 GB, free: 2.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.389, allocations: 281.2 kB / 0.5587 GB, free: 2.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.3896, allocations: 445.4 kB / 0.5592 GB, free: 2.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3896, allocations: 0 / 0.5592 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009424/0.3905, allocations: 0.5639 MB / 0.5597 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.3906, allocations: 34.17 kB / 0.5597 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3906, allocations: 8 kB / 0.5598 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/0.3909, allocations: 81.67 kB / 0.5598 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.3912, allocations: 67.84 kB / 0.5599 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.3938, allocations: 2.793 MB / 0.5626 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.3941, allocations: 23.98 kB / 0.5626 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.3941, allocations: 16 kB / 0.5627 GB, free: 14.25 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.0003584/0.3945, allocations: 245.1 kB / 0.5629 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.3946, allocations: 51.86 kB / 0.5629 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.3956, allocations: 0.5255 MB / 0.5635 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3956, allocations: 4 kB / 0.5635 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3956, allocations: 7.938 kB / 0.5635 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3956, allocations: 3.984 kB / 0.5635 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.3974, allocations: 1.011 MB / 0.5645 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.3974, allocations: 4 kB / 0.5645 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.3976, allocations: 35.92 kB / 0.5645 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.3978, allocations: 93.59 kB / 0.5646 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3979, allocations: 19.94 kB / 0.5646 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.4005, allocations: 2.793 MB / 0.5673 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4005, allocations: 0 / 0.5673 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.4019, allocations: 0.847 MB / 0.5682 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.402, allocations: 43.72 kB / 0.5682 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.402, allocations: 15.94 kB / 0.5682 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.4023, allocations: 15.98 kB / 0.5682 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4024, allocations: 39.88 kB / 0.5683 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.4024, allocations: 16.17 kB / 0.5683 GB, free: 8.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00034/0.4028, allocations: 263.2 kB / 0.5685 GB, free: 7.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4028, allocations: 0 / 0.5685 GB, free: 7.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00053/0.4033, allocations: 112 kB / 0.5686 GB, free: 7.738 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.001748/0.405, allocations: 1.408 MB / 0.57 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4061, allocations: 0.6686 MB / 0.5707 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4061, allocations: 0 / 0.5707 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.4069, allocations: 0.4944 MB / 0.5712 GB, free: 5.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.4075, allocations: 96.72 kB / 0.5712 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006184/0.4137, allocations: 4.273 MB / 0.5754 GB, free: 400 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.414, allocations: 258.3 kB / 0.5757 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.4143, allocations: 71.36 kB / 0.5757 GB, free: 40 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.4146, allocations: 163.5 kB / 0.5759 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4146, allocations: 0 / 0.5759 GB, free: 15.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/0.4674, allocations: 10.45 MB / 0.5861 GB, free: 5.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.33, allocations: 7.328 kB / 0.5861 GB, free: 5.625 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 & /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.297270158771425] Failed to read output from testmodel.py, exit status != 0: 12.450505048967898 12.47639793 12.095815797 Calling exit ...