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.001287/0.001287, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001409/0.001409, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.1824/0.1824, allocations: 38.52 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001981/0.001981, allocations: 64.09 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2882, allocations: 62.47 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007309/0.2955, allocations: 5.486 MB / 0.5486 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.2979, allocations: 1.194 MB / 0.5498 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.2983, allocations: 22.62 kB / 0.5498 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.2987, allocations: 99.97 kB / 0.5499 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009006/0.2996, allocations: 319.2 kB / 0.5502 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.3, allocations: 149 kB / 0.5503 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.301, allocations: 0.7235 MB / 0.551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.3013, allocations: 131.2 kB / 0.5511 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007261/0.302, allocations: 335.3 kB / 0.5515 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007313/0.3028, allocations: 393.1 kB / 0.5518 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3029, allocations: 41.03 kB / 0.5519 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.303, allocations: 40.81 kB / 0.5519 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.3033, allocations: 209 kB / 0.5521 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.3037, allocations: 256.7 kB / 0.5524 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007677/0.3044, allocations: 0.5467 MB / 0.5529 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3044, allocations: 3.938 kB / 0.5529 GB, free: 9.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3044, allocations: 0 / 0.5529 GB, free: 9.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.3045, allocations: 0 / 0.5529 GB, free: 9.297 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.001853/0.3063, allocations: 0.7759 MB / 0.5537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3064, allocations: 9.156 kB / 0.5537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.3065, allocations: 59 kB / 0.5537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.3073, allocations: 379 kB / 0.5541 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.3074, allocations: 35.84 kB / 0.5541 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.3075, allocations: 41.08 kB / 0.5542 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.3083, allocations: 477.4 kB / 0.5546 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.3083, allocations: 5.031 kB / 0.5546 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.3083, allocations: 20.59 kB / 0.5546 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.3085, allocations: 29.5 kB / 0.5547 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.3091, allocations: 363.7 kB / 0.555 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.3119, allocations: 1.674 MB / 0.5567 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.3125, allocations: 312.2 kB / 0.5569 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.3129, allocations: 189.7 kB / 0.5571 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.313, allocations: 8 kB / 0.5571 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004593/0.3134, allocations: 287.6 kB / 0.5574 GB, free: 5.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.3134, allocations: 0 / 0.5574 GB, free: 5.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002432/0.3159, allocations: 1.184 MB / 0.5586 GB, free: 4.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/0.316, allocations: 136.5 kB / 0.5587 GB, free: 4.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.3164, allocations: 369.6 kB / 0.5591 GB, free: 3.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.3164, allocations: 37.7 kB / 0.5591 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.3167, allocations: 256.5 kB / 0.5593 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3168, allocations: 123.1 kB / 0.5594 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3169, allocations: 86.14 kB / 0.5595 GB, free: 3.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3171, allocations: 350.8 kB / 0.5599 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.3173, allocations: 132.9 kB / 0.56 GB, free: 2.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.3177, allocations: 251.5 kB / 0.5602 GB, free: 2.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.3182, allocations: 445.4 kB / 0.5607 GB, free: 2.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3182, allocations: 0 / 0.5607 GB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009268/0.3192, allocations: 0.5428 MB / 0.5612 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.3192, allocations: 33.7 kB / 0.5612 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3192, allocations: 4 kB / 0.5612 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.3195, allocations: 81.59 kB / 0.5613 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3198, allocations: 68.25 kB / 0.5614 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.3224, allocations: 2.801 MB / 0.5641 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3227, allocations: 19.98 kB / 0.5641 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.3228, allocations: 23.94 kB / 0.5641 GB, free: 14.31 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.0003381/0.3231, allocations: 235.3 kB / 0.5644 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3232, allocations: 47.7 kB / 0.5644 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.3241, allocations: 0.4966 MB / 0.5649 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3241, allocations: 4 kB / 0.5649 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3241, allocations: 0 / 0.5649 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3242, allocations: 3.938 kB / 0.5649 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.3259, allocations: 1.029 MB / 0.5659 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3259, allocations: 0 / 0.5659 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.3261, allocations: 40.02 kB / 0.5659 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.3264, allocations: 93.53 kB / 0.566 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.3264, allocations: 11.98 kB / 0.566 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.3289, allocations: 2.801 MB / 0.5688 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3289, allocations: 3.984 kB / 0.5688 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3301, allocations: 0.7736 MB / 0.5695 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3302, allocations: 43.7 kB / 0.5696 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.3303, allocations: 8 kB / 0.5696 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3306, allocations: 27.86 kB / 0.5696 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3307, allocations: 43.94 kB / 0.5697 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.3307, allocations: 15.98 kB / 0.5697 GB, free: 8.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002973/0.331, allocations: 255.2 kB / 0.5699 GB, free: 8.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.331, allocations: 0 / 0.5699 GB, free: 8.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005389/0.3315, allocations: 112 kB / 0.57 GB, free: 7.922 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.000147/0.3317, allocations: 119.7 kB / 0.5701 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3327, allocations: 0.6172 MB / 0.5707 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3327, allocations: 0 / 0.5707 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.3334, allocations: 477.6 kB / 0.5712 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.334, allocations: 92.19 kB / 0.5713 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3359, allocations: 1.046 MB / 0.5723 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.3364, allocations: 0.8626 MB / 0.5731 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3365, allocations: 43.42 kB / 0.5732 GB, free: 4.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3365, allocations: 0 / 0.5732 GB, free: 4.52 MB / 414.1 MB Notification: Performance of Templates: time 0.01311/0.3496, allocations: 9.277 MB / 0.5823 GB, free: 11.25 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.599253727821633] Failed to read output from testmodel.py, exit status != 0: 0.358422813937068 0.373239955 0.065664183 Calling exit ...