Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadModel(PowerSystems): time 2.174/2.174, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.792e-05, allocations: 0 / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08838, allocations: 53.24 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.4679, allocations: 106 MB / 460.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.4683, allocations: 91.2 kB / 460.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09212/0.5604, allocations: 21.77 MB / 482.4 MB, free: 5.891 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.471e-06/0.5604, allocations: 0 / 482.4 MB, free: 5.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5e-05/0.5605, allocations: 12 kB / 482.4 MB, free: 5.879 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.002198/0.5627, allocations: 0.946 MB / 483.3 MB, free: 4.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5628, allocations: 12.03 kB / 483.4 MB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/0.5637, allocations: 130.8 kB / 483.5 MB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.5676, allocations: 1.136 MB / 484.6 MB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/0.5676, allocations: 53.3 kB / 484.7 MB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.5678, allocations: 68 kB / 484.7 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5699, allocations: 0.9729 MB / 485.7 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.57, allocations: 7.938 kB / 485.7 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.5701, allocations: 31.98 kB / 485.8 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.5703, allocations: 61.28 kB / 485.8 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.5723, allocations: 0.9108 MB / 486.7 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006477/0.5788, allocations: 3.213 MB / 489.9 MB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.5804, allocations: 0.6823 MB / 490.6 MB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.5813, allocations: 443.5 kB / 491.1 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.5814, allocations: 12.55 kB / 491.1 MB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.5815, allocations: 43.11 kB / 491.1 MB, free: 12.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.825e-06/0.5815, allocations: 7.938 kB / 491.1 MB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=79): time 0.004546/0.586, allocations: 2.088 MB / 493.2 MB, free: 10.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.5861, allocations: 89.66 kB / 493.3 MB, free: 10.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.5868, allocations: 367.1 kB / 493.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.5868, allocations: 41.7 kB / 493.7 MB, free: 10.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.5871, allocations: 382.3 kB / 494.1 MB, free: 9.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.5874, allocations: 279.9 kB / 494.3 MB, free: 9.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.5875, allocations: 16 kB / 494.4 MB, free: 9.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.5877, allocations: 342.8 kB / 494.7 MB, free: 9.203 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.5885, allocations: 345.7 kB / 495 MB, free: 8.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/0.5894, allocations: 0.5027 MB / 495.5 MB, free: 8.297 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.02909/0.6185, allocations: 2.747 MB / 498.3 MB, free: 5.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/0.6186, allocations: 4 kB / 498.3 MB, free: 5.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005065/0.6237, allocations: 1.061 MB / 499.3 MB, free: 4.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.6237, allocations: 4 kB / 499.3 MB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.6238, allocations: 7.938 kB / 499.4 MB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.6242, allocations: 40.84 kB / 499.4 MB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/0.6266, allocations: 199.7 kB / 499.6 MB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.6297, allocations: 1.394 MB / 0.4892 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.6311, allocations: 35.97 kB / 0.4893 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.6313, allocations: 35.94 kB / 0.4893 GB, free: 2.586 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.0004934/0.6318, allocations: 156.8 kB / 0.4895 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.6322, allocations: 67.23 kB / 0.4895 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/0.6371, allocations: 0.9969 MB / 0.4905 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/0.6373, allocations: 27.94 kB / 0.4905 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.6373, allocations: 4 kB / 0.4905 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.6374, allocations: 7.984 kB / 0.4905 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.6476, allocations: 2.056 MB / 0.4925 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/0.6477, allocations: 4 kB / 0.4925 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/0.65, allocations: 167.7 kB / 0.4927 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.6503, allocations: 37.41 kB / 0.4927 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/0.6505, allocations: 27.98 kB / 0.4928 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/0.6535, allocations: 1.393 MB / 0.4941 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/0.6535, allocations: 4 kB / 0.4941 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006693/0.6602, allocations: 1.808 MB / 0.4959 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.6607, allocations: 132.3 kB / 0.496 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.661, allocations: 32.69 kB / 0.4961 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.6622, allocations: 31.97 kB / 0.4961 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.6626, allocations: 72.31 kB / 0.4962 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.6628, allocations: 28.12 kB / 0.4962 GB, free: 11.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000992/0.6638, allocations: 289.2 kB / 0.4965 GB, free: 10.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.34e-06/0.6638, allocations: 0 / 0.4965 GB, free: 10.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002281/0.6661, allocations: 195.9 kB / 0.4966 GB, free: 10.54 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.0006594/0.6668, allocations: 176.6 kB / 0.4968 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004286/0.6711, allocations: 0.9483 MB / 0.4977 GB, free: 9.398 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.6712, allocations: 0 / 0.4977 GB, free: 9.398 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.6733, allocations: 0.5234 MB / 0.4982 GB, free: 8.867 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.6745, allocations: 127.1 kB / 0.4984 GB, free: 8.746 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.678, allocations: 1.75 MB / 0.5001 GB, free: 6.906 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009044/0.6789, allocations: 1.029 MB / 0.5011 GB, free: 5.844 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.6793, allocations: 63.42 kB / 0.5011 GB, free: 5.781 MB / 442.7 MB Notification: Performance of SimCode: time 1.522e-06/0.6793, allocations: 0 / 0.5011 GB, free: 5.781 MB / 442.7 MB Notification: Performance of Templates: time 0.02082/0.7001, allocations: 11.76 MB / 0.5126 GB, free: 10.03 MB / 458.7 MB