Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadModel(PowerSystems): time 2.359/2.359, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.912e-05, allocations: 3.938 kB / 302.2 MB, free: 7.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09183, allocations: 53.23 MB / 355.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/0.4792, allocations: 106 MB / 461.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.4795, allocations: 94.94 kB / 461.6 MB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09244/0.572, allocations: 21.76 MB / 483.3 MB, free: 5.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.218e-06/0.572, allocations: 4 kB / 483.3 MB, free: 5.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.185e-05/0.5721, allocations: 12 kB / 483.3 MB, free: 5.578 MB / 410.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.00234/0.5744, allocations: 0.9487 MB / 484.3 MB, free: 4.586 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5745, allocations: 16.03 kB / 484.3 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.5754, allocations: 126.8 kB / 484.4 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.5797, allocations: 1.143 MB / 485.6 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.5798, allocations: 53.31 kB / 485.6 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.58, allocations: 67.92 kB / 485.7 MB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.5822, allocations: 0.9807 MB / 486.7 MB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.5823, allocations: 0 / 486.7 MB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.5824, allocations: 24 kB / 486.7 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/0.5826, allocations: 65.28 kB / 486.8 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.5847, allocations: 0.9167 MB / 487.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007073/0.5918, allocations: 3.206 MB / 490.9 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.5935, allocations: 0.6823 MB / 491.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009255/0.5945, allocations: 440.3 kB / 492 MB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/0.5946, allocations: 12.56 kB / 492 MB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.5946, allocations: 50.98 kB / 492.1 MB, free: 12.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.503e-06/0.5946, allocations: 4 kB / 492.1 MB, free: 12.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=79): time 0.004887/0.5995, allocations: 2.085 MB / 494.1 MB, free: 10.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.5996, allocations: 89.66 kB / 494.2 MB, free: 10.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.6003, allocations: 378.2 kB / 494.6 MB, free: 9.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.6004, allocations: 37.7 kB / 494.6 MB, free: 9.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.6007, allocations: 343.8 kB / 495 MB, free: 9.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.6011, allocations: 276 kB / 495.2 MB, free: 9.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.6012, allocations: 19.98 kB / 495.3 MB, free: 9.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.6014, allocations: 374.8 kB / 495.6 MB, free: 8.898 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000774/0.6022, allocations: 345.7 kB / 496 MB, free: 8.559 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009229/0.6031, allocations: 0.4988 MB / 496.5 MB, free: 7.996 MB / 426.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.01175/0.6149, allocations: 2.751 MB / 499.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.6149, allocations: 7.953 kB / 499.2 MB, free: 5.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002483/0.6174, allocations: 1.079 MB / 0.4886 GB, free: 4.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.6175, allocations: 11.94 kB / 0.4886 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.6175, allocations: 4 kB / 0.4886 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.6177, allocations: 36.83 kB / 0.4886 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.6189, allocations: 199.7 kB / 0.4888 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.6205, allocations: 1.386 MB / 0.4902 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.6213, allocations: 51.89 kB / 0.4902 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.6214, allocations: 28 kB / 0.4902 GB, free: 2.258 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.6217, allocations: 157.4 kB / 0.4904 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.6219, allocations: 59.25 kB / 0.4905 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.6242, allocations: 1.015 MB / 0.4914 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/0.6243, allocations: 19.95 kB / 0.4915 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.6243, allocations: 3.984 kB / 0.4915 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.6243, allocations: 0 / 0.4915 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00513/0.6294, allocations: 2.063 MB / 0.4935 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.6295, allocations: 4 kB / 0.4935 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.6306, allocations: 176.3 kB / 0.4937 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.6308, allocations: 32.84 kB / 0.4937 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.6309, allocations: 24 kB / 0.4937 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.6325, allocations: 1.386 MB / 0.4951 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/0.6325, allocations: 7.938 kB / 0.4951 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/0.6359, allocations: 1.81 MB / 0.4968 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.6362, allocations: 140.4 kB / 0.497 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.6363, allocations: 16 kB / 0.497 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.6369, allocations: 44.73 kB / 0.497 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.6371, allocations: 64.39 kB / 0.4971 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-05/0.6372, allocations: 27.98 kB / 0.4971 GB, free: 10.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004931/0.6377, allocations: 281.2 kB / 0.4974 GB, free: 10.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.6377, allocations: 0 / 0.4974 GB, free: 10.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001122/0.6388, allocations: 203.9 kB / 0.4976 GB, free: 10.21 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003822/0.6392, allocations: 172.8 kB / 0.4977 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.6415, allocations: 0.9521 MB / 0.4987 GB, free: 9.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.172e-06/0.6416, allocations: 0 / 0.4987 GB, free: 9.074 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.6428, allocations: 0.5271 MB / 0.4992 GB, free: 8.539 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.6438, allocations: 139.3 kB / 0.4993 GB, free: 8.406 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.6476, allocations: 1.674 MB / 0.501 GB, free: 6.648 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009423/0.6486, allocations: 1.037 MB / 0.502 GB, free: 5.578 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009326/0.6496, allocations: 197.3 kB / 0.5022 GB, free: 5.383 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.6499, allocations: 59.42 kB / 0.5022 GB, free: 5.324 MB / 442.7 MB Notification: Performance of SimCode: time 4.083e-06/0.6499, allocations: 0 / 0.5022 GB, free: 5.324 MB / 442.7 MB Notification: Performance of Templates: time 0.02177/0.6717, allocations: 7.517 MB / 0.5096 GB, free: 13.83 MB / 458.7 MB