Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadModel(PowerSystems): time 2.308/2.308, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.559e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.09284, allocations: 53.24 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3746/0.4675, allocations: 95.92 MB / 451.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.4678, allocations: 91.94 kB / 451.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06622/0.5341, allocations: 15.26 MB / 466.7 MB, free: 6.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.918e-06/0.5341, allocations: 0 / 466.7 MB, free: 6.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.816e-05/0.5342, allocations: 12 kB / 466.7 MB, free: 6.312 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001889/0.5361, allocations: 0.8093 MB / 467.5 MB, free: 5.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5361, allocations: 8.031 kB / 467.5 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.5364, allocations: 67.16 kB / 467.6 MB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/0.5403, allocations: 1.058 MB / 468.7 MB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.5404, allocations: 41.69 kB / 468.7 MB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5405, allocations: 48 kB / 468.7 MB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.5419, allocations: 0.6121 MB / 469.4 MB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.5419, allocations: 4 kB / 469.4 MB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/0.542, allocations: 20 kB / 469.4 MB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5421, allocations: 12 kB / 469.4 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.5432, allocations: 497.7 kB / 469.9 MB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/0.5478, allocations: 2.254 MB / 472.1 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.5489, allocations: 466.6 kB / 472.6 MB, free: 204 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008501/0.5498, allocations: 333.7 kB / 472.9 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.5499, allocations: 8 kB / 472.9 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.5499, allocations: 38.56 kB / 473 MB, free: 15.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 4.07e-06/0.5499, allocations: 0 / 473 MB, free: 15.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.003258/0.5532, allocations: 1.339 MB / 474.3 MB, free: 14.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.5533, allocations: 81.11 kB / 474.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.5539, allocations: 367 kB / 474.7 MB, free: 13.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.554, allocations: 33.7 kB / 474.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.5543, allocations: 296.5 kB / 475.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.5545, allocations: 161.6 kB / 475.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.5545, allocations: 12 kB / 475.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.5548, allocations: 370.8 kB / 475.6 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.5552, allocations: 173.1 kB / 475.8 MB, free: 12.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.5557, allocations: 303.1 kB / 476.1 MB, free: 12.57 MB / 410.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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.5585, allocations: 0.742 MB / 476.8 MB, free: 11.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.956e-06/0.5585, allocations: 0 / 476.8 MB, free: 11.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001681/0.5602, allocations: 0.6796 MB / 477.5 MB, free: 11.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5603, allocations: 7.938 kB / 477.5 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5603, allocations: 4 kB / 477.5 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.5608, allocations: 134 kB / 477.6 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.5615, allocations: 112 kB / 477.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.5653, allocations: 2.342 MB / 480.1 MB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.5658, allocations: 20.03 kB / 480.1 MB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.5659, allocations: 23.98 kB / 480.1 MB, free: 8.344 MB / 410.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[1] = ind.i_start[1]. 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 (54): * Single equations (assignments): 53 * Array equations: 0 * 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 {(3,88.9%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.5661, allocations: 136.9 kB / 480.3 MB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5663, allocations: 51.34 kB / 480.3 MB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.5679, allocations: 0.6358 MB / 480.9 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5679, allocations: 4 kB / 480.9 MB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.5679, allocations: 4 kB / 480.9 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.568, allocations: 11.92 kB / 481 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.5711, allocations: 1.342 MB / 482.3 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.096e-06/0.5711, allocations: 4 kB / 482.3 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.5716, allocations: 75.89 kB / 482.4 MB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005774/0.5722, allocations: 138.6 kB / 482.5 MB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.5723, allocations: 8.156 kB / 482.5 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/0.576, allocations: 2.335 MB / 484.9 MB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.745e-06/0.5761, allocations: 0 / 484.9 MB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.5782, allocations: 1.038 MB / 485.9 MB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.5785, allocations: 128.5 kB / 486 MB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.5786, allocations: 8 kB / 486 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.579, allocations: 21.39 kB / 486 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5791, allocations: 43.75 kB / 486.1 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.777e-05/0.5791, allocations: 16 kB / 486.1 MB, free: 2.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004637/0.5796, allocations: 285.1 kB / 486.4 MB, free: 1.746 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.5796, allocations: 0 / 486.4 MB, free: 1.746 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00089/0.5805, allocations: 156 kB / 486.5 MB, free: 1.594 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * 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 {(3,88.9%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002465/0.5808, allocations: 127.2 kB / 486.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.5823, allocations: 0.6153 MB / 487.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.5823, allocations: 4.938 kB / 487.3 MB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008948/0.5832, allocations: 406.5 kB / 487.7 MB, free: 436 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/0.5841, allocations: 122 kB / 487.8 MB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.5864, allocations: 1.01 MB / 488.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.5872, allocations: 0.9452 MB / 489.8 MB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.5878, allocations: 100.7 kB / 489.8 MB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.5879, allocations: 43.42 kB / 489.9 MB, free: 14.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.75e-06/0.588, allocations: 0 / 489.9 MB, free: 14.13 MB / 426.7 MB Notification: Performance of Templates: time 0.01882/0.6068, allocations: 6.3 MB / 496.2 MB, free: 7.867 MB / 426.7 MB