Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadModel(PowerSystems): time 2.194/2.194, allocations: 233 MB / 246.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.341e-05, allocations: 4 kB / 302.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 53.23 MB / 355.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.5063, allocations: 96.94 MB / 452.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5066, allocations: 95.94 kB / 452.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0652/0.5719, allocations: 15.6 MB / 468.1 MB, free: 5.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.099e-06/0.5719, allocations: 4 kB / 468.1 MB, free: 5.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.894e-05/0.572, allocations: 15.94 kB / 468.1 MB, free: 5.094 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.002828/0.5748, allocations: 1.05 MB / 469.1 MB, free: 3.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5749, allocations: 8.031 kB / 469.1 MB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.5752, allocations: 83.16 kB / 469.2 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00469/0.5799, allocations: 1.207 MB / 470.4 MB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006372/0.5806, allocations: 347.5 kB / 470.8 MB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.5808, allocations: 63.92 kB / 470.8 MB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.5829, allocations: 0.8914 MB / 471.7 MB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.583, allocations: 0 / 471.7 MB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.5831, allocations: 24 kB / 471.8 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.5831, allocations: 16 kB / 471.8 MB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.5851, allocations: 0.8257 MB / 472.6 MB, free: 404 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006972/0.5921, allocations: 3.258 MB / 475.9 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.5935, allocations: 0.5579 MB / 476.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/0.5945, allocations: 393.6 kB / 476.8 MB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.5946, allocations: 8.438 kB / 476.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.5956, allocations: 484.9 kB / 477.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 4.39e-06/0.5956, allocations: 0 / 477.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001747/0.5974, allocations: 0.6636 MB / 477.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.5976, allocations: 148.6 kB / 478.1 MB, free: 10.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.5982, allocations: 339.1 kB / 478.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.617e-05/0.5983, allocations: 38.27 kB / 478.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.5986, allocations: 292.3 kB / 478.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.5989, allocations: 165.7 kB / 478.9 MB, free: 9.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.5989, allocations: 12 kB / 478.9 MB, free: 9.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.5992, allocations: 358.8 kB / 479.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007513/0.5999, allocations: 333.2 kB / 479.6 MB, free: 9.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000831/0.6008, allocations: 442.6 kB / 480 MB, free: 8.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.6015, allocations: 344.8 kB / 480.4 MB, free: 8.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.274e-06/0.6016, allocations: 0 / 480.4 MB, free: 8.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001969/0.6035, allocations: 0.8435 MB / 481.2 MB, free: 7.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/0.6037, allocations: 49.69 kB / 481.2 MB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.6037, allocations: 4 kB / 481.3 MB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.6037, allocations: 4 kB / 481.3 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007428/0.6111, allocations: 1.589 MB / 482.8 MB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006898/0.6181, allocations: 4.079 MB / 486.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.6192, allocations: 135.5 kB / 487.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.6194, allocations: 43.97 kB / 487.1 MB, free: 1.363 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.0002708/0.6196, allocations: 146.5 kB / 487.2 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6198, allocations: 47.44 kB / 487.3 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.6215, allocations: 0.7124 MB / 488 MB, free: 452 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6216, allocations: 11.95 kB / 488 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-06/0.6216, allocations: 0 / 488 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.6216, allocations: 3.984 kB / 488 MB, free: 436 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.6255, allocations: 1.874 MB / 489.9 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.606e-06/0.6255, allocations: 3.984 kB / 489.9 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009049/0.6346, allocations: 1.838 MB / 491.7 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.6346, allocations: 4 kB / 491.7 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.6348, allocations: 16.92 kB / 491.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.955e-06/0.6348, allocations: 4 kB / 491.8 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6348, allocations: 0 / 491.8 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.6376, allocations: 1.364 MB / 493.1 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/0.6381, allocations: 200.5 kB / 493.3 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.6383, allocations: 31.98 kB / 493.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000991/0.6393, allocations: 123.9 kB / 493.5 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.6396, allocations: 91.8 kB / 493.6 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.6397, allocations: 15.98 kB / 493.6 MB, free: 10.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004438/0.6402, allocations: 265.2 kB / 493.8 MB, free: 10.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.6402, allocations: 3.938 kB / 493.8 MB, free: 10.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009304/0.6411, allocations: 187.5 kB / 494 MB, free: 10.24 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.0003167/0.6415, allocations: 151.1 kB / 494.2 MB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007581/0.6491, allocations: 2.05 MB / 496.2 MB, free: 8.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.622e-06/0.6491, allocations: 4 kB / 496.2 MB, free: 8.016 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003927/0.6531, allocations: 0.9963 MB / 497.2 MB, free: 7.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009316/0.654, allocations: 119.8 kB / 497.3 MB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.658, allocations: 1.299 MB / 498.6 MB, free: 5.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.6588, allocations: 0.9372 MB / 499.6 MB, free: 4.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008827/0.6597, allocations: 156.6 kB / 499.7 MB, free: 4.438 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.66, allocations: 43.44 kB / 499.8 MB, free: 4.395 MB / 426.7 MB Notification: Performance of SimCode: time 1.932e-06/0.66, allocations: 0 / 499.8 MB, free: 4.395 MB / 426.7 MB Notification: Performance of Templates: time 0.02126/0.6812, allocations: 7.907 MB / 0.4958 GB, free: 12.53 MB / 442.7 MB