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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 180 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.186/1.186, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001655/0.001655, allocations: 113.8 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1592/0.1592, allocations: 38 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08498/0.08535, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3021/0.3875, allocations: 93.63 MB / 0.5377 GB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3878, allocations: 100.3 kB / 0.5378 GB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02684/0.4146, allocations: 10.09 MB / 0.5477 GB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4147, allocations: 0 / 0.5477 GB, free: 8.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.4147, allocations: 8 kB / 0.5477 GB, free: 8.883 MB / 362.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.001293/0.416, allocations: 0.7996 MB / 0.5485 GB, free: 8.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.416, allocations: 12.02 kB / 0.5485 GB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.4162, allocations: 55.34 kB / 0.5485 GB, free: 8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.4181, allocations: 0.8894 MB / 0.5494 GB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.4182, allocations: 32.48 kB / 0.5494 GB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.4182, allocations: 40.09 kB / 0.5495 GB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.4189, allocations: 475.6 kB / 0.5499 GB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4189, allocations: 3.953 kB / 0.5499 GB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.4189, allocations: 12.69 kB / 0.5499 GB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4189, allocations: 12 kB / 0.5499 GB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.4195, allocations: 356.5 kB / 0.5503 GB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.4216, allocations: 1.713 MB / 0.552 GB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.4221, allocations: 315.7 kB / 0.5523 GB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4221, allocations: 240 / 0.5523 GB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/0.4225, allocations: 289.2 kB / 0.5525 GB, free: 4.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.4226, allocations: 0 / 0.5525 GB, free: 4.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002073/0.4246, allocations: 1.423 MB / 0.5539 GB, free: 3.195 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.4247, allocations: 140.4 kB / 0.5541 GB, free: 3.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.4251, allocations: 333 kB / 0.5544 GB, free: 2.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.4251, allocations: 40.44 kB / 0.5544 GB, free: 2.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.4253, allocations: 251.2 kB / 0.5547 GB, free: 2.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.45e-05/0.4254, allocations: 107.7 kB / 0.5548 GB, free: 2.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.4254, allocations: 14.44 kB / 0.5548 GB, free: 2.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4255, allocations: 353.2 kB / 0.5551 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4258, allocations: 132.8 kB / 0.5552 GB, free: 2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.426, allocations: 250.4 kB / 0.5555 GB, free: 1.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.4263, allocations: 193.5 kB / 0.5557 GB, free: 1.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4263, allocations: 0 / 0.5557 GB, free: 1.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000777/0.4271, allocations: 0.5297 MB / 0.5562 GB, free: 1.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.4271, allocations: 29.7 kB / 0.5562 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4271, allocations: 4.469 kB / 0.5562 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.4274, allocations: 84.14 kB / 0.5563 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.4277, allocations: 75.58 kB / 0.5564 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.4299, allocations: 2.773 MB / 0.5591 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.4301, allocations: 26.67 kB / 0.5591 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.4302, allocations: 19.56 kB / 0.5591 GB, free: 14.07 MB / 378.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,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002911/0.4305, allocations: 247 kB / 0.5593 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.4306, allocations: 47.5 kB / 0.5594 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008868/0.4315, allocations: 480.3 kB / 0.5598 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4315, allocations: 4 kB / 0.5599 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4315, allocations: 7.953 kB / 0.5599 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4315, allocations: 0 / 0.5599 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.433, allocations: 1.02 MB / 0.5609 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.433, allocations: 0 / 0.5609 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.4332, allocations: 39.92 kB / 0.5609 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.4334, allocations: 79.58 kB / 0.561 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4335, allocations: 15.52 kB / 0.561 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.4355, allocations: 2.782 MB / 0.5637 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4356, allocations: 0 / 0.5637 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4366, allocations: 0.7649 MB / 0.5644 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.4367, allocations: 120.3 kB / 0.5646 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.4368, allocations: 7.875 kB / 0.5646 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.437, allocations: 27.98 kB / 0.5646 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.4371, allocations: 39.27 kB / 0.5646 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.4371, allocations: 11.98 kB / 0.5646 GB, free: 8.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002419/0.4374, allocations: 261.2 kB / 0.5649 GB, free: 8.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4374, allocations: 3.938 kB / 0.5649 GB, free: 8.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004731/0.4379, allocations: 119.3 kB / 0.565 GB, free: 8.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/0.4381, allocations: 130.9 kB / 0.5651 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000913/0.439, allocations: 0.6327 MB / 0.5658 GB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.439, allocations: 0 / 0.5658 GB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.4396, allocations: 488.6 kB / 0.5662 GB, free: 7.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.4401, allocations: 89.64 kB / 0.5663 GB, free: 7.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.4418, allocations: 1.204 MB / 0.5675 GB, free: 6.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.4424, allocations: 0.8786 MB / 0.5683 GB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.4426, allocations: 71.36 kB / 0.5684 GB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.4427, allocations: 35.42 kB / 0.5684 GB, free: 5.012 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4428, allocations: 0 / 0.5684 GB, free: 5.012 MB / 378.7 MB Notification: Performance of Templates: time 0.009631/0.4524, allocations: 4.89 MB / 0.5732 GB, free: 144 kB / 378.7 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)