Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadModel(PowerSystems): time 2.345/2.345, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.22e-05, allocations: 7.984 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09225, allocations: 53.24 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4619, allocations: 92.96 MB / 448.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.4622, allocations: 87.95 kB / 448.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06421/0.5265, allocations: 16.09 MB / 464.6 MB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.762e-06/0.5265, allocations: 0 / 464.6 MB, free: 8.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.454e-05/0.5265, allocations: 16 kB / 464.6 MB, free: 8.434 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.001984/0.5285, allocations: 0.8713 MB / 465.5 MB, free: 7.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5286, allocations: 8.031 kB / 465.5 MB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.5288, allocations: 75.16 kB / 465.5 MB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/0.5329, allocations: 1.157 MB / 466.7 MB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.5332, allocations: 116.7 kB / 466.8 MB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.5333, allocations: 64 kB / 466.9 MB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.535, allocations: 0.6998 MB / 467.6 MB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5351, allocations: 7.938 kB / 467.6 MB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.5352, allocations: 28 kB / 467.6 MB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.5352, allocations: 17.31 kB / 467.6 MB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.5366, allocations: 0.5212 MB / 468.2 MB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/0.5416, allocations: 2.484 MB / 470.6 MB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.5428, allocations: 409.3 kB / 471 MB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.5433, allocations: 191.2 kB / 471.2 MB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.5433, allocations: 4.281 kB / 471.2 MB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004857/0.5438, allocations: 227.5 kB / 471.5 MB, free: 1.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 3.876e-06/0.5439, allocations: 0 / 471.5 MB, free: 1.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001414/0.5453, allocations: 435.5 kB / 471.9 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.5454, allocations: 132.6 kB / 472 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.546, allocations: 355.1 kB / 472.4 MB, free: 332 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.5461, allocations: 33.7 kB / 472.4 MB, free: 292 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.5465, allocations: 320 kB / 472.7 MB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.5466, allocations: 114.3 kB / 472.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.5467, allocations: 8.562 kB / 472.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.5469, allocations: 354.8 kB / 473.2 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.5472, allocations: 116.8 kB / 473.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.5476, allocations: 233.1 kB / 473.5 MB, free: 15.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.548, allocations: 152.6 kB / 473.7 MB, free: 14.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.548, allocations: 0 / 473.7 MB, free: 14.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001487/0.5495, allocations: 0.5096 MB / 474.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.5496, allocations: 8 kB / 474.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.5496, allocations: 7.938 kB / 474.2 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004404/0.55, allocations: 128.9 kB / 474.3 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.5505, allocations: 83.89 kB / 474.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/0.5537, allocations: 1.931 MB / 476.3 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.5543, allocations: 51.58 kB / 476.4 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.5544, allocations: 20.06 kB / 476.4 MB, free: 12.08 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.0002018/0.5546, allocations: 133.6 kB / 476.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5547, allocations: 51.39 kB / 476.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.5561, allocations: 458.6 kB / 477 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.5562, allocations: 4 kB / 477 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5562, allocations: 4 kB / 477 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.437e-06/0.5562, allocations: 0 / 477 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.5574, allocations: 0.679 MB / 477.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.422e-06/0.5575, allocations: 4.031 kB / 477.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.5579, allocations: 51.91 kB / 477.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.5583, allocations: 120.8 kB / 477.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.5583, allocations: 11.98 kB / 477.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003038/0.5614, allocations: 1.921 MB / 479.8 MB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.766e-06/0.5614, allocations: 4.031 kB / 479.8 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.5635, allocations: 0.6767 MB / 480.5 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.5638, allocations: 152.5 kB / 480.6 MB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/0.5639, allocations: 4 kB / 480.6 MB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.5643, allocations: 23.98 kB / 480.7 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5645, allocations: 39.89 kB / 480.7 MB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.5645, allocations: 12 kB / 480.7 MB, free: 7.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004916/0.565, allocations: 273.2 kB / 481 MB, free: 7.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.565, allocations: 0 / 481 MB, free: 7.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008978/0.5659, allocations: 163.5 kB / 481.1 MB, free: 7.039 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.0002668/0.5662, allocations: 147.1 kB / 481.3 MB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.5674, allocations: 469 kB / 481.7 MB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5674, allocations: 0 / 481.7 MB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006413/0.5681, allocations: 310.5 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.0008538/0.5689, allocations: 146.2 kB / 482.2 MB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.5712, allocations: 0.9027 MB / 483.1 MB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/0.5721, allocations: 0.9522 MB / 484 MB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004675/0.5726, allocations: 80.64 kB / 484.1 MB, free: 3.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5727, allocations: 31.44 kB / 484.2 MB, free: 3.938 MB / 410.7 MB Notification: Performance of SimCode: time 1.739e-06/0.5727, allocations: 4 kB / 484.2 MB, free: 3.934 MB / 410.7 MB Notification: Performance of Templates: time 0.02175/0.5944, allocations: 7.814 MB / 492 MB, free: 12.17 MB / 426.7 MB