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.00145/0.00145, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001584/0.001584, allocations: 173.7 kB / 24.91 MB, free: 9.176 MB / 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2449/0.2449, allocations: 29.41 MB / 291.2 MB, free: 2.496 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.162e-06/1.162e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.268e-05, allocations: 6.312 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004405/0.004417, allocations: 4.769 MB / 321.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.006086, allocations: 1.173 MB / 322.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.006314, allocations: 23.81 kB / 322.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.006609, allocations: 95.28 kB / 322.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.007095, allocations: 314.1 kB / 323.3 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.007345, allocations: 151.6 kB / 323.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.007902, allocations: 0.7513 MB / 324.2 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.008079, allocations: 133.9 kB / 324.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.008585, allocations: 470.8 kB / 324.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.008931, allocations: 303.1 kB / 325 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.008977, allocations: 36 kB / 325.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.009031, allocations: 43.94 kB / 325.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.009178, allocations: 219.4 kB / 325.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.009308, allocations: 175.6 kB / 325.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.009666, allocations: 394.6 kB / 325.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.009669, allocations: 8 kB / 325.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00967, allocations: 0 / 325.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.009679, allocations: 0 / 325.9 MB, free: 6.898 MB / 298.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.0008405/0.01052, allocations: 0.7102 MB / 326.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.01055, allocations: 8.031 kB / 326.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.01063, allocations: 72.88 kB / 326.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.01097, allocations: 325.3 kB / 327 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.011, allocations: 29.38 kB / 327 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.01104, allocations: 36.38 kB / 327.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.0114, allocations: 379.8 kB / 327.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.01141, allocations: 3.984 kB / 327.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.01145, allocations: 15.94 kB / 327.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/0.01152, allocations: 20.64 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.01172, allocations: 158 kB / 327.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01289, allocations: 1.203 MB / 328.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.01317, allocations: 263.4 kB / 329.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.01338, allocations: 168.4 kB / 329.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.0134, allocations: 8.234 kB / 329.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.01363, allocations: 260.3 kB / 329.5 MB, free: 3.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.372e-06/0.01363, allocations: 0 / 329.5 MB, free: 3.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006931/0.01433, allocations: 0.5049 MB / 330 MB, free: 2.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.01438, allocations: 136.5 kB / 330.2 MB, free: 2.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.01456, allocations: 327.4 kB / 330.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.01459, allocations: 33.7 kB / 330.5 MB, free: 1.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.01468, allocations: 221.5 kB / 330.7 MB, free: 1.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.01475, allocations: 111.1 kB / 330.8 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.01483, allocations: 86.14 kB / 330.9 MB, free: 1.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.01492, allocations: 354.7 kB / 331.3 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.01499, allocations: 73.5 kB / 331.3 MB, free: 1.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.01512, allocations: 196 kB / 331.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.01535, allocations: 290.2 kB / 331.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01536, allocations: 0 / 331.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003212/0.01568, allocations: 346.2 kB / 332.1 MB, free: 152 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.0157, allocations: 33.7 kB / 332.2 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.01571, allocations: 0 / 332.2 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.01589, allocations: 67.8 kB / 332.2 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.01606, allocations: 83.83 kB / 332.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.01712, allocations: 2.387 MB / 334.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01724, allocations: 31.84 kB / 334.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.01726, allocations: 15.98 kB / 334.8 MB, free: 13.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (53): * Single equations (assignments): 50 * 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.0001258/0.01739, allocations: 186.2 kB / 334.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.01743, allocations: 39.95 kB / 335 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.01771, allocations: 312.7 kB / 335.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01772, allocations: 7.984 kB / 335.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01772, allocations: 0 / 335.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01772, allocations: 7.938 kB / 335.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.01826, allocations: 0.6134 MB / 335.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01826, allocations: 7.938 kB / 335.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.01836, allocations: 39.92 kB / 336 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.0185, allocations: 71.25 kB / 336 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.01852, allocations: 15.98 kB / 336.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.01954, allocations: 2.397 MB / 338.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01954, allocations: 7.922 kB / 338.5 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.01996, allocations: 0.5379 MB / 339 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.02, allocations: 43.62 kB / 339 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.02003, allocations: 16.19 kB / 339.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.02013, allocations: 11.98 kB / 339.1 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.0202, allocations: 31.94 kB / 339.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.02021, allocations: 8 kB / 339.1 MB, free: 8.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.963e-05/0.0203, allocations: 128.7 kB / 339.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0203, allocations: 0 / 339.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.02057, allocations: 131.8 kB / 339.4 MB, free: 8.387 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 28 * 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 9.646e-05/0.02067, allocations: 96.36 kB / 339.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.0211, allocations: 0.5441 MB / 340 MB, free: 7.684 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.02111, allocations: 4 kB / 340 MB, free: 7.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.0214, allocations: 428 kB / 340.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.02168, allocations: 104.4 kB / 340.5 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.02282, allocations: 0.8728 MB / 341.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.994e-05/0.02291, allocations: 145.7 kB / 341.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.02302, allocations: 47.34 kB / 341.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.0232, allocations: 135.3 kB / 341.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0232, allocations: 0 / 341.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of Templates: time 0.007605/0.0308, allocations: 6.061 MB / 347.8 MB, free: 15.92 MB / 330.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9881203481927514]