Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadModel(PowerSystems): time 2.217/2.217, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.212e-05, allocations: 7.938 kB / 301.3 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08766, allocations: 53.23 MB / 354.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.4562, allocations: 96.95 MB / 451.4 MB, free: 5.102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.4566, allocations: 91.94 kB / 451.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06276/0.5193, allocations: 15.6 MB / 467.1 MB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.992e-06/0.5194, allocations: 0 / 467.1 MB, free: 5.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.083e-05/0.5195, allocations: 15.94 kB / 467.1 MB, free: 5.234 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002595/0.5221, allocations: 1.038 MB / 468.2 MB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5221, allocations: 8.031 kB / 468.2 MB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.5224, allocations: 83.16 kB / 468.3 MB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/0.5267, allocations: 1.219 MB / 469.5 MB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005898/0.5273, allocations: 347.5 kB / 469.8 MB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.5275, allocations: 67.86 kB / 469.9 MB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.5294, allocations: 0.8941 MB / 470.8 MB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.5295, allocations: 3.938 kB / 470.8 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.5296, allocations: 28 kB / 470.8 MB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.5296, allocations: 12 kB / 470.8 MB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.5316, allocations: 0.8218 MB / 471.7 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006544/0.5381, allocations: 3.255 MB / 474.9 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.5395, allocations: 0.5345 MB / 475.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008917/0.5404, allocations: 410.9 kB / 475.8 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.5405, allocations: 12.36 kB / 475.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009698/0.5415, allocations: 484.9 kB / 476.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.851e-06/0.5415, allocations: 0 / 476.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001662/0.5432, allocations: 0.6637 MB / 477 MB, free: 11.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.5433, allocations: 148.4 kB / 477.1 MB, free: 10.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.5439, allocations: 335.1 kB / 477.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.124e-05/0.544, allocations: 41.69 kB / 477.5 MB, free: 10.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.5443, allocations: 334.8 kB / 477.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.5445, allocations: 161.7 kB / 478 MB, free: 10 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.133e-05/0.5446, allocations: 12 kB / 478 MB, free: 9.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5448, allocations: 334.9 kB / 478.3 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/0.5455, allocations: 337.2 kB / 478.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.5464, allocations: 437.4 kB / 479.1 MB, free: 8.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/0.5471, allocations: 349.5 kB / 479.4 MB, free: 8.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.561e-06/0.5471, allocations: 0 / 479.4 MB, free: 8.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001875/0.549, allocations: 0.8126 MB / 480.2 MB, free: 7.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.409e-05/0.5491, allocations: 49.69 kB / 480.3 MB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.282e-06/0.5491, allocations: 0 / 480.3 MB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.5492, allocations: 8.375 kB / 480.3 MB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007329/0.5565, allocations: 1.596 MB / 481.9 MB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006839/0.5634, allocations: 4.075 MB / 486 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/0.5644, allocations: 140.8 kB / 486.1 MB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.5646, allocations: 39.97 kB / 486.1 MB, free: 1.516 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: 14 ($whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002718/0.5648, allocations: 158.5 kB / 486.3 MB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.565, allocations: 47.44 kB / 486.3 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.5667, allocations: 0.7039 MB / 487 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5667, allocations: 4 kB / 487.1 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.054e-06/0.5667, allocations: 4 kB / 487.1 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5667, allocations: 3.984 kB / 487.1 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.5704, allocations: 1.87 MB / 488.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.299e-06/0.5705, allocations: 4 kB / 488.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00885/0.5793, allocations: 1.834 MB / 490.8 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.5794, allocations: 7.938 kB / 490.8 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.5795, allocations: 11.98 kB / 490.8 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.77e-06/0.5795, allocations: 4 kB / 490.8 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.196e-06/0.5795, allocations: 7.938 kB / 490.8 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.5823, allocations: 1.367 MB / 492.2 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/0.5827, allocations: 200.5 kB / 492.4 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.5829, allocations: 27.98 kB / 492.4 MB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/0.5838, allocations: 123.9 kB / 492.5 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.5841, allocations: 95.73 kB / 492.6 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.5842, allocations: 20 kB / 492.6 MB, free: 10.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.5846, allocations: 265.2 kB / 492.9 MB, free: 10.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5847, allocations: 0 / 492.9 MB, free: 10.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008657/0.5855, allocations: 191.5 kB / 493.1 MB, free: 10.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002835/0.5858, allocations: 146.1 kB / 493.2 MB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00708/0.5929, allocations: 2.058 MB / 495.3 MB, free: 8.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.214e-06/0.593, allocations: 320 / 495.3 MB, free: 8.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.5965, allocations: 0.9609 MB / 496.2 MB, free: 7.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008288/0.5974, allocations: 115.3 kB / 496.3 MB, free: 7.086 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.6012, allocations: 1.34 MB / 497.7 MB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.602, allocations: 0.945 MB / 498.6 MB, free: 4.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.6023, allocations: 43.42 kB / 498.7 MB, free: 4.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.599e-06/0.6023, allocations: 3.938 kB / 498.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of Templates: time 0.01892/0.6213, allocations: 11.04 MB / 0.4978 GB, free: 9.645 MB / 442.7 MB