Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadModel(PowerSystems): time 2.235/2.235, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.996e-05, allocations: 4 kB / 301.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09055/0.09062, allocations: 53.24 MB / 354.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/0.508, allocations: 95.93 MB / 450.4 MB, free: 6.125 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5084, allocations: 91.95 kB / 450.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06438/0.5728, allocations: 15.26 MB / 465.8 MB, free: 6.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.118e-06/0.5728, allocations: 0 / 465.8 MB, free: 6.617 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.534e-05/0.5729, allocations: 15.98 kB / 465.8 MB, free: 6.602 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.001715/0.5746, allocations: 0.8014 MB / 466.6 MB, free: 5.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5747, allocations: 8.031 kB / 466.6 MB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.5748, allocations: 71.16 kB / 466.7 MB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/0.5785, allocations: 1.062 MB / 467.7 MB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.5786, allocations: 37.69 kB / 467.8 MB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5787, allocations: 48 kB / 467.8 MB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.5801, allocations: 0.6127 MB / 468.4 MB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.5801, allocations: 0 / 468.4 MB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.5802, allocations: 20 kB / 468.4 MB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.5802, allocations: 12 kB / 468.5 MB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.5813, allocations: 0.4899 MB / 468.9 MB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.5856, allocations: 2.258 MB / 471.2 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.5867, allocations: 462.9 kB / 471.7 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008038/0.5875, allocations: 337.6 kB / 472 MB, free: 160 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.5876, allocations: 4 kB / 472 MB, free: 156 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.5876, allocations: 38.5 kB / 472 MB, free: 108 kB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 3.717e-06/0.5877, allocations: 0 / 472 MB, free: 108 kB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.003181/0.5909, allocations: 1.335 MB / 473.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.591, allocations: 89.03 kB / 473.4 MB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.5916, allocations: 359 kB / 473.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.5916, allocations: 37.7 kB / 473.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.5919, allocations: 330.9 kB / 474.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.5921, allocations: 169.6 kB / 474.3 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.5921, allocations: 16.03 kB / 474.3 MB, free: 13.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.5923, allocations: 326.8 kB / 474.7 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.5927, allocations: 177.1 kB / 474.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.5932, allocations: 298.6 kB / 475.1 MB, free: 12.86 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.002654/0.5959, allocations: 0.7458 MB / 475.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5959, allocations: 0 / 475.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001591/0.5975, allocations: 0.6499 MB / 476.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5976, allocations: 8 kB / 476.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.5976, allocations: 4 kB / 476.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/0.5981, allocations: 136.8 kB / 476.7 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.5988, allocations: 112 kB / 476.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.6026, allocations: 2.338 MB / 479.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.6031, allocations: 24.03 kB / 479.1 MB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.6032, allocations: 21.5 kB / 479.2 MB, free: 8.664 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.0002075/0.6034, allocations: 140.8 kB / 479.3 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.6036, allocations: 51.34 kB / 479.3 MB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.6051, allocations: 0.6423 MB / 480 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6052, allocations: 4 kB / 480 MB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.448e-06/0.6052, allocations: 8 kB / 480 MB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6052, allocations: 3.984 kB / 480 MB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.6082, allocations: 1.342 MB / 481.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.475e-06/0.6083, allocations: 4 kB / 481.3 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.6088, allocations: 75.89 kB / 481.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005514/0.6093, allocations: 134.8 kB / 481.6 MB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.6094, allocations: 19.98 kB / 481.6 MB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/0.613, allocations: 2.327 MB / 483.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.485e-06/0.6131, allocations: 0 / 483.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.6152, allocations: 1.03 MB / 484.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.6154, allocations: 120.5 kB / 485 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.401e-05/0.6155, allocations: 17.44 kB / 485.1 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.6158, allocations: 12.11 kB / 485.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.616, allocations: 55.56 kB / 485.1 MB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.616, allocations: 12 kB / 485.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004519/0.6165, allocations: 289.1 kB / 485.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.6165, allocations: 0 / 485.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008911/0.6174, allocations: 148 kB / 485.6 MB, free: 1.918 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.0002355/0.6177, allocations: 131.5 kB / 485.7 MB, free: 1.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.6191, allocations: 0.6241 MB / 486.3 MB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.723e-06/0.6191, allocations: 0 / 486.3 MB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008775/0.62, allocations: 410.1 kB / 486.7 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.6208, allocations: 116.6 kB / 486.8 MB, free: 0.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.6232, allocations: 1.067 MB / 487.9 MB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/0.624, allocations: 0.9452 MB / 488.8 MB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.6242, allocations: 39.44 kB / 488.9 MB, free: 14.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.976e-06/0.6242, allocations: 0 / 488.9 MB, free: 14.49 MB / 426.7 MB Notification: Performance of Templates: time 0.01607/0.6403, allocations: 8.867 MB / 497.8 MB, free: 5.629 MB / 426.7 MB