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.001534/0.001534, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.432/1.432, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001657/0.001657, allocations: 108.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1611/0.1611, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.036e-05, allocations: 4 kB / 397.5 MB, free: 1.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3251, allocations: 53.22 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.7932, allocations: 93.55 MB / 0.5315 GB, free: 87.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.7935, allocations: 87.72 kB / 0.5316 GB, free: 87.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02901/0.8225, allocations: 10.08 MB / 0.5415 GB, free: 85.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8226, allocations: 0 / 0.5415 GB, free: 85.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.8226, allocations: 9.406 kB / 0.5415 GB, free: 85.14 MB / 378.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.001033/0.8237, allocations: 0.7225 MB / 0.5422 GB, free: 84.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.8237, allocations: 7.875 kB / 0.5422 GB, free: 84.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.8238, allocations: 54.88 kB / 0.5423 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.8257, allocations: 0.8759 MB / 0.5431 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.8258, allocations: 28.34 kB / 0.5431 GB, free: 83.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.8259, allocations: 36.12 kB / 0.5432 GB, free: 83.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/0.8265, allocations: 473.7 kB / 0.5436 GB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.8265, allocations: 7.938 kB / 0.5436 GB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.8266, allocations: 14.84 kB / 0.5436 GB, free: 83.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.8266, allocations: 7.844 kB / 0.5437 GB, free: 83.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.8271, allocations: 353.5 kB / 0.544 GB, free: 83.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.8289, allocations: 1.706 MB / 0.5457 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.8294, allocations: 304.3 kB / 0.5459 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.8298, allocations: 221.2 kB / 0.5462 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.8298, allocations: 8.172 kB / 0.5462 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.8302, allocations: 282.5 kB / 0.5464 GB, free: 81.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.8302, allocations: 0 / 0.5464 GB, free: 81.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001478/0.8317, allocations: 1.049 MB / 0.5475 GB, free: 80.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.8317, allocations: 144.4 kB / 0.5476 GB, free: 80.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.832, allocations: 319.5 kB / 0.5479 GB, free: 80.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.832, allocations: 41.73 kB / 0.5479 GB, free: 80.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.8322, allocations: 255.8 kB / 0.5482 GB, free: 79.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.8322, allocations: 114.2 kB / 0.5483 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.8323, allocations: 8 kB / 0.5483 GB, free: 79.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.8323, allocations: 354.7 kB / 0.5486 GB, free: 79.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.8325, allocations: 125.1 kB / 0.5488 GB, free: 79.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.8327, allocations: 260 kB / 0.549 GB, free: 79.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.8329, allocations: 177.1 kB / 0.5492 GB, free: 78.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.833, allocations: 8 kB / 0.5492 GB, free: 78.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006639/0.8336, allocations: 0.5267 MB / 0.5497 GB, free: 78.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.8337, allocations: 34.17 kB / 0.5497 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.8337, allocations: 8 kB / 0.5497 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.8339, allocations: 77.67 kB / 0.5498 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.8342, allocations: 67.84 kB / 0.5499 GB, free: 78.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.8356, allocations: 2.76 MB / 0.5526 GB, free: 75.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.8359, allocations: 19.98 kB / 0.5526 GB, free: 75.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.836, allocations: 20 kB / 0.5526 GB, free: 75.06 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 () * 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.0001152/0.8361, allocations: 178.4 kB / 0.5528 GB, free: 74.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.8361, allocations: 39.53 kB / 0.5528 GB, free: 74.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006709/0.8368, allocations: 469 kB / 0.5533 GB, free: 74.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8368, allocations: 7.953 kB / 0.5533 GB, free: 74.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.8368, allocations: 0 / 0.5533 GB, free: 74.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.8368, allocations: 0 / 0.5533 GB, free: 74.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.838, allocations: 1.033 MB / 0.5543 GB, free: 73.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.838, allocations: 4 kB / 0.5543 GB, free: 73.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.8382, allocations: 35.92 kB / 0.5543 GB, free: 73.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.8384, allocations: 89.66 kB / 0.5544 GB, free: 73.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.8384, allocations: 12 kB / 0.5544 GB, free: 73.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.8398, allocations: 2.759 MB / 0.5571 GB, free: 70.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8398, allocations: 160 / 0.5571 GB, free: 70.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.8406, allocations: 0.7606 MB / 0.5579 GB, free: 69.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.8407, allocations: 116.6 kB / 0.558 GB, free: 69.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.8408, allocations: 12.05 kB / 0.558 GB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.841, allocations: 23.98 kB / 0.558 GB, free: 69.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.8412, allocations: 39.89 kB / 0.558 GB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.8412, allocations: 8 kB / 0.558 GB, free: 69.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002169/0.8414, allocations: 254.1 kB / 0.5583 GB, free: 68.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8414, allocations: 3.938 kB / 0.5583 GB, free: 68.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004599/0.8419, allocations: 116 kB / 0.5584 GB, free: 68.7 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) * 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.0001782/0.8421, allocations: 128.1 kB / 0.5585 GB, free: 68.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007775/0.8429, allocations: 0.626 MB / 0.5591 GB, free: 67.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8429, allocations: 0 / 0.5591 GB, free: 67.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.8434, allocations: 480.5 kB / 0.5596 GB, free: 67.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.8438, allocations: 81.38 kB / 0.5597 GB, free: 67.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.8448, allocations: 0.7299 MB / 0.5604 GB, free: 66.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.8451, allocations: 0.8781 MB / 0.5612 GB, free: 65.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002203/0.8453, allocations: 75.36 kB / 0.5613 GB, free: 65.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.8454, allocations: 35.42 kB / 0.5613 GB, free: 65.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8454, allocations: 0 / 0.5613 GB, free: 65.54 MB / 378.7 MB Notification: Performance of Templates: time 0.008192/0.8536, allocations: 4.926 MB / 0.5662 GB, free: 60.64 MB / 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)