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.001466/0.001466, 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.001723/0.001723, allocations: 211.5 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2466/0.2466, allocations: 38.55 MB / 353.2 MB, free: 12.28 MB / 286.1 MB " [Timeout remaining time 179] 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.00221/0.00221, allocations: 71.89 kB / 493.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2995, allocations: 62.46 MB / 0.5432 GB, free: 392 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007235/0.3067, allocations: 5.133 MB / 0.5482 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.309, allocations: 1.109 MB / 0.5493 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.3093, allocations: 21.69 kB / 0.5493 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.3096, allocations: 96.27 kB / 0.5494 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007519/0.3104, allocations: 323.4 kB / 0.5497 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3108, allocations: 154.6 kB / 0.5498 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000851/0.3116, allocations: 0.7253 MB / 0.5505 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.3119, allocations: 121.4 kB / 0.5507 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.3124, allocations: 337.8 kB / 0.551 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/0.313, allocations: 373.4 kB / 0.5513 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.613e-05/0.3131, allocations: 40.38 kB / 0.5514 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3132, allocations: 45.06 kB / 0.5514 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.3134, allocations: 204.8 kB / 0.5516 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.3137, allocations: 208.9 kB / 0.5518 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.3144, allocations: 0.5634 MB / 0.5524 GB, free: 9.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3144, allocations: 1.281 kB / 0.5524 GB, free: 9.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3144, allocations: 0 / 0.5524 GB, free: 9.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3144, allocations: 0 / 0.5524 GB, free: 9.605 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.001664/0.3161, allocations: 0.7694 MB / 0.5531 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3161, allocations: 9.25 kB / 0.5531 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3162, allocations: 58.5 kB / 0.5532 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.317, allocations: 383.5 kB / 0.5535 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3171, allocations: 32.78 kB / 0.5536 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/0.3171, allocations: 36.12 kB / 0.5536 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008409/0.318, allocations: 0.509 MB / 0.5541 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.318, allocations: 1.25 kB / 0.5541 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.318, allocations: 19.62 kB / 0.5541 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.3182, allocations: 29.31 kB / 0.5542 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.3188, allocations: 395 kB / 0.5545 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.3214, allocations: 1.525 MB / 0.556 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.3221, allocations: 346.2 kB / 0.5563 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.3225, allocations: 219.4 kB / 0.5566 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3225, allocations: 4 kB / 0.5566 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005183/0.3231, allocations: 313.4 kB / 0.5569 GB, free: 5.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.3231, allocations: 0 / 0.5569 GB, free: 5.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002574/0.3256, allocations: 1.261 MB / 0.5581 GB, free: 4.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.3257, allocations: 144.4 kB / 0.5582 GB, free: 4.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.3262, allocations: 381.5 kB / 0.5586 GB, free: 3.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.3263, allocations: 33.7 kB / 0.5586 GB, free: 3.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.3265, allocations: 256.6 kB / 0.5589 GB, free: 3.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3266, allocations: 119 kB / 0.559 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3267, allocations: 82.25 kB / 0.5591 GB, free: 3.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3269, allocations: 358.8 kB / 0.5594 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.3272, allocations: 162.5 kB / 0.5596 GB, free: 2.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.3276, allocations: 277.2 kB / 0.5598 GB, free: 2.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.3282, allocations: 445.4 kB / 0.5602 GB, free: 2.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3282, allocations: 0 / 0.5602 GB, free: 2.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009821/0.3292, allocations: 0.5639 MB / 0.5608 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.3292, allocations: 40.5 kB / 0.5608 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.3292, allocations: 4 kB / 0.5608 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.3295, allocations: 81.67 kB / 0.5609 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.3298, allocations: 72.28 kB / 0.561 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.3324, allocations: 2.751 MB / 0.5637 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.3327, allocations: 23.98 kB / 0.5637 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3328, allocations: 16.31 kB / 0.5637 GB, free: 14.34 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.0003192/0.3331, allocations: 243.3 kB / 0.5639 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.3331, allocations: 47.66 kB / 0.564 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009606/0.3341, allocations: 0.5333 MB / 0.5645 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3341, allocations: 7.984 kB / 0.5645 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3341, allocations: 4 kB / 0.5645 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3341, allocations: 0 / 0.5645 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.3357, allocations: 0.9571 MB / 0.5655 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3358, allocations: 0 / 0.5655 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3359, allocations: 39.92 kB / 0.5655 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.3362, allocations: 85.58 kB / 0.5656 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.3362, allocations: 12 kB / 0.5656 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.3388, allocations: 2.755 MB / 0.5683 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3388, allocations: 0 / 0.5683 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.3401, allocations: 0.8469 MB / 0.5691 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3402, allocations: 36.11 kB / 0.5691 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.3402, allocations: 23.98 kB / 0.5692 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.3405, allocations: 15.98 kB / 0.5692 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3406, allocations: 31.94 kB / 0.5692 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.3406, allocations: 16 kB / 0.5692 GB, free: 8.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.3409, allocations: 263.1 kB / 0.5695 GB, free: 8.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3409, allocations: 0 / 0.5695 GB, free: 8.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000529/0.3415, allocations: 123.9 kB / 0.5696 GB, free: 7.969 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.0001548/0.3416, allocations: 111.8 kB / 0.5697 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.3427, allocations: 0.6751 MB / 0.5704 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3427, allocations: 0 / 0.5704 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007301/0.3434, allocations: 0.4993 MB / 0.5708 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.344, allocations: 87.39 kB / 0.5709 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3459, allocations: 1.091 MB / 0.572 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3462, allocations: 258.3 kB / 0.5722 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3463, allocations: 35.42 kB / 0.5723 GB, free: 5.043 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3463, allocations: 4 kB / 0.5723 GB, free: 5.039 MB / 414.1 MB Notification: Performance of Templates: time 0.01395/0.3602, allocations: 9.469 MB / 0.5815 GB, free: 11.58 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: 9.393793398980051] Failed to read output from testmodel.py, exit status != 0: 0.3702405015937984 0.38544869800000003 0.06766209200000001 Calling exit ...