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.0009797/0.0009797, 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.676/1.676, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001762/0.001762, allocations: 118.3 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.1771/0.1771, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.124e-05, allocations: 4 kB / 397.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3043, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4834/0.7877, allocations: 104.7 MB / 0.5424 GB, free: 29.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.7882, allocations: 91.17 kB / 0.5425 GB, free: 29.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0612/0.8494, allocations: 24.41 MB / 0.5663 GB, free: 24.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.8494, allocations: 0 / 0.5663 GB, free: 24.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.764e-05/0.8495, allocations: 15.31 kB / 0.5664 GB, free: 24.88 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.002386/0.8518, allocations: 1.204 MB / 0.5675 GB, free: 24.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8519, allocations: 7.75 kB / 0.5675 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/0.8526, allocations: 144.4 kB / 0.5677 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.8556, allocations: 1.246 MB / 0.5689 GB, free: 23.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.8558, allocations: 181.3 kB / 0.5691 GB, free: 23.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.8559, allocations: 79.19 kB / 0.5691 GB, free: 23.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.8578, allocations: 1.325 MB / 0.5704 GB, free: 22.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.8578, allocations: 3.875 kB / 0.5704 GB, free: 22.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.8579, allocations: 32.56 kB / 0.5705 GB, free: 22.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.8581, allocations: 76.08 kB / 0.5705 GB, free: 22.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.8598, allocations: 1.356 MB / 0.5719 GB, free: 22.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/0.8657, allocations: 4.445 MB / 0.5762 GB, free: 20.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.8672, allocations: 1.162 MB / 0.5773 GB, free: 20.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/0.868, allocations: 0.6856 MB / 0.578 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.8681, allocations: 15.97 kB / 0.578 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.8681, allocations: 46.59 kB / 0.5781 GB, free: 20.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.747e-06/0.8681, allocations: 0 / 0.5781 GB, free: 20.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.003654/0.8718, allocations: 2.789 MB / 0.5808 GB, free: 19.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.8719, allocations: 93.5 kB / 0.5809 GB, free: 19.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.8722, allocations: 349.1 kB / 0.5812 GB, free: 19.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.8723, allocations: 43.84 kB / 0.5813 GB, free: 19.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.8724, allocations: 338.7 kB / 0.5816 GB, free: 18.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.8726, allocations: 355.3 kB / 0.5819 GB, free: 18.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.8727, allocations: 21.64 kB / 0.5819 GB, free: 18.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.8728, allocations: 386.5 kB / 0.5823 GB, free: 18.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.8734, allocations: 0.5237 MB / 0.5828 GB, free: 18.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.8741, allocations: 0.6741 MB / 0.5835 GB, free: 18.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.8748, allocations: 0.6131 MB / 0.5841 GB, free: 17.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8748, allocations: 0 / 0.5841 GB, free: 17.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001624/0.8764, allocations: 1.348 MB / 0.5854 GB, free: 17.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.8765, allocations: 8.219 kB / 0.5854 GB, free: 17.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8765, allocations: 0 / 0.5854 GB, free: 17.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.8765, allocations: 15.66 kB / 0.5854 GB, free: 17.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.879, allocations: 0.628 MB / 0.586 GB, free: 17.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.8819, allocations: 4.554 MB / 0.5905 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.8827, allocations: 91.8 kB / 0.5906 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.8828, allocations: 38.7 kB / 0.5906 GB, free: 13.26 MB / 378.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 () * 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.0001746/0.883, allocations: 148.6 kB / 0.5908 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.8831, allocations: 62.25 kB / 0.5908 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.885, allocations: 1.351 MB / 0.5921 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/0.885, allocations: 26.86 kB / 0.5922 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.885, allocations: 0 / 0.5922 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.885, allocations: 7.734 kB / 0.5922 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.8886, allocations: 2.672 MB / 0.5948 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8886, allocations: 0 / 0.5948 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/0.8915, allocations: 0.692 MB / 0.5954 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.8915, allocations: 6.406 kB / 0.5955 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.8916, allocations: 17.12 kB / 0.5955 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.8916, allocations: 10.44 kB / 0.5955 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8916, allocations: 0 / 0.5955 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.8943, allocations: 2.331 MB / 0.5978 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.8945, allocations: 134.2 kB / 0.5979 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.8946, allocations: 17.38 kB / 0.5979 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.8952, allocations: 86.14 kB / 0.598 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.8954, allocations: 84.62 kB / 0.5981 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.8954, allocations: 20.62 kB / 0.5981 GB, free: 10.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002838/0.8957, allocations: 273.3 kB / 0.5983 GB, free: 10.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8957, allocations: 0 / 0.5983 GB, free: 10.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008291/0.8966, allocations: 261.1 kB / 0.5986 GB, free: 10.82 MB / 378.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 () * 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.0003107/0.8969, allocations: 176.8 kB / 0.5988 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.8999, allocations: 1.648 MB / 0.6004 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.9, allocations: 4.375 kB / 0.6004 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.9025, allocations: 1.143 MB / 0.6015 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.9033, allocations: 145.7 kB / 0.6016 GB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.9074, allocations: 2.23 MB / 0.6038 GB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.9079, allocations: 1.099 MB / 0.6049 GB, free: 6.246 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007477/0.9086, allocations: 269.7 kB / 0.6051 GB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.9089, allocations: 59.42 kB / 0.6052 GB, free: 5.922 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.9089, allocations: 0 / 0.6052 GB, free: 5.922 MB / 378.7 MB Notification: Performance of Templates: time 0.01659/0.9255, allocations: 9.643 MB / 0.6146 GB, free: 12.29 MB / 394.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)