Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001017/0.001017, allocations: 179.4 kB / 16.38 MB, free: 5.766 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.193/1.193, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001525/0.001525, allocations: 114.8 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1594/0.1594, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003423, allocations: 12 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.079, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3005/0.3796, allocations: 106.1 MB / 0.5499 GB, free: 5.492 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.3799, allocations: 98.5 kB / 0.55 GB, free: 5.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05822/0.4381, allocations: 21.85 MB / 0.5714 GB, free: 2.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4382, allocations: 0 / 0.5714 GB, free: 2.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.744e-05/0.4382, allocations: 19.94 kB / 0.5714 GB, free: 2.648 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00188/0.4401, allocations: 1.013 MB / 0.5724 GB, free: 1.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4401, allocations: 12.02 kB / 0.5724 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000612/0.4408, allocations: 134.8 kB / 0.5725 GB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.4433, allocations: 1.155 MB / 0.5736 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.4433, allocations: 52.44 kB / 0.5737 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.4435, allocations: 68.48 kB / 0.5738 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.4448, allocations: 0.9904 MB / 0.5747 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4448, allocations: 7.938 kB / 0.5747 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.4449, allocations: 26.12 kB / 0.5748 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.4451, allocations: 64.89 kB / 0.5748 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.4463, allocations: 0.9436 MB / 0.5757 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0041/0.4504, allocations: 3.211 MB / 0.5789 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009732/0.4514, allocations: 0.7082 MB / 0.5796 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.4515, allocations: 8.625 kB / 0.5796 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4515, allocations: 35 kB / 0.5796 GB, free: 11.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 2.064e-06/0.4515, allocations: 0 / 0.5796 GB, free: 11.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.003483/0.455, allocations: 2.775 MB / 0.5823 GB, free: 9.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.4551, allocations: 89.66 kB / 0.5824 GB, free: 9.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.4554, allocations: 377.7 kB / 0.5828 GB, free: 8.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.4555, allocations: 36.58 kB / 0.5828 GB, free: 8.855 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.4557, allocations: 347.2 kB / 0.5831 GB, free: 8.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.4559, allocations: 270.8 kB / 0.5834 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.4559, allocations: 16.55 kB / 0.5834 GB, free: 8.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4561, allocations: 382.2 kB / 0.5838 GB, free: 8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.4565, allocations: 348.4 kB / 0.5841 GB, free: 7.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.4571, allocations: 0.5134 MB / 0.5846 GB, free: 7.32 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.00822/0.4653, allocations: 2.723 MB / 0.5873 GB, free: 4.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4653, allocations: 0 / 0.5873 GB, free: 4.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001477/0.4668, allocations: 1.095 MB / 0.5883 GB, free: 4.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4668, allocations: 19.88 kB / 0.5883 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4669, allocations: 4.625 kB / 0.5884 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.467, allocations: 36.66 kB / 0.5884 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.4678, allocations: 194.8 kB / 0.5886 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.4688, allocations: 1.343 MB / 0.5899 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.4693, allocations: 46.2 kB / 0.5899 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.4694, allocations: 30.75 kB / 0.59 GB, free: 2.324 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (94): * Single equations (assignments): 90 * Array equations: 3 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004133/0.4698, allocations: 271.4 kB / 0.5902 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4699, allocations: 63.2 kB / 0.5903 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.4713, allocations: 1.014 MB / 0.5913 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.4714, allocations: 16 kB / 0.5913 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.4714, allocations: 0 / 0.5913 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4714, allocations: 3.984 kB / 0.5913 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.4745, allocations: 2.09 MB / 0.5933 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.4745, allocations: 4 kB / 0.5933 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007198/0.4752, allocations: 170.6 kB / 0.5935 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.838e-05/0.4753, allocations: 31.86 kB / 0.5935 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.4754, allocations: 21.12 kB / 0.5935 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000853/0.4762, allocations: 1.331 MB / 0.5948 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.4762, allocations: 7.938 kB / 0.5949 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.4783, allocations: 1.829 MB / 0.5966 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.4785, allocations: 140.3 kB / 0.5968 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.4786, allocations: 31.98 kB / 0.5968 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.479, allocations: 35.95 kB / 0.5968 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4791, allocations: 64.39 kB / 0.5969 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.4792, allocations: 23.98 kB / 0.5969 GB, free: 11.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003155/0.4795, allocations: 291.1 kB / 0.5972 GB, free: 11.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4795, allocations: 0 / 0.5972 GB, free: 11.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007735/0.4803, allocations: 203.9 kB / 0.5974 GB, free: 11.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * 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 (77): * Single equations (assignments): 72 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003206/0.4806, allocations: 174.9 kB / 0.5976 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4821, allocations: 0.9705 MB / 0.5985 GB, free: 9.988 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4821, allocations: 0 / 0.5985 GB, free: 9.988 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.4828, allocations: 0.5486 MB / 0.599 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.4834, allocations: 130.9 kB / 0.5992 GB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.4864, allocations: 2.389 MB / 0.6015 GB, free: 6.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.487, allocations: 1.037 MB / 0.6025 GB, free: 5.758 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.4876, allocations: 193.3 kB / 0.6027 GB, free: 5.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.4878, allocations: 55.42 kB / 0.6028 GB, free: 5.512 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4878, allocations: 8 kB / 0.6028 GB, free: 5.504 MB / 410.7 MB Notification: Performance of Templates: time 0.01257/0.5003, allocations: 7.457 MB / 0.61 GB, free: 14.05 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1)