Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadModel(PowerSystems): time 2.208/2.208, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.412e-05, allocations: 7.938 kB / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09106/0.09112, allocations: 53.24 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.457, allocations: 92.95 MB / 447.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4573, allocations: 95.92 kB / 447.5 MB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06232/0.5197, allocations: 16.09 MB / 463.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5197, allocations: 4 kB / 463.6 MB, free: 8.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.5198, allocations: 16.56 kB / 463.7 MB, free: 8.715 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.001913/0.5217, allocations: 0.8595 MB / 464.5 MB, free: 7.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5217, allocations: 12.02 kB / 464.5 MB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.522, allocations: 75.16 kB / 464.6 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.5258, allocations: 1.153 MB / 465.8 MB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.526, allocations: 116.7 kB / 465.9 MB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.5262, allocations: 61.44 kB / 465.9 MB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.5278, allocations: 0.7032 MB / 466.6 MB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.5278, allocations: 11.94 kB / 466.6 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.528, allocations: 27.98 kB / 466.7 MB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.528, allocations: 16 kB / 466.7 MB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.5293, allocations: 0.5212 MB / 467.2 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/0.5341, allocations: 2.496 MB / 469.7 MB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5352, allocations: 401.2 kB / 470.1 MB, free: 2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.5357, allocations: 191.2 kB / 470.3 MB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.5357, allocations: 4.281 kB / 470.3 MB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.5362, allocations: 219.5 kB / 470.5 MB, free: 1.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 3.772e-06/0.5362, allocations: 0 / 470.5 MB, free: 1.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001354/0.5376, allocations: 439.5 kB / 470.9 MB, free: 1.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.5377, allocations: 132.5 kB / 471.1 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.5383, allocations: 355.2 kB / 471.4 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.5383, allocations: 33.7 kB / 471.4 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.5386, allocations: 364 kB / 471.8 MB, free: 224 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.5388, allocations: 110.4 kB / 471.9 MB, free: 112 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.5388, allocations: 8 kB / 471.9 MB, free: 104 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.539, allocations: 330.8 kB / 472.2 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.5393, allocations: 112.9 kB / 472.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.5397, allocations: 233.1 kB / 472.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.5401, allocations: 152.6 kB / 472.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-06/0.5401, allocations: 0 / 472.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001371/0.5415, allocations: 489 kB / 473.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.5416, allocations: 8 kB / 473.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5416, allocations: 7.938 kB / 473.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.542, allocations: 132.9 kB / 473.3 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.5424, allocations: 84.55 kB / 473.4 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.5456, allocations: 1.932 MB / 475.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.5461, allocations: 51.58 kB / 475.4 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.5461, allocations: 20.06 kB / 475.4 MB, free: 12.39 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.0002026/0.5464, allocations: 141 kB / 475.6 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.5465, allocations: 47.39 kB / 475.6 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.5478, allocations: 454.7 kB / 476.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.121e-06/0.5478, allocations: 4 kB / 476.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.003e-06/0.5478, allocations: 4 kB / 476.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.842e-06/0.5479, allocations: 0 / 476.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.549, allocations: 0.679 MB / 476.7 MB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-06/0.5491, allocations: 4.031 kB / 476.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.5494, allocations: 55.91 kB / 476.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/0.5498, allocations: 124.8 kB / 476.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.5499, allocations: 11.98 kB / 476.9 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.5528, allocations: 1.921 MB / 478.9 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.251e-06/0.5529, allocations: 4.031 kB / 478.9 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.5547, allocations: 0.6728 MB / 479.5 MB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.555, allocations: 152.5 kB / 479.7 MB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.5551, allocations: 4 kB / 479.7 MB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.5554, allocations: 23.98 kB / 479.7 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5556, allocations: 39.89 kB / 479.8 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.5556, allocations: 12 kB / 479.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004526/0.5561, allocations: 273.2 kB / 480 MB, free: 7.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.5561, allocations: 0 / 480 MB, free: 7.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008356/0.557, allocations: 163.5 kB / 480.2 MB, free: 7.344 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.0002521/0.5572, allocations: 143.1 kB / 480.3 MB, free: 7.195 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.5583, allocations: 469 kB / 480.8 MB, free: 6.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.504e-06/0.5583, allocations: 4 kB / 480.8 MB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.559, allocations: 314.6 kB / 481.1 MB, free: 6.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.5598, allocations: 156.7 kB / 481.3 MB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.5619, allocations: 0.928 MB / 482.2 MB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.5627, allocations: 0.9521 MB / 483.1 MB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.5629, allocations: 35.44 kB / 483.2 MB, free: 4.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.877e-06/0.5629, allocations: 0 / 483.2 MB, free: 4.27 MB / 410.7 MB Notification: Performance of Templates: time 0.0175/0.5804, allocations: 10.01 MB / 493.2 MB, free: 10.29 MB / 426.7 MB