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: 112.2 kB / 21.22 MB, free: 0.75 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.001547/0.001547, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1885/0.1885, allocations: 38.53 MB / 353.2 MB, free: 12.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="cs",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.002032/0.002032, allocations: 66.41 kB / 493.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3794, allocations: 62.47 MB / 0.5428 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.008477/0.3879, allocations: 5.488 MB / 0.5481 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.3906, allocations: 1.194 MB / 0.5493 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.3909, allocations: 22.78 kB / 0.5493 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.3913, allocations: 91.42 kB / 0.5494 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009303/0.3922, allocations: 323.4 kB / 0.5497 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.3928, allocations: 150 kB / 0.5499 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.3939, allocations: 0.7257 MB / 0.5506 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.3942, allocations: 131.6 kB / 0.5507 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006409/0.3948, allocations: 327.1 kB / 0.551 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.3955, allocations: 388.8 kB / 0.5514 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.526e-05/0.3955, allocations: 41.53 kB / 0.5514 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.3956, allocations: 44.28 kB / 0.5515 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.3959, allocations: 208.8 kB / 0.5517 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.3962, allocations: 253.7 kB / 0.5519 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.3969, allocations: 0.5576 MB / 0.5524 GB, free: 9.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3969, allocations: 1.156 kB / 0.5524 GB, free: 9.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3969, allocations: 0 / 0.5524 GB, free: 9.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3969, allocations: 0 / 0.5524 GB, free: 9.129 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.001699/0.3986, allocations: 0.7647 MB / 0.5532 GB, free: 8.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3986, allocations: 10.78 kB / 0.5532 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.359e-05/0.3987, allocations: 9.812 kB / 0.5532 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.643e-05/0.3987, allocations: 79.23 kB / 0.5533 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.3989, allocations: 62.8 kB / 0.5533 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007692/0.3996, allocations: 382.8 kB / 0.5537 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.3997, allocations: 33.06 kB / 0.5537 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.3998, allocations: 36.34 kB / 0.5538 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000841/0.4006, allocations: 489.8 kB / 0.5542 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4006, allocations: 0 / 0.5542 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.4007, allocations: 24.66 kB / 0.5543 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.4008, allocations: 29.59 kB / 0.5543 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.4015, allocations: 364.5 kB / 0.5546 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.4042, allocations: 1.67 MB / 0.5563 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.4049, allocations: 307.1 kB / 0.5566 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.4053, allocations: 194.2 kB / 0.5568 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.4053, allocations: 11.36 kB / 0.5568 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.4058, allocations: 276.1 kB / 0.557 GB, free: 5.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.4058, allocations: 0 / 0.557 GB, free: 5.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002539/0.4084, allocations: 1.187 MB / 0.5582 GB, free: 4.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4085, allocations: 136.5 kB / 0.5583 GB, free: 4.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.409, allocations: 377.6 kB / 0.5587 GB, free: 3.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.409, allocations: 29.7 kB / 0.5587 GB, free: 3.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.4092, allocations: 260.5 kB / 0.559 GB, free: 3.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.4094, allocations: 123 kB / 0.5591 GB, free: 3.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.4095, allocations: 82.19 kB / 0.5591 GB, free: 3.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.4097, allocations: 358.8 kB / 0.5595 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.41, allocations: 128.9 kB / 0.5596 GB, free: 2.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.4103, allocations: 259.5 kB / 0.5599 GB, free: 2.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006356/0.411, allocations: 449.4 kB / 0.5603 GB, free: 2.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.411, allocations: 4 kB / 0.5603 GB, free: 2.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009842/0.412, allocations: 0.535 MB / 0.5608 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.412, allocations: 36.83 kB / 0.5609 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.412, allocations: 4 kB / 0.5609 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.4123, allocations: 73.67 kB / 0.5609 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.4126, allocations: 75.78 kB / 0.561 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.4154, allocations: 2.793 MB / 0.5637 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.4158, allocations: 27.97 kB / 0.5638 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.4158, allocations: 24 kB / 0.5638 GB, free: 14.29 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.0003618/0.4162, allocations: 235.3 kB / 0.564 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.4162, allocations: 47.66 kB / 0.564 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009307/0.4172, allocations: 0.4888 MB / 0.5645 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.4172, allocations: 4 kB / 0.5645 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4172, allocations: 7.938 kB / 0.5645 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4172, allocations: 3.984 kB / 0.5645 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.4189, allocations: 1.025 MB / 0.5655 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4189, allocations: 0 / 0.5655 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.4191, allocations: 43.95 kB / 0.5656 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/0.4193, allocations: 85.59 kB / 0.5657 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.4194, allocations: 15.98 kB / 0.5657 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.4218, allocations: 2.797 MB / 0.5684 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4219, allocations: 4.031 kB / 0.5684 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.4231, allocations: 0.7813 MB / 0.5692 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4233, allocations: 35.75 kB / 0.5692 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.4233, allocations: 23.92 kB / 0.5692 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.4236, allocations: 23.92 kB / 0.5693 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4237, allocations: 40 kB / 0.5693 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.4237, allocations: 8 kB / 0.5693 GB, free: 8.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003162/0.424, allocations: 263.1 kB / 0.5696 GB, free: 8.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.424, allocations: 0 / 0.5696 GB, free: 8.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000566/0.4246, allocations: 116 kB / 0.5697 GB, free: 7.891 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.001687/0.4263, allocations: 1.322 MB / 0.571 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.4276, allocations: 0.6148 MB / 0.5716 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4276, allocations: 0 / 0.5716 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007818/0.4284, allocations: 476.5 kB / 0.572 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/0.4292, allocations: 92.31 kB / 0.5721 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.4362, allocations: 4.143 MB / 0.5761 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.437, allocations: 0.8587 MB / 0.577 GB, free: 24 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004842/0.4375, allocations: 79.34 kB / 0.5771 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.4377, allocations: 163.3 kB / 0.5772 GB, free: 15.79 MB / 430.1 MB Notification: Performance of SimCode: time 3.136e-06/0.4377, allocations: 0 / 0.5772 GB, free: 15.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0405/0.4782, allocations: 9.891 MB / 0.5869 GB, free: 6.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.52, allocations: 23.81 kB / 0.5869 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 & /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.475438841036521] Failed to read output from testmodel.py, exit status != 0: 12.698959917004686 12.724980382 12.323087118 Calling exit ...