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.001187/0.001187, allocations: 75.77 kB / 21.18 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.001399/0.001399, allocations: 165 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 1.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.578 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.2633/0.2633, allocations: 29.42 MB / 290.9 MB, free: 2.512 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 2.204e-06/2.204e-06, allocations: 3.938 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.696e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004735/0.004762, allocations: 4.745 MB / 374.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.006434, allocations: 1.149 MB / 375.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.006695, allocations: 27.81 kB / 375.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.007048, allocations: 91.25 kB / 375.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.007631, allocations: 314.2 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.007919, allocations: 151.6 kB / 376.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006372/0.008556, allocations: 0.7396 MB / 376.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.008782, allocations: 125.3 kB / 377 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005522/0.009334, allocations: 426.8 kB / 377.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000424/0.009758, allocations: 343.1 kB / 377.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.009826, allocations: 40 kB / 377.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.009891, allocations: 40 kB / 377.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.01005, allocations: 223.4 kB / 378 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.01021, allocations: 179.6 kB / 378.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005593/0.01076, allocations: 406.5 kB / 378.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.01077, allocations: 4 kB / 378.6 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01077, allocations: 0 / 378.6 MB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01078, allocations: 0 / 378.6 MB, free: 1.988 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.0009452/0.01172, allocations: 0.8588 MB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.01177, allocations: 8.031 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.01187, allocations: 88.61 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.01231, allocations: 387.7 kB / 379.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.01233, allocations: 29.38 kB / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.01238, allocations: 40.31 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.01281, allocations: 415.7 kB / 380.4 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.01282, allocations: 0 / 380.4 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.01284, allocations: 16 kB / 380.4 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.275e-05/0.01292, allocations: 32.56 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.0132, allocations: 202.1 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01461, allocations: 1.746 MB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.01498, allocations: 256.4 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.01526, allocations: 205.2 kB / 382.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.01528, allocations: 4.234 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.01556, allocations: 280.7 kB / 383.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.282e-06/0.01556, allocations: 0 / 383.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001385/0.01695, allocations: 1.01 MB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.01701, allocations: 144.5 kB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.01727, allocations: 398.6 kB / 384.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.0173, allocations: 37.7 kB / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.01744, allocations: 307.2 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.0175, allocations: 111.1 kB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.01774, allocations: 95.73 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01788, allocations: 0.5312 MB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.01798, allocations: 86.66 kB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.01816, allocations: 265.2 kB / 386.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.01845, allocations: 377.3 kB / 386.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01846, allocations: 0 / 386.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004828/0.01894, allocations: 439.4 kB / 386.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.01897, allocations: 38.16 kB / 386.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.01898, allocations: 11.94 kB / 386.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.01921, allocations: 59.34 kB / 387 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.01938, allocations: 79.83 kB / 387.1 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.02088, allocations: 3.507 MB / 390.6 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.02103, allocations: 19.98 kB / 390.6 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.02105, allocations: 16 kB / 390.6 MB, free: 5.09 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.0001515/0.0212, allocations: 230.3 kB / 390.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.02126, allocations: 51.77 kB / 390.9 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.02174, allocations: 416.3 kB / 391.3 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.02175, allocations: 4 kB / 391.3 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.02175, allocations: 4 kB / 391.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.02176, allocations: 7.922 kB / 391.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008849/0.02264, allocations: 0.8553 MB / 392.2 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02264, allocations: 0 / 392.2 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.02276, allocations: 47.94 kB / 392.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.02294, allocations: 67.31 kB / 392.3 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.02296, allocations: 11.98 kB / 392.3 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.02433, allocations: 3.511 MB / 395.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02433, allocations: 0 / 395.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.02497, allocations: 0.6982 MB / 396.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.02502, allocations: 47.92 kB / 396.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.02505, allocations: 11.94 kB / 396.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.02517, allocations: 15.98 kB / 396.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.02525, allocations: 35.94 kB / 396.6 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.02527, allocations: 15.98 kB / 396.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.02544, allocations: 263 kB / 396.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02544, allocations: 0 / 396.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.02579, allocations: 116 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.0001093/0.0259, allocations: 111.2 kB / 397.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006411/0.02654, allocations: 0.6861 MB / 397.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02654, allocations: 0 / 397.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.02694, allocations: 0.5677 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.0003931/0.02734, allocations: 96.16 kB / 398.4 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.02899, allocations: 0.9171 MB / 399.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.694e-05/0.02909, allocations: 145.7 kB / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.02923, allocations: 63.36 kB / 399.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.02931, allocations: 32.5 kB / 399.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02931, allocations: 0 / 399.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of Templates: time 0.007927/0.03723, allocations: 5.668 MB / 405.3 MB, free: 5.914 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.3367950017564]