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.001496/0.001497, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.448/1.448, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001761/0.001761, allocations: 116.8 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1889/0.1889, allocations: 37.92 MB / 330.9 MB, free: 7.305 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.281e-05, allocations: 0 / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.09391, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3503/0.4443, allocations: 104 MB / 0.5348 GB, free: 4.371 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4446, allocations: 91.5 kB / 0.5349 GB, free: 4.324 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06671/0.5113, allocations: 24.19 MB / 0.5585 GB, free: 15.8 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5114, allocations: 0 / 0.5585 GB, free: 15.8 MB / 379.1 MB Notification: Performance of Transformations before backend: time 4.8e-05/0.5114, allocations: 27.92 kB / 0.5585 GB, free: 15.77 MB / 379.1 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.002598/0.514, allocations: 1.186 MB / 0.5597 GB, free: 14.59 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.5141, allocations: 12.03 kB / 0.5597 GB, free: 14.57 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006647/0.5148, allocations: 143 kB / 0.5598 GB, free: 14.43 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.5178, allocations: 1.254 MB / 0.561 GB, free: 13.37 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.518, allocations: 146.3 kB / 0.5612 GB, free: 13.21 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.5182, allocations: 54.78 kB / 0.5612 GB, free: 13.16 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001743/0.5199, allocations: 1.168 MB / 0.5624 GB, free: 12.39 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.5217, allocations: 1.215 MB / 0.5636 GB, free: 11.46 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.5218, allocations: 4 kB / 0.5636 GB, free: 11.46 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/0.5219, allocations: 4 kB / 0.5636 GB, free: 11.45 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.522, allocations: 76.45 kB / 0.5636 GB, free: 11.39 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006692/0.5287, allocations: 4.346 MB / 0.5679 GB, free: 7.805 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.5304, allocations: 1.158 MB / 0.569 GB, free: 6.973 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008593/0.5312, allocations: 0.6935 MB / 0.5697 GB, free: 6.527 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.419e-05/0.5313, allocations: 12.77 kB / 0.5697 GB, free: 6.516 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5314, allocations: 46.28 kB / 0.5698 GB, free: 6.469 MB / 379.1 MB Notification: Performance of pre-optimization done (n=103): time 3.877e-06/0.5314, allocations: 0 / 0.5698 GB, free: 6.469 MB / 379.1 MB Notification: Performance of matching and sorting (n=104): time 0.005692/0.5371, allocations: 3.167 MB / 0.5728 GB, free: 3.977 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.5371, allocations: 89.88 kB / 0.5729 GB, free: 3.871 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.5375, allocations: 278.8 kB / 0.5732 GB, free: 3.641 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.5376, allocations: 29.64 kB / 0.5732 GB, free: 3.605 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.5378, allocations: 355 kB / 0.5736 GB, free: 3.324 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.5381, allocations: 342.9 kB / 0.5739 GB, free: 3.023 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.5381, allocations: 0 / 0.5739 GB, free: 3.023 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5383, allocations: 381.6 kB / 0.5743 GB, free: 2.668 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/0.539, allocations: 0.5317 MB / 0.5748 GB, free: 2.328 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008049/0.5398, allocations: 0.6725 MB / 0.5754 GB, free: 1.816 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.5412, allocations: 0.7455 MB / 0.5762 GB, free: 1.184 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5413, allocations: 4 kB / 0.5762 GB, free: 1.18 MB / 379.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002369/0.5436, allocations: 1.465 MB / 0.5776 GB, free: 15.71 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5437, allocations: 4 kB / 0.5776 GB, free: 15.71 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5437, allocations: 4 kB / 0.5776 GB, free: 15.7 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.5437, allocations: 8 kB / 0.5776 GB, free: 15.7 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.5466, allocations: 0.6284 MB / 0.5782 GB, free: 15.07 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.5505, allocations: 4.38 MB / 0.5825 GB, free: 10.35 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.5513, allocations: 83.83 kB / 0.5826 GB, free: 10.27 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.5514, allocations: 28 kB / 0.5826 GB, free: 10.24 MB / 395.1 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 () * 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.0002153/0.5516, allocations: 128.7 kB / 0.5827 GB, free: 10.11 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.5518, allocations: 63.2 kB / 0.5828 GB, free: 10.04 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.5544, allocations: 1.457 MB / 0.5842 GB, free: 8.57 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-05/0.5545, allocations: 35.97 kB / 0.5842 GB, free: 8.535 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5545, allocations: 0 / 0.5842 GB, free: 8.535 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.5546, allocations: 7.984 kB / 0.5843 GB, free: 8.527 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/0.5592, allocations: 2.707 MB / 0.5869 GB, free: 5.758 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5592, allocations: 4 kB / 0.5869 GB, free: 5.754 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/0.5623, allocations: 0.6869 MB / 0.5876 GB, free: 5.066 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.5624, allocations: 4 kB / 0.5876 GB, free: 5.062 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.376e-05/0.5624, allocations: 8 kB / 0.5876 GB, free: 5.055 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.5625, allocations: 7.984 kB / 0.5876 GB, free: 5.047 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.5625, allocations: 11.92 kB / 0.5876 GB, free: 5.035 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.5659, allocations: 2.484 MB / 0.59 GB, free: 2.457 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.5661, allocations: 128.4 kB / 0.5902 GB, free: 2.312 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5662, allocations: 11.94 kB / 0.5902 GB, free: 2.301 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.5668, allocations: 75.89 kB / 0.5902 GB, free: 2.227 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.567, allocations: 76.67 kB / 0.5903 GB, free: 2.152 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.5671, allocations: 24 kB / 0.5903 GB, free: 2.129 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.5674, allocations: 216.6 kB / 0.5905 GB, free: 1.918 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.5674, allocations: 0 / 0.5905 GB, free: 1.918 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0008655/0.5682, allocations: 231.9 kB / 0.5908 GB, free: 1.691 MB / 395.1 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 () * 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.0003053/0.5685, allocations: 167 kB / 0.5909 GB, free: 1.516 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003343/0.5719, allocations: 1.645 MB / 0.5925 GB, free: 15.88 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5719, allocations: 4 kB / 0.5925 GB, free: 15.87 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/0.5747, allocations: 1.144 MB / 0.5936 GB, free: 14.73 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.5754, allocations: 97.23 kB / 0.5937 GB, free: 14.64 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.5801, allocations: 2.195 MB / 0.5959 GB, free: 12.38 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.5808, allocations: 1.095 MB / 0.597 GB, free: 11.26 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0008589/0.5817, allocations: 269.1 kB / 0.5972 GB, free: 11 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.582, allocations: 55.42 kB / 0.5973 GB, free: 10.94 MB / 411.1 MB Notification: Performance of SimCode: time 8.31e-07/0.582, allocations: 0 / 0.5973 GB, free: 10.94 MB / 411.1 MB Notification: Performance of Templates: time 0.01546/0.5975, allocations: 8.585 MB / 0.6056 GB, free: 2.387 MB / 411.1 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)