Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0016/0.0016, allocations: 182.8 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.745/1.745, allocations: 194.2 MB / 208.4 MB, free: 6.707 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.001783/0.001783, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1701/0.1701, allocations: 37.9 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.465e-05, allocations: 4 kB / 397.5 MB, free: 1.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2539, allocations: 53.21 MB / 450.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.7072, allocations: 100.3 MB / 0.5381 GB, free: 33.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004141/0.7077, allocations: 87.81 kB / 0.5382 GB, free: 33.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05435/0.762, allocations: 19.54 MB / 0.5573 GB, free: 30.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7621, allocations: 0 / 0.5573 GB, free: 30.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.042e-05/0.7621, allocations: 15.62 kB / 0.5573 GB, free: 30.79 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002159/0.7643, allocations: 1.054 MB / 0.5583 GB, free: 30.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7644, allocations: 11.78 kB / 0.5583 GB, free: 30.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/0.765, allocations: 135.7 kB / 0.5585 GB, free: 30.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.7674, allocations: 1.024 MB / 0.5595 GB, free: 29.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.7675, allocations: 58.86 kB / 0.5595 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.7676, allocations: 78.28 kB / 0.5596 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.7691, allocations: 1.041 MB / 0.5606 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.7691, allocations: 15.59 kB / 0.5606 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.7692, allocations: 26.88 kB / 0.5607 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.7692, allocations: 44.7 kB / 0.5607 GB, free: 29.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.7704, allocations: 0.8712 MB / 0.5616 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.7746, allocations: 4.139 MB / 0.5656 GB, free: 27.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.7756, allocations: 0.6948 MB / 0.5663 GB, free: 27.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.7761, allocations: 454.4 kB / 0.5667 GB, free: 27.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.023e-05/0.7762, allocations: 16.3 kB / 0.5667 GB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007848/0.7769, allocations: 0.6425 MB / 0.5674 GB, free: 27.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.404e-06/0.777, allocations: 0 / 0.5674 GB, free: 27.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.003308/0.7803, allocations: 2.318 MB / 0.5696 GB, free: 26.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.7804, allocations: 151.3 kB / 0.5698 GB, free: 26.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.7808, allocations: 402.3 kB / 0.5701 GB, free: 26.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.7809, allocations: 48.27 kB / 0.5702 GB, free: 26.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.7811, allocations: 371.5 kB / 0.5705 GB, free: 25.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.7813, allocations: 295.4 kB / 0.5708 GB, free: 25.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.7813, allocations: 18.41 kB / 0.5708 GB, free: 25.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7814, allocations: 386.9 kB / 0.5712 GB, free: 25.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.7819, allocations: 401.6 kB / 0.5716 GB, free: 25.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.7825, allocations: 0.594 MB / 0.5722 GB, free: 25.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.7831, allocations: 0.4921 MB / 0.5727 GB, free: 25.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.7831, allocations: 3.781 kB / 0.5727 GB, free: 25.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002484/0.7856, allocations: 1.516 MB / 0.5741 GB, free: 24.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.7857, allocations: 36.92 kB / 0.5742 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002017/0.7877, allocations: 1.18 MB / 0.5753 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.7889, allocations: 435.3 kB / 0.5757 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.7893, allocations: 134.4 kB / 0.5759 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005863/0.7952, allocations: 4.7 MB / 0.5805 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.796, allocations: 76.81 kB / 0.5805 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.7961, allocations: 42.55 kB / 0.5806 GB, free: 22.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.7963, allocations: 209.7 kB / 0.5808 GB, free: 22.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.7965, allocations: 82.3 kB / 0.5809 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.7981, allocations: 1.148 MB / 0.582 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.7982, allocations: 23.42 kB / 0.582 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.7982, allocations: 0 / 0.582 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.7982, allocations: 3.984 kB / 0.582 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.8011, allocations: 2.213 MB / 0.5842 GB, free: 21.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8011, allocations: 4.062 kB / 0.5842 GB, free: 21.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.8017, allocations: 133.2 kB / 0.5843 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.8019, allocations: 94.83 kB / 0.5844 GB, free: 21.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.8019, allocations: 26.58 kB / 0.5844 GB, free: 21.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.8037, allocations: 3.914 MB / 0.5882 GB, free: 17.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8038, allocations: 0 / 0.5882 GB, free: 17.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.8059, allocations: 1.824 MB / 0.59 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.8061, allocations: 139 kB / 0.5901 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/0.8062, allocations: 25.06 kB / 0.5902 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.8066, allocations: 69.02 kB / 0.5902 GB, free: 16.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.8068, allocations: 81.75 kB / 0.5903 GB, free: 16.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.8069, allocations: 30.73 kB / 0.5903 GB, free: 16.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003397/0.8072, allocations: 307.3 kB / 0.5906 GB, free: 16.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8072, allocations: 0 / 0.5906 GB, free: 16.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009538/0.8082, allocations: 272.1 kB / 0.5909 GB, free: 16.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_b.closed,breaker.breaker_a.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_c.open,breaker.breaker_a.open,breaker.breaker_b.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(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.000271/0.8085, allocations: 183 kB / 0.5911 GB, free: 16.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.8104, allocations: 1.36 MB / 0.5924 GB, free: 16.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8104, allocations: 0 / 0.5924 GB, free: 16.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008932/0.8113, allocations: 0.944 MB / 0.5933 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.8118, allocations: 108.6 kB / 0.5934 GB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.8144, allocations: 1.458 MB / 0.5948 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.8149, allocations: 1.048 MB / 0.5959 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006667/0.8156, allocations: 189.8 kB / 0.5961 GB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.8158, allocations: 55.88 kB / 0.5961 GB, free: 14.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.054e-06/0.8158, allocations: 4 kB / 0.5961 GB, free: 14.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01846/0.8343, allocations: 11.16 MB / 0.607 GB, free: 7.008 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)