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.0009756/0.0009756, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.00148/0.00148, allocations: 161 kB / 24.56 MB, free: 8 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 0.9338/0.9338, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2478/0.2478, allocations: 29.41 MB / 290.9 MB, free: 2.434 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 3.326e-06/3.326e-06, allocations: 4 kB / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.469e-05, allocations: 6.312 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.006138/0.006173, allocations: 4.738 MB / 374.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.00834, allocations: 1.153 MB / 375.5 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.008766, allocations: 19.81 kB / 375.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.0092, allocations: 91.3 kB / 375.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008501/0.01005, allocations: 318.1 kB / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.0105, allocations: 155.6 kB / 376.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.01153, allocations: 0.7396 MB / 376.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.0118, allocations: 117.3 kB / 377 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.0131, allocations: 474.7 kB / 377.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.01361, allocations: 315.1 kB / 377.7 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.01367, allocations: 40 kB / 377.8 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.01375, allocations: 40 kB / 377.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.01393, allocations: 227.3 kB / 378 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.01411, allocations: 175.6 kB / 378.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.01461, allocations: 398.6 kB / 378.6 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01461, allocations: 4 kB / 378.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.01462, allocations: 3.938 kB / 378.6 MB, free: 1.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.01463, allocations: 0 / 378.6 MB, free: 1.957 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.001189/0.01582, allocations: 0.8549 MB / 379.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.01586, allocations: 8.031 kB / 379.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.01601, allocations: 88.59 kB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.01655, allocations: 370.7 kB / 379.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.01658, allocations: 37.31 kB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.01664, allocations: 36.38 kB / 380 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.0172, allocations: 411.7 kB / 380.4 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.01722, allocations: 0 / 380.4 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.01725, allocations: 19.94 kB / 380.4 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.01736, allocations: 28.62 kB / 380.4 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.01772, allocations: 206 kB / 380.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.01933, allocations: 1.747 MB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.01975, allocations: 259.4 kB / 382.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.02005, allocations: 197.3 kB / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.02008, allocations: 4.234 kB / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.02042, allocations: 284.7 kB / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.505e-06/0.02043, allocations: 0 / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001553/0.02198, allocations: 1.014 MB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.02206, allocations: 132.5 kB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.02235, allocations: 398.6 kB / 384.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.02238, allocations: 45.81 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.02257, allocations: 303.3 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.02264, allocations: 119 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.02273, allocations: 91.8 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.02288, allocations: 0.5274 MB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.02308, allocations: 86.66 kB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.02328, allocations: 277.1 kB / 386.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.02358, allocations: 365.4 kB / 386.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02359, allocations: 0 / 386.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005712/0.02416, allocations: 447.4 kB / 386.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.0242, allocations: 36.36 kB / 386.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.02421, allocations: 7.938 kB / 386.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.02449, allocations: 63.81 kB / 387 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.02467, allocations: 79.83 kB / 387.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.0266, allocations: 3.503 MB / 390.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.02677, allocations: 12 kB / 390.6 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.0268, allocations: 23.98 kB / 390.6 MB, free: 5.082 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.000172/0.02697, allocations: 222.1 kB / 390.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.02703, allocations: 63.83 kB / 390.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.02781, allocations: 416.2 kB / 391.3 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.02782, allocations: 7.984 kB / 391.3 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02782, allocations: 4 kB / 391.3 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02783, allocations: 0 / 391.3 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008958/0.02873, allocations: 0.8553 MB / 392.1 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02873, allocations: 0 / 392.1 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.02884, allocations: 43.91 kB / 392.2 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.02904, allocations: 75.33 kB / 392.3 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.02907, allocations: 8 kB / 392.3 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.03062, allocations: 3.515 MB / 395.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03062, allocations: 0 / 395.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.03128, allocations: 0.706 MB / 396.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.03133, allocations: 39.72 kB / 396.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.03136, allocations: 15.92 kB / 396.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.03148, allocations: 20.14 kB / 396.6 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.03157, allocations: 39.88 kB / 396.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.03159, allocations: 8 kB / 396.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.03176, allocations: 259.1 kB / 396.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03176, allocations: 0 / 396.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.03212, allocations: 112 kB / 397 MB, free: 14.28 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.0001329/0.03226, allocations: 119.1 kB / 397.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.03295, allocations: 0.6823 MB / 397.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.03295, allocations: 0 / 397.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.03371, allocations: 0.5638 MB / 398.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.03411, allocations: 100.6 kB / 398.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.03566, allocations: 0.9093 MB / 399.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.03576, allocations: 141.7 kB / 399.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.03592, allocations: 63.33 kB / 399.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.03599, allocations: 36.48 kB / 399.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.03599, allocations: 0 / 399.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Templates: time 0.009716/0.04571, allocations: 5.916 MB / 405.5 MB, free: 5.656 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: 3.1606013397686183]