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.001235/0.001235, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001453/0.001453, allocations: 210 kB / 24.48 MB, free: 3.938 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.1882/0.1882, allocations: 38.55 MB / 353.2 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: 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.002134/0.002134, allocations: 67.91 kB / 493.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 62.46 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.008102/0.3621, allocations: 5.894 MB / 0.5489 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.3662, allocations: 1.984 MB / 0.5509 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.3667, allocations: 26.84 kB / 0.5509 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.3683, allocations: 0.5152 MB / 0.5514 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.3698, allocations: 0.5028 MB / 0.5519 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3709, allocations: 369.7 kB / 0.5522 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.3723, allocations: 1.073 MB / 0.5533 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.3731, allocations: 416.1 kB / 0.5537 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000949/0.374, allocations: 485 kB / 0.5541 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.375, allocations: 0.5494 MB / 0.5547 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.3752, allocations: 84.41 kB / 0.5548 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.3762, allocations: 0.5073 MB / 0.5553 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004772/0.3767, allocations: 403.1 kB / 0.5556 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005458/0.3772, allocations: 392.3 kB / 0.556 GB, free: 7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.379, allocations: 1.249 MB / 0.5572 GB, free: 5.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.379, allocations: 0 / 0.5572 GB, free: 5.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.379, allocations: 0 / 0.5572 GB, free: 5.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.379, allocations: 0 / 0.5572 GB, free: 5.746 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.002666/0.3817, allocations: 1.192 MB / 0.5584 GB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3817, allocations: 15.98 kB / 0.5584 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.3826, allocations: 168.2 kB / 0.5586 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3838, allocations: 0.5122 MB / 0.5591 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.3839, allocations: 66.36 kB / 0.5591 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.3841, allocations: 88.11 kB / 0.5592 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.3859, allocations: 1.12 MB / 0.5603 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.3859, allocations: 7.938 kB / 0.5603 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3861, allocations: 28 kB / 0.5603 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.3862, allocations: 53.97 kB / 0.5604 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.3879, allocations: 0.9696 MB / 0.5613 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.3938, allocations: 3.821 MB / 0.5651 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.3951, allocations: 0.6913 MB / 0.5658 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.3958, allocations: 443.3 kB / 0.5662 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.3959, allocations: 8.656 kB / 0.5662 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.3969, allocations: 0.6766 MB / 0.5668 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.136e-06/0.397, allocations: 0 / 0.5668 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005084/0.402, allocations: 2.722 MB / 0.5695 GB, free: 8.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.4022, allocations: 153.5 kB / 0.5696 GB, free: 8.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.4028, allocations: 485.7 kB / 0.5701 GB, free: 8.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.4029, allocations: 57.67 kB / 0.5702 GB, free: 8.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.4032, allocations: 392.5 kB / 0.5705 GB, free: 7.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.4034, allocations: 293.6 kB / 0.5708 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.4037, allocations: 187 kB / 0.571 GB, free: 7.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4039, allocations: 390.8 kB / 0.5714 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.4046, allocations: 416.1 kB / 0.5718 GB, free: 6.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.4054, allocations: 0.6458 MB / 0.5724 GB, free: 5.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.407, allocations: 1.071 MB / 0.5734 GB, free: 4.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.407, allocations: 4 kB / 0.5734 GB, free: 4.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003207/0.4102, allocations: 1.535 MB / 0.5749 GB, free: 2.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.4103, allocations: 40.52 kB / 0.575 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002451/0.4127, allocations: 1.151 MB / 0.5761 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.4141, allocations: 428.5 kB / 0.5765 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.4146, allocations: 127.8 kB / 0.5766 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008442/0.423, allocations: 4.967 MB / 0.5815 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.4237, allocations: 67.92 kB / 0.5816 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.4238, allocations: 40 kB / 0.5816 GB, free: 11.95 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.0005513/0.4244, allocations: 343.1 kB / 0.5819 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.4245, allocations: 83.52 kB / 0.582 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.4266, allocations: 1.163 MB / 0.5831 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-05/0.4267, allocations: 19.94 kB / 0.5832 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4267, allocations: 3.984 kB / 0.5832 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4267, allocations: 7.984 kB / 0.5832 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.4303, allocations: 1.937 MB / 0.5851 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4303, allocations: 4.062 kB / 0.5851 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.431, allocations: 119.8 kB / 0.5852 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.4311, allocations: 82.48 kB / 0.5853 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.4312, allocations: 23.98 kB / 0.5853 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.4344, allocations: 3.839 MB / 0.589 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4344, allocations: 8.094 kB / 0.589 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.4374, allocations: 1.843 MB / 0.5908 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.4376, allocations: 67.56 kB / 0.5909 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4377, allocations: 24 kB / 0.5909 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/0.4382, allocations: 51.88 kB / 0.591 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.4384, allocations: 88.78 kB / 0.5911 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.4385, allocations: 24 kB / 0.5911 GB, free: 1.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004226/0.4389, allocations: 327.1 kB / 0.5914 GB, free: 1.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4389, allocations: 0 / 0.5914 GB, free: 1.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009219/0.4398, allocations: 256 kB / 0.5916 GB, free: 1.18 MB / 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.0002653/0.4401, allocations: 157.7 kB / 0.5918 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.4426, allocations: 1.38 MB / 0.5931 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.4426, allocations: 4 kB / 0.5931 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.4439, allocations: 0.9088 MB / 0.594 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.4446, allocations: 130.3 kB / 0.5941 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.4479, allocations: 1.93 MB / 0.596 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.4484, allocations: 434.5 kB / 0.5964 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.4487, allocations: 67.42 kB / 0.5965 GB, free: 12 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4487, allocations: 4 kB / 0.5965 GB, free: 12 MB / 446.1 MB Notification: Performance of Templates: time 0.02533/0.474, allocations: 17 MB / 0.6131 GB, free: 11 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: 10.77977645676583] Failed to read output from testmodel.py, exit status != 0: 0.48344045924022794 0.4983094 0.115961595 Calling exit ...