Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadModel(PowerSystems): time 2.12/2.12, allocations: 233 MB / 245.6 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.257e-05, allocations: 8 kB / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08953, allocations: 53.24 MB / 354.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5002, allocations: 94.79 MB / 449.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5005, allocations: 87.95 kB / 449.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05887/0.5594, allocations: 14.5 MB / 463.9 MB, free: 8.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.069e-06/0.5595, allocations: 4 kB / 463.9 MB, free: 8.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.2e-05/0.5595, allocations: 12 kB / 463.9 MB, free: 8.492 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001941/0.5615, allocations: 0.8647 MB / 464.7 MB, free: 7.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5615, allocations: 8.031 kB / 464.7 MB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.5617, allocations: 75.09 kB / 464.8 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.5654, allocations: 1.098 MB / 465.9 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.5656, allocations: 121.4 kB / 466 MB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.5658, allocations: 55.95 kB / 466.1 MB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.5674, allocations: 0.714 MB / 466.8 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5674, allocations: 4 kB / 466.8 MB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.5675, allocations: 27.98 kB / 466.8 MB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.5675, allocations: 15.94 kB / 466.9 MB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.569, allocations: 0.6149 MB / 467.5 MB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005075/0.5741, allocations: 2.633 MB / 470.1 MB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.5757, allocations: 0.7105 MB / 470.8 MB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/0.5765, allocations: 356.1 kB / 471.2 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.5765, allocations: 4.438 kB / 471.2 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.5766, allocations: 42.98 kB / 471.2 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 4.052e-06/0.5766, allocations: 4 kB / 471.2 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of matching and sorting (n=51): time 0.00342/0.58, allocations: 1.509 MB / 472.7 MB, free: 15.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.5801, allocations: 85.48 kB / 472.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.5807, allocations: 351 kB / 473.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.5807, allocations: 42.3 kB / 473.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.581, allocations: 330.9 kB / 473.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.5812, allocations: 173.5 kB / 473.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.5813, allocations: 12 kB / 473.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5815, allocations: 330.8 kB / 474 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.582, allocations: 229 kB / 474.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.5826, allocations: 334.4 kB / 474.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.5832, allocations: 267.2 kB / 474.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5832, allocations: 0 / 474.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001609/0.5848, allocations: 0.7475 MB / 475.6 MB, free: 12.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5849, allocations: 8 kB / 475.6 MB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5849, allocations: 7.984 kB / 475.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.5852, allocations: 69.67 kB / 475.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.5872, allocations: 395.8 kB / 476 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/0.5937, allocations: 5.874 MB / 481.9 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.5943, allocations: 47.95 kB / 482 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.5944, allocations: 20 kB / 482 MB, free: 5.371 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.5946, allocations: 143.7 kB / 482.1 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5948, allocations: 47.34 kB / 482.2 MB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.5964, allocations: 0.746 MB / 482.9 MB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.202e-06/0.5964, allocations: 4 kB / 482.9 MB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5965, allocations: 0 / 482.9 MB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5965, allocations: 9.203 kB / 482.9 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.5999, allocations: 1.595 MB / 484.5 MB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.533e-06/0.5999, allocations: 0 / 484.5 MB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/0.6021, allocations: 435.7 kB / 485 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/0.6025, allocations: 77.59 kB / 485 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.6025, allocations: 15.94 kB / 485 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.6055, allocations: 2.849 MB / 487.9 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.815e-06/0.6055, allocations: 3.938 kB / 487.9 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.6079, allocations: 1.261 MB / 489.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.6081, allocations: 124.5 kB / 489.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.6082, allocations: 23.98 kB / 489.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.6087, allocations: 39.97 kB / 489.3 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.6089, allocations: 47.92 kB / 489.4 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.6089, allocations: 20.66 kB / 489.4 MB, free: 13.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004428/0.6094, allocations: 269.2 kB / 489.7 MB, free: 13.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.76e-07/0.6094, allocations: 0 / 489.7 MB, free: 13.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009119/0.6103, allocations: 159.9 kB / 489.8 MB, free: 12.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002485/0.6106, allocations: 135.1 kB / 490 MB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002721/0.6133, allocations: 1.008 MB / 491 MB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.665e-06/0.6134, allocations: 1.688 kB / 491 MB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00232/0.6157, allocations: 0.8081 MB / 491.8 MB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.6165, allocations: 121.4 kB / 491.9 MB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.6199, allocations: 1.345 MB / 493.2 MB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.6207, allocations: 0.9603 MB / 494.2 MB, free: 8.496 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.6209, allocations: 43.44 kB / 494.2 MB, free: 8.453 MB / 426.7 MB Notification: Performance of SimCode: time 1.782e-06/0.621, allocations: 0 / 494.2 MB, free: 8.453 MB / 426.7 MB Notification: Performance of Templates: time 0.02496/0.6459, allocations: 15.97 MB / 0.4982 GB, free: 8.477 MB / 442.7 MB