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.002312/0.002312, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002053/0.002053, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3119/0.3119, allocations: 29.42 MB / 290.5 MB, free: 2.426 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.647e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.008189/0.008215, allocations: 5.359 MB / 374.2 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.01084, allocations: 1.137 MB / 375.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.01109, allocations: 23.81 kB / 375.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.0115, allocations: 95.17 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.0126, allocations: 326 kB / 375.8 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.01298, allocations: 155.6 kB / 376 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009617/0.01394, allocations: 0.7434 MB / 376.7 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.01422, allocations: 117.3 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.01498, allocations: 442.6 kB / 377.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006598/0.01564, allocations: 347.1 kB / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.01573, allocations: 44 kB / 377.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.01585, allocations: 40 kB / 377.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.01614, allocations: 223.3 kB / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.01643, allocations: 183.6 kB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008199/0.01725, allocations: 0.5529 MB / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01725, allocations: 0 / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01725, allocations: 0 / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.01726, allocations: 0 / 378.6 MB, free: 1.516 MB / 346.7 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.001761/0.01902, allocations: 0.8975 MB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01906, allocations: 12.03 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.01925, allocations: 80.61 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.02006, allocations: 391.7 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.02011, allocations: 33.38 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.0202, allocations: 32.38 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008429/0.02104, allocations: 455 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.02106, allocations: 0 / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.0211, allocations: 16 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.02123, allocations: 32.62 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.0218, allocations: 260.4 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.0247, allocations: 1.852 MB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.02563, allocations: 303.3 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.02621, allocations: 233 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.02624, allocations: 4 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005065/0.02675, allocations: 308.7 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.02675, allocations: 0 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002494/0.02924, allocations: 1.123 MB / 384.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.02936, allocations: 136.5 kB / 384.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.02994, allocations: 462.6 kB / 385.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.02998, allocations: 33.7 kB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.0303, allocations: 331.2 kB / 385.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.03044, allocations: 123.3 kB / 385.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.03061, allocations: 103.7 kB / 385.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003655/0.03097, allocations: 0.5547 MB / 386.3 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.03122, allocations: 114.7 kB / 386.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.03163, allocations: 297.3 kB / 386.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.03227, allocations: 433.3 kB / 387.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.03227, allocations: 0 / 387.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009513/0.03322, allocations: 0.4955 MB / 387.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.03327, allocations: 29.7 kB / 387.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.03329, allocations: 7.938 kB / 387.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.03363, allocations: 71.75 kB / 387.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.03395, allocations: 75.89 kB / 387.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.03755, allocations: 3.577 MB / 391.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.03787, allocations: 27.92 kB / 391.4 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.03791, allocations: 16 kB / 391.5 MB, free: 3.801 MB / 362.7 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.0003265/0.03823, allocations: 234.1 kB / 391.7 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.03833, allocations: 55.77 kB / 391.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009972/0.03933, allocations: 476.1 kB / 392.2 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.03934, allocations: 8.062 kB / 392.2 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.03934, allocations: 0 / 392.2 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.03935, allocations: 7.984 kB / 392.2 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.04112, allocations: 0.9684 MB / 393.2 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.04112, allocations: 0 / 393.2 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.04134, allocations: 47.91 kB / 393.2 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.04165, allocations: 75.34 kB / 393.3 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.04169, allocations: 15.98 kB / 393.3 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/0.0451, allocations: 3.577 MB / 396.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.04511, allocations: 4 kB / 396.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.04653, allocations: 0.7882 MB / 397.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.04665, allocations: 47.64 kB / 397.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.04672, allocations: 15.94 kB / 397.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.04696, allocations: 15.98 kB / 397.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.0471, allocations: 35.94 kB / 397.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.04714, allocations: 16.11 kB / 397.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003916/0.04753, allocations: 291.1 kB / 398.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04753, allocations: 0 / 398.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006564/0.04818, allocations: 116 kB / 398.2 MB, free: 12.61 MB / 378.7 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.0001893/0.04837, allocations: 118.6 kB / 398.3 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.0496, allocations: 0.7531 MB / 399.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.0496, allocations: 0 / 399.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008556/0.05045, allocations: 0.594 MB / 399.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.05107, allocations: 96.45 kB / 399.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.05295, allocations: 0.9055 MB / 400.7 MB, free: 9.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.05327, allocations: 258.3 kB / 400.9 MB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.0535, allocations: 63.34 kB / 401 MB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.05362, allocations: 32.5 kB / 401 MB, free: 9.605 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.05362, allocations: 0 / 401 MB, free: 9.605 MB / 378.7 MB Notification: Performance of Templates: time 0.01391/0.06754, allocations: 5.648 MB / 406.7 MB, free: 4.059 MB / 378.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.98540114692878]