Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001212/0.001212, allocations: 179.5 kB / 17.4 MB, free: 4.418 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.42/1.42, allocations: 194.5 MB / 212.6 MB, free: 2.938 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.001558/0.001558, allocations: 130.5 kB / 257.9 MB, free: 4.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1807/0.1807, allocations: 38.01 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 15.98 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09546, allocations: 53.23 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.4849, allocations: 104.8 MB / 0.5499 GB, free: 6.492 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4851, allocations: 103.6 kB / 0.55 GB, free: 6.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0698/0.555, allocations: 24.41 MB / 0.5738 GB, free: 1.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.555, allocations: 0 / 0.5738 GB, free: 1.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.947e-05/0.5551, allocations: 16 kB / 0.5738 GB, free: 1.359 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003815/0.5589, allocations: 1.264 MB / 0.5751 GB, free: 100 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5589, allocations: 12.03 kB / 0.5751 GB, free: 88 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.56, allocations: 139.7 kB / 0.5752 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.5625, allocations: 0.9272 MB / 0.5761 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.5628, allocations: 186.9 kB / 0.5763 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.5631, allocations: 78.75 kB / 0.5764 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.5664, allocations: 1.419 MB / 0.5777 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/0.5665, allocations: 0 / 0.5777 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.5666, allocations: 33.31 kB / 0.5778 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.5668, allocations: 77.14 kB / 0.5778 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.5697, allocations: 1.532 MB / 0.5793 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/0.577, allocations: 4.448 MB / 0.5837 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.5794, allocations: 1.319 MB / 0.585 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.5807, allocations: 0.7693 MB / 0.5857 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/0.5807, allocations: 12.59 kB / 0.5857 GB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.5808, allocations: 38.78 kB / 0.5858 GB, free: 7.461 MB / 394.7 MB Notification: Performance of pre-optimization done (n=103): time 3.126e-06/0.5808, allocations: 0 / 0.5858 GB, free: 7.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.006733/0.5875, allocations: 3.742 MB / 0.5894 GB, free: 4.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.5876, allocations: 89.33 kB / 0.5895 GB, free: 4.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.5881, allocations: 398.5 kB / 0.5899 GB, free: 4.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.5882, allocations: 39.02 kB / 0.5899 GB, free: 4.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.5884, allocations: 345.1 kB / 0.5903 GB, free: 3.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.5887, allocations: 351.1 kB / 0.5906 GB, free: 3.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.5887, allocations: 14.44 kB / 0.5906 GB, free: 3.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5889, allocations: 381.6 kB / 0.591 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.59, allocations: 0.6093 MB / 0.5916 GB, free: 2.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.5912, allocations: 0.7659 MB / 0.5923 GB, free: 1.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.5935, allocations: 1.426 MB / 0.5937 GB, free: 0.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5935, allocations: 0 / 0.5937 GB, free: 0.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002684/0.5962, allocations: 1.52 MB / 0.5952 GB, free: 14.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.5962, allocations: 8 kB / 0.5952 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.5962, allocations: 4 kB / 0.5952 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.5963, allocations: 8 kB / 0.5952 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.5989, allocations: 0.6322 MB / 0.5958 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.6046, allocations: 4.932 MB / 0.6006 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/0.6055, allocations: 103.8 kB / 0.6007 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.6057, allocations: 31.98 kB / 0.6008 GB, free: 8.863 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007502/0.6064, allocations: 313.5 kB / 0.6011 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.6067, allocations: 67.25 kB / 0.6011 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.6096, allocations: 1.508 MB / 0.6026 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.405e-05/0.6096, allocations: 24 kB / 0.6026 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6097, allocations: 0 / 0.6026 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.6097, allocations: 3.984 kB / 0.6026 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005111/0.6148, allocations: 2.851 MB / 0.6054 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.6148, allocations: 4 kB / 0.6054 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/0.618, allocations: 0.687 MB / 0.6061 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/0.618, allocations: 7.938 kB / 0.6061 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.6182, allocations: 23.98 kB / 0.6061 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-05/0.6182, allocations: 4 kB / 0.6061 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6182, allocations: 4 kB / 0.6061 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/0.6226, allocations: 2.489 MB / 0.6086 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.6228, allocations: 132.3 kB / 0.6087 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.623, allocations: 27.92 kB / 0.6087 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.6237, allocations: 87.89 kB / 0.6088 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.6239, allocations: 76.48 kB / 0.6089 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/0.624, allocations: 20 kB / 0.6089 GB, free: 400 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003978/0.6244, allocations: 275.1 kB / 0.6092 GB, free: 128 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6244, allocations: 0 / 0.6092 GB, free: 128 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001043/0.6254, allocations: 260 kB / 0.6094 GB, free: 15.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004328/0.6259, allocations: 179 kB / 0.6096 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004275/0.6302, allocations: 1.889 MB / 0.6114 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6302, allocations: 0 / 0.6114 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.6339, allocations: 1.219 MB / 0.6126 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.6352, allocations: 161.7 kB / 0.6128 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/0.6411, allocations: 3.03 MB / 0.6157 GB, free: 9.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009752/0.6421, allocations: 1.076 MB / 0.6168 GB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001242/0.6434, allocations: 277.6 kB / 0.617 GB, free: 7.965 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.6437, allocations: 59.44 kB / 0.6171 GB, free: 7.906 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6437, allocations: 0 / 0.6171 GB, free: 7.906 MB / 426.7 MB Notification: Performance of Templates: time 0.02081/0.6646, allocations: 9.676 MB / 0.6265 GB, free: 14.23 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)