Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadModel(PowerSystems): time 2.39/2.39, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.328e-05, allocations: 0 / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09323, allocations: 53.24 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.5668, allocations: 92.95 MB / 448.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004429/0.5674, allocations: 95.92 kB / 448.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1069/0.6743, allocations: 16.1 MB / 464.6 MB, free: 8.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.6743, allocations: 0 / 464.6 MB, free: 8.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.015e-05/0.6744, allocations: 16 kB / 464.6 MB, free: 8.426 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.004318/0.6787, allocations: 0.8678 MB / 465.5 MB, free: 7.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.425e-05/0.6789, allocations: 12.03 kB / 465.5 MB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006664/0.6796, allocations: 71.16 kB / 465.5 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008186/0.6878, allocations: 1.149 MB / 466.7 MB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/0.6882, allocations: 120.7 kB / 466.8 MB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.6886, allocations: 52 kB / 466.9 MB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.6921, allocations: 0.7223 MB / 467.6 MB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.6922, allocations: 0 / 467.6 MB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.6924, allocations: 24 kB / 467.6 MB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.6925, allocations: 16 kB / 467.6 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.694, allocations: 0.5174 MB / 468.1 MB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005075/0.6991, allocations: 2.492 MB / 470.6 MB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.7002, allocations: 417.3 kB / 471 MB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.7007, allocations: 183.2 kB / 471.2 MB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.7008, allocations: 4.281 kB / 471.2 MB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/0.7013, allocations: 227.5 kB / 471.4 MB, free: 1.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 4.08e-06/0.7013, allocations: 0 / 471.4 MB, free: 1.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001454/0.7028, allocations: 435.5 kB / 471.9 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.7029, allocations: 136.5 kB / 472 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.7035, allocations: 351.1 kB / 472.3 MB, free: 332 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.7036, allocations: 29.7 kB / 472.4 MB, free: 296 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.7039, allocations: 316 kB / 472.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.7041, allocations: 122.3 kB / 472.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.7042, allocations: 8.031 kB / 472.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.7044, allocations: 354.8 kB / 473.2 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.7047, allocations: 116.9 kB / 473.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.7051, allocations: 233.1 kB / 473.5 MB, free: 15.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.7056, allocations: 144.6 kB / 473.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.362e-06/0.7056, allocations: 0 / 473.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001547/0.7071, allocations: 0.512 MB / 474.2 MB, free: 14.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7072, allocations: 8.406 kB / 474.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.7072, allocations: 8 kB / 474.2 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.7077, allocations: 132.7 kB / 474.3 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.7082, allocations: 83.89 kB / 474.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.7114, allocations: 1.937 MB / 476.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.712, allocations: 47.67 kB / 476.4 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.712, allocations: 23.94 kB / 476.4 MB, free: 12.07 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = "s" fixed = false protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = "s" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t0,chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.t1,chopper.chopper.gate,chopper.chopper.diode.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.7123, allocations: 137 kB / 476.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.7124, allocations: 55.38 kB / 476.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.7138, allocations: 442.8 kB / 477 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.011e-06/0.7138, allocations: 4 kB / 477 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.854e-06/0.7138, allocations: 7.984 kB / 477 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.43e-06/0.7138, allocations: 4 kB / 477 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.715, allocations: 0.6829 MB / 477.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.7151, allocations: 0 / 477.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.7155, allocations: 51.91 kB / 477.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.7159, allocations: 124.8 kB / 477.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.716, allocations: 8 kB / 477.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003082/0.719, allocations: 1.921 MB / 479.8 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.7191, allocations: 0 / 479.8 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.7209, allocations: 0.6805 MB / 480.5 MB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.7212, allocations: 148.5 kB / 480.6 MB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.7213, allocations: 11.98 kB / 480.6 MB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.7217, allocations: 15.98 kB / 480.7 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.7218, allocations: 39.89 kB / 480.7 MB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.7219, allocations: 16 kB / 480.7 MB, free: 7.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004627/0.7224, allocations: 273.2 kB / 481 MB, free: 7.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.7224, allocations: 0 / 481 MB, free: 7.195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009139/0.7233, allocations: 171.5 kB / 481.2 MB, free: 7.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.gate,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000262/0.7236, allocations: 135.1 kB / 481.3 MB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.7248, allocations: 465.8 kB / 481.7 MB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.673e-06/0.7248, allocations: 4.125 kB / 481.7 MB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.7254, allocations: 305.6 kB / 482 MB, free: 6.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008578/0.7263, allocations: 152.9 kB / 482.2 MB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.7285, allocations: 0.9009 MB / 483.1 MB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.7293, allocations: 0.9444 MB / 484 MB, free: 4.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004556/0.7298, allocations: 88.62 kB / 484.1 MB, free: 3.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.7299, allocations: 35.44 kB / 484.2 MB, free: 3.934 MB / 410.7 MB Notification: Performance of SimCode: time 2.354e-06/0.7299, allocations: 3.938 kB / 484.2 MB, free: 3.93 MB / 410.7 MB Notification: Performance of Templates: time 0.02183/0.7517, allocations: 7.807 MB / 492 MB, free: 12.18 MB / 426.7 MB