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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 111.7 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 194.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1737/0.1737, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.386, allocations: 58.06 MB / 0.5041 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.006309/0.3923, allocations: 5.311 MB / 0.5093 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3943, allocations: 1.163 MB / 0.5104 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.3945, allocations: 13.97 kB / 0.5104 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.3949, allocations: 96.19 kB / 0.5105 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006803/0.3956, allocations: 318.4 kB / 0.5108 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.3959, allocations: 151 kB / 0.511 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008822/0.3968, allocations: 0.7282 MB / 0.5117 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.3972, allocations: 186.1 kB / 0.5119 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.3976, allocations: 324.7 kB / 0.5122 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006251/0.3983, allocations: 357.5 kB / 0.5125 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.3984, allocations: 40.97 kB / 0.5126 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3985, allocations: 45.34 kB / 0.5126 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.3988, allocations: 202.5 kB / 0.5128 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.3991, allocations: 251.9 kB / 0.513 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000724/0.3998, allocations: 0.5504 MB / 0.5136 GB, free: 2.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3998, allocations: 0 / 0.5136 GB, free: 2.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3998, allocations: 4 kB / 0.5136 GB, free: 2.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3998, allocations: 0 / 0.5136 GB, free: 2.152 MB / 382.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.001515/0.4014, allocations: 0.8346 MB / 0.5144 GB, free: 1.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4014, allocations: 10.89 kB / 0.5144 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.4015, allocations: 57.75 kB / 0.5145 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.4022, allocations: 450 kB / 0.5149 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.4023, allocations: 29.61 kB / 0.5149 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/0.4024, allocations: 39.94 kB / 0.5149 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.4032, allocations: 492.2 kB / 0.5154 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4033, allocations: 1.125 kB / 0.5154 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.4033, allocations: 16.41 kB / 0.5154 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.4034, allocations: 30.03 kB / 0.5155 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.404, allocations: 365.9 kB / 0.5158 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.4068, allocations: 1.71 MB / 0.5175 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.4075, allocations: 403.6 kB / 0.5179 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.408, allocations: 209.4 kB / 0.5181 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.408, allocations: 3.625 kB / 0.5181 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/0.4085, allocations: 279.5 kB / 0.5183 GB, free: 15.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.4085, allocations: 1.188 kB / 0.5183 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002501/0.411, allocations: 1.396 MB / 0.5197 GB, free: 14.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4111, allocations: 141.3 kB / 0.5198 GB, free: 13.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.4116, allocations: 370.1 kB / 0.5202 GB, free: 13.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.4116, allocations: 41.44 kB / 0.5202 GB, free: 13.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.4118, allocations: 251.4 kB / 0.5205 GB, free: 13.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.4119, allocations: 111.9 kB / 0.5206 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.4121, allocations: 82.88 kB / 0.5207 GB, free: 13.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4123, allocations: 350.8 kB / 0.521 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.4126, allocations: 132.6 kB / 0.5211 GB, free: 13.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.4129, allocations: 261 kB / 0.5214 GB, free: 12.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.4135, allocations: 435.8 kB / 0.5218 GB, free: 12.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4135, allocations: 1 kB / 0.5218 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009292/0.4144, allocations: 0.5489 MB / 0.5223 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.4145, allocations: 33.61 kB / 0.5223 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4145, allocations: 4.125 kB / 0.5223 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.4148, allocations: 80 kB / 0.5224 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.4151, allocations: 72.98 kB / 0.5225 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.4177, allocations: 3.004 MB / 0.5254 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.418, allocations: 23.08 kB / 0.5255 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.4181, allocations: 19.11 kB / 0.5255 GB, free: 9.285 MB / 398.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.0003071/0.4184, allocations: 245.2 kB / 0.5257 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.4185, allocations: 39.98 kB / 0.5257 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009888/0.4195, allocations: 0.4902 MB / 0.5262 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4195, allocations: 3.594 kB / 0.5262 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4195, allocations: 1.188 kB / 0.5262 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4195, allocations: 7.125 kB / 0.5262 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.4212, allocations: 1.063 MB / 0.5273 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4213, allocations: 0.5625 kB / 0.5273 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.4214, allocations: 42.44 kB / 0.5273 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002616/0.4217, allocations: 83.56 kB / 0.5274 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.4218, allocations: 10.5 kB / 0.5274 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.4241, allocations: 3.017 MB / 0.5303 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4241, allocations: 0 / 0.5303 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.4254, allocations: 0.7728 MB / 0.5311 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.4255, allocations: 118.8 kB / 0.5312 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.4256, allocations: 15.78 kB / 0.5312 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4258, allocations: 21.64 kB / 0.5313 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4259, allocations: 36.42 kB / 0.5313 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.426, allocations: 9.078 kB / 0.5313 GB, free: 4.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.4263, allocations: 261.6 kB / 0.5315 GB, free: 4.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4263, allocations: 0 / 0.5315 GB, free: 4.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005638/0.4269, allocations: 113.3 kB / 0.5317 GB, free: 4.582 MB / 398.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.0001598/0.427, allocations: 122.4 kB / 0.5318 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.4281, allocations: 0.6273 MB / 0.5324 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4281, allocations: 0 / 0.5324 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.4288, allocations: 495.5 kB / 0.5329 GB, free: 3.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.4294, allocations: 97.53 kB / 0.5329 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.4313, allocations: 0.9895 MB / 0.5339 GB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.4319, allocations: 0.8623 MB / 0.5348 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.4321, allocations: 69.38 kB / 0.5348 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4322, allocations: 35.52 kB / 0.5349 GB, free: 2.375 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4322, allocations: 3.938 kB / 0.5349 GB, free: 2.371 MB / 398.1 MB Notification: Performance of Templates: time 0.01134/0.4436, allocations: 5.446 MB / 0.5402 GB, free: 172 kB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (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)