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.0009971/0.000997, allocations: 179.5 kB / 17.4 MB, free: 4.414 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.378/1.378, allocations: 194.5 MB / 212.6 MB, free: 2.855 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.001567/0.001567, allocations: 119.8 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2045/0.2045, allocations: 38.01 MB / 341.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006182/0.0006188, allocations: 8 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1162, allocations: 53.23 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.5433, allocations: 93.67 MB / 0.539 GB, free: 1.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.5436, allocations: 98.86 kB / 0.5391 GB, free: 1.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02799/0.5716, allocations: 10.07 MB / 0.5489 GB, free: 8.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5717, allocations: 4 kB / 0.5489 GB, free: 8.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.058e-05/0.5717, allocations: 8 kB / 0.5489 GB, free: 8.461 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.001831/0.5736, allocations: 0.7837 MB / 0.5497 GB, free: 7.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5736, allocations: 12.03 kB / 0.5497 GB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.5738, allocations: 52.28 kB / 0.5498 GB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.5751, allocations: 0.5834 MB / 0.5503 GB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.5751, allocations: 32.38 kB / 0.5504 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.5752, allocations: 34.56 kB / 0.5504 GB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008429/0.5761, allocations: 481.1 kB / 0.5508 GB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.5761, allocations: 7.875 kB / 0.5509 GB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.5762, allocations: 14.88 kB / 0.5509 GB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.5762, allocations: 12 kB / 0.5509 GB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.5768, allocations: 357.3 kB / 0.5512 GB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.5796, allocations: 1.711 MB / 0.5529 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.5802, allocations: 316.3 kB / 0.5532 GB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.5807, allocations: 225 kB / 0.5534 GB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.5808, allocations: 4.234 kB / 0.5534 GB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.5812, allocations: 284.5 kB / 0.5537 GB, free: 4.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.186e-06/0.5812, allocations: 4 kB / 0.5537 GB, free: 4.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002499/0.5837, allocations: 1.362 MB / 0.555 GB, free: 2.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.5838, allocations: 140.4 kB / 0.5552 GB, free: 2.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.5843, allocations: 376.5 kB / 0.5555 GB, free: 2.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.5843, allocations: 37.14 kB / 0.5555 GB, free: 2.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.5846, allocations: 251.1 kB / 0.5558 GB, free: 2.246 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.5847, allocations: 119.9 kB / 0.5559 GB, free: 2.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.5847, allocations: 6.375 kB / 0.5559 GB, free: 2.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5849, allocations: 357.2 kB / 0.5562 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.5851, allocations: 131.8 kB / 0.5564 GB, free: 1.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.5855, allocations: 255.1 kB / 0.5566 GB, free: 1.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.586, allocations: 444.2 kB / 0.557 GB, free: 1.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5861, allocations: 0 / 0.557 GB, free: 1.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009276/0.587, allocations: 0.5242 MB / 0.5576 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.587, allocations: 34.39 kB / 0.5576 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.5871, allocations: 7.938 kB / 0.5576 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/0.5874, allocations: 82.27 kB / 0.5577 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.5877, allocations: 71.28 kB / 0.5577 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.5904, allocations: 2.765 MB / 0.5604 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.5907, allocations: 26.77 kB / 0.5605 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.5907, allocations: 19.75 kB / 0.5605 GB, free: 13.54 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.0003292/0.5911, allocations: 244 kB / 0.5607 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.5912, allocations: 39.59 kB / 0.5608 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.592, allocations: 493.4 kB / 0.5612 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.592, allocations: 4 kB / 0.5612 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5921, allocations: 4 kB / 0.5612 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5921, allocations: 3.984 kB / 0.5612 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.5936, allocations: 1.044 MB / 0.5623 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5936, allocations: 0 / 0.5623 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.5938, allocations: 43.36 kB / 0.5623 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.5941, allocations: 80.08 kB / 0.5624 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.5941, allocations: 14.48 kB / 0.5624 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.5963, allocations: 2.766 MB / 0.5651 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5963, allocations: 3.938 kB / 0.5651 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.5975, allocations: 0.7587 MB / 0.5658 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.5976, allocations: 112.2 kB / 0.5659 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.5977, allocations: 11.67 kB / 0.566 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.5979, allocations: 19.73 kB / 0.566 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5981, allocations: 47.27 kB / 0.566 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.5981, allocations: 8 kB / 0.566 GB, free: 8.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003232/0.5984, allocations: 262.7 kB / 0.5663 GB, free: 7.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5984, allocations: 0 / 0.5663 GB, free: 7.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005544/0.599, allocations: 122.6 kB / 0.5664 GB, free: 7.871 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.0002075/0.5992, allocations: 126.2 kB / 0.5665 GB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009962/0.6002, allocations: 0.6261 MB / 0.5671 GB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6002, allocations: 0.9375 kB / 0.5671 GB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.6009, allocations: 495.5 kB / 0.5676 GB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.6016, allocations: 71.89 kB / 0.5677 GB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.6034, allocations: 1.217 MB / 0.5689 GB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.604, allocations: 0.8663 MB / 0.5697 GB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.6042, allocations: 67.36 kB / 0.5698 GB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.6043, allocations: 37.98 kB / 0.5698 GB, free: 4.512 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6043, allocations: 0 / 0.5698 GB, free: 4.512 MB / 378.7 MB Notification: Performance of Templates: time 0.01081/0.6152, allocations: 4.971 MB / 0.5747 GB, free: 15.55 MB / 394.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)