Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001274/0.001274, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001396/0.001396, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1823/0.1823, allocations: 38.52 MB / 353.2 MB, free: 12.53 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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") [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.002294/0.002294, allocations: 68.17 kB / 493.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3292, allocations: 62.46 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.008342/0.3376, allocations: 6.397 MB / 0.5495 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.3418, allocations: 2.134 MB / 0.5516 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.3423, allocations: 27.31 kB / 0.5516 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.3438, allocations: 0.541 MB / 0.5521 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.3452, allocations: 0.5066 MB / 0.5526 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.3461, allocations: 367.6 kB / 0.553 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.3475, allocations: 1.075 MB / 0.554 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.3482, allocations: 414.9 kB / 0.5544 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008568/0.349, allocations: 481.2 kB / 0.5549 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008652/0.3499, allocations: 0.5855 MB / 0.5554 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.35, allocations: 83.97 kB / 0.5555 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009553/0.351, allocations: 0.5355 MB / 0.556 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.3514, allocations: 407.2 kB / 0.5564 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.352, allocations: 476.8 kB / 0.5569 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.3536, allocations: 1.235 MB / 0.5581 GB, free: 5.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3536, allocations: 0 / 0.5581 GB, free: 5.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3536, allocations: 0 / 0.5581 GB, free: 5.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3536, allocations: 0 / 0.5581 GB, free: 5.184 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002552/0.3562, allocations: 1.194 MB / 0.5593 GB, free: 3.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3562, allocations: 11.98 kB / 0.5593 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008439/0.3571, allocations: 180.1 kB / 0.5594 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3581, allocations: 0.5161 MB / 0.5599 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/0.3582, allocations: 58.38 kB / 0.56 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.3584, allocations: 88.09 kB / 0.5601 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.36, allocations: 1.076 MB / 0.5611 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3601, allocations: 3.938 kB / 0.5611 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.3601, allocations: 31.98 kB / 0.5612 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.3603, allocations: 57.97 kB / 0.5612 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.3618, allocations: 0.9367 MB / 0.5621 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.3676, allocations: 4.121 MB / 0.5662 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.3688, allocations: 0.6639 MB / 0.5668 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.3694, allocations: 399.5 kB / 0.5672 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.3695, allocations: 16.64 kB / 0.5672 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009401/0.3704, allocations: 0.632 MB / 0.5678 GB, free: 10.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.144e-06/0.3704, allocations: 0 / 0.5678 GB, free: 10.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.004464/0.3749, allocations: 2.617 MB / 0.5704 GB, free: 8.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.375, allocations: 153.5 kB / 0.5705 GB, free: 8.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.3755, allocations: 481.9 kB / 0.571 GB, free: 7.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.3756, allocations: 45.7 kB / 0.571 GB, free: 7.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.3759, allocations: 396.6 kB / 0.5714 GB, free: 7.082 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.3761, allocations: 293.6 kB / 0.5717 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.3764, allocations: 182.9 kB / 0.5719 GB, free: 6.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.3766, allocations: 378.8 kB / 0.5722 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/0.3773, allocations: 394.4 kB / 0.5726 GB, free: 5.844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/0.3782, allocations: 0.6207 MB / 0.5732 GB, free: 5.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.3796, allocations: 1.067 MB / 0.5742 GB, free: 3.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.3796, allocations: 11.98 kB / 0.5743 GB, free: 3.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002998/0.3826, allocations: 1.514 MB / 0.5757 GB, free: 2.422 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.3826, allocations: 38.17 kB / 0.5758 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002369/0.385, allocations: 1.143 MB / 0.5769 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.3863, allocations: 436.5 kB / 0.5773 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3868, allocations: 127.8 kB / 0.5774 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008052/0.3948, allocations: 5.068 MB / 0.5824 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.3955, allocations: 55.95 kB / 0.5824 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.863e-05/0.3956, allocations: 47.97 kB / 0.5825 GB, free: 11.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005246/0.3961, allocations: 351.1 kB / 0.5828 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3962, allocations: 75.56 kB / 0.5829 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.3982, allocations: 1.118 MB / 0.584 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.3982, allocations: 12 kB / 0.584 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3982, allocations: 8 kB / 0.584 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.3982, allocations: 11.91 kB / 0.584 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.4017, allocations: 2.106 MB / 0.5861 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4017, allocations: 0 / 0.5861 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.4023, allocations: 123.9 kB / 0.5862 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/0.4025, allocations: 94.41 kB / 0.5863 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.4025, allocations: 23.98 kB / 0.5863 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/0.4057, allocations: 3.908 MB / 0.5901 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4057, allocations: 0 / 0.5901 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.4084, allocations: 1.773 MB / 0.5918 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.4086, allocations: 63.53 kB / 0.5919 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.4087, allocations: 24.03 kB / 0.5919 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.4092, allocations: 55.94 kB / 0.592 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.4093, allocations: 84.8 kB / 0.5921 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.4094, allocations: 27.98 kB / 0.5921 GB, free: 1.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003883/0.4098, allocations: 323.1 kB / 0.5924 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4098, allocations: 0 / 0.5924 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008644/0.4107, allocations: 252 kB / 0.5926 GB, free: 488 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_a.closed,breaker.breaker_b.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.0002652/0.4109, allocations: 161.7 kB / 0.5928 GB, free: 316 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.4132, allocations: 1.311 MB / 0.5941 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4132, allocations: 8 kB / 0.5941 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.4143, allocations: 0.8721 MB / 0.5949 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.415, allocations: 133 kB / 0.5951 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.418, allocations: 1.889 MB / 0.5969 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.4188, allocations: 1.033 MB / 0.5979 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.419, allocations: 71.42 kB / 0.598 GB, free: 10.85 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.419, allocations: 0 / 0.598 GB, free: 10.85 MB / 446.1 MB Notification: Performance of Templates: time 0.02383/0.4428, allocations: 16.68 MB / 0.6143 GB, free: 10.16 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.7547460810747] Failed to read output from testmodel.py, exit status != 0: 0.4525132840499282 0.466258604 0.10945908600000001 Calling exit ...