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.321/2.321, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.693e-05, allocations: 4 kB / 304.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3446, allocations: 53.21 MB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009666/0.3543, allocations: 6.024 MB / 363.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004208/0.3586, allocations: 1.723 MB / 365.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.3593, allocations: 39.81 kB / 365.4 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007203/0.3601, allocations: 194.8 kB / 365.6 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3612, allocations: 291 kB / 365.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.3619, allocations: 175.7 kB / 366 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009972/0.3629, allocations: 419.1 kB / 366.4 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005311/0.3635, allocations: 264.1 kB / 366.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006682/0.3641, allocations: 299.1 kB / 367 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006894/0.3649, allocations: 295.1 kB / 367.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.365, allocations: 24 kB / 367.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.95e-05/0.3651, allocations: 28 kB / 367.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.3654, allocations: 191.4 kB / 367.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.3657, allocations: 68 kB / 367.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.3669, allocations: 0.818 MB / 368.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3669, allocations: 0 / 368.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3669, allocations: 0 / 368.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.3669, allocations: 0 / 368.4 MB, free: 4.633 MB / 298.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.002583/0.3695, allocations: 0.8619 MB / 369.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3696, allocations: 12.03 kB / 369.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.3699, allocations: 79.09 kB / 369.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.3717, allocations: 0.6126 MB / 369.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.3719, allocations: 112.7 kB / 370.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.3721, allocations: 63.86 kB / 370.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.3742, allocations: 0.7577 MB / 370.9 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3742, allocations: 0 / 370.9 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-05/0.3743, allocations: 27.94 kB / 370.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.3743, allocations: 12 kB / 370.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.3765, allocations: 0.6245 MB / 371.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005284/0.3818, allocations: 2.47 MB / 374 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3835, allocations: 438.4 kB / 374.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.3836, allocations: 4.344 kB / 374.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007282/0.3844, allocations: 243.3 kB / 374.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.327e-06/0.3844, allocations: 0 / 374.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.005646/0.39, allocations: 0.8593 MB / 375.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.3902, allocations: 144.4 kB / 375.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006307/0.3908, allocations: 353 kB / 376 MB, free: 12.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.3909, allocations: 33.7 kB / 376.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.3912, allocations: 358.6 kB / 376.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.3914, allocations: 118.4 kB / 376.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.3914, allocations: 12 kB / 376.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3916, allocations: 326.8 kB / 376.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.3921, allocations: 124.8 kB / 377 MB, free: 11.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.3927, allocations: 242 kB / 377.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.3933, allocations: 160.8 kB / 377.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3934, allocations: 0 / 377.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00176/0.3951, allocations: 0.496 MB / 377.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3952, allocations: 5.562 kB / 377.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.3952, allocations: 4 kB / 377.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008229/0.396, allocations: 148.9 kB / 378 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.3967, allocations: 91.77 kB / 378.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/0.4023, allocations: 2.088 MB / 380.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.4029, allocations: 47.52 kB / 380.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.403, allocations: 20 kB / 380.3 MB, free: 8.195 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = "s" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = "s" fixed = true 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,chopper.modulator.gate,$PRE.chopper.modulator.t0,chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.t1,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.0005115/0.4035, allocations: 257.4 kB / 380.5 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4036, allocations: 43.53 kB / 380.6 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.4058, allocations: 487.7 kB / 381 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4059, allocations: 4 kB / 381 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4059, allocations: 0 / 381 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4059, allocations: 3.984 kB / 381 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.4072, allocations: 0.6823 MB / 381.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4072, allocations: 4 kB / 381.7 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.4077, allocations: 59.94 kB / 381.8 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007462/0.4085, allocations: 136.9 kB / 381.9 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.4085, allocations: 15.98 kB / 381.9 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.4139, allocations: 2.072 MB / 384 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.414, allocations: 0 / 384 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.4169, allocations: 0.7268 MB / 384.7 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.4172, allocations: 148.5 kB / 384.9 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.4173, allocations: 8 kB / 384.9 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.4177, allocations: 19.98 kB / 384.9 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.4179, allocations: 43.88 kB / 385 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.418, allocations: 8 kB / 385 MB, free: 3.211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004698/0.4184, allocations: 279.1 kB / 385.2 MB, free: 2.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4185, allocations: 0 / 385.2 MB, free: 2.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008182/0.4193, allocations: 163.4 kB / 385.4 MB, free: 2.781 MB / 314.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.gate,chopper.modulator.t0,chopper.modulator.t1,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.0001767/0.4195, allocations: 119.1 kB / 385.5 MB, free: 2.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.4211, allocations: 0.4987 MB / 386 MB, free: 2.145 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4211, allocations: 4.062 kB / 386 MB, free: 2.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008834/0.422, allocations: 326.5 kB / 386.3 MB, free: 1.809 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4231, allocations: 145.9 kB / 386.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.4266, allocations: 1.555 MB / 388 MB, free: 76 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.4274, allocations: 0.9406 MB / 389 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.4276, allocations: 35.44 kB / 389 MB, free: 15.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4276, allocations: 4 kB / 389 MB, free: 15.07 MB / 330.7 MB Notification: Performance of Templates: time 0.02215/0.4497, allocations: 9.865 MB / 398.9 MB, free: 5.223 MB / 330.7 MB