Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.889e-05, allocations: 0 / 338.9 MB, free: 5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5316, allocations: 44.51 MB / 383.4 MB, free: 78.84 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.6563, allocations: 81.22 MB / 464.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.6566, allocations: 95.92 kB / 464.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04632/0.703, allocations: 12.29 MB / 477 MB, free: 8.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.703, allocations: 0 / 477 MB, free: 8.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.299e-05/0.7031, allocations: 16 kB / 477 MB, free: 8.5 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001745/0.7048, allocations: 0.8374 MB / 477.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.7049, allocations: 8.031 kB / 477.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.7051, allocations: 79.06 kB / 478 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.7061, allocations: 476.2 kB / 478.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.7062, allocations: 25.31 kB / 478.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7063, allocations: 36 kB / 478.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/0.7074, allocations: 394.5 kB / 478.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.7086, allocations: 0.5299 MB / 479.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.7087, allocations: 3.984 kB / 479.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.664e-05/0.7088, allocations: 0 / 479.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.7088, allocations: 16 kB / 479.4 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/0.7133, allocations: 2.161 MB / 481.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.7144, allocations: 442.7 kB / 482 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/0.7151, allocations: 236.9 kB / 482.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.7151, allocations: 8 kB / 482.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/0.7157, allocations: 280.8 kB / 482.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 3.267e-06/0.7158, allocations: 0 / 482.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.001079/0.7169, allocations: 396.6 kB / 482.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.717, allocations: 140.5 kB / 483 MB, free: 2.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/0.7176, allocations: 349.2 kB / 483.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.7177, allocations: 37.62 kB / 483.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.718, allocations: 316.3 kB / 483.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.7182, allocations: 126.1 kB / 483.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.7182, allocations: 0 / 483.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.7184, allocations: 362.7 kB / 484.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.7188, allocations: 141.3 kB / 484.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.7193, allocations: 295.8 kB / 484.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.7197, allocations: 160.9 kB / 484.8 MB, free: 356 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.176e-06/0.7197, allocations: 0 / 484.8 MB, free: 356 kB / 334.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001191/0.721, allocations: 0.4937 MB / 485.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008287/0.7218, allocations: 1.648 MB / 486.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.7218, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.7222, allocations: 92.7 kB / 487 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.7227, allocations: 91.88 kB / 487.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.725, allocations: 1.693 MB / 488.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000657/0.7257, allocations: 75.61 kB / 488.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.7258, allocations: 20 kB / 488.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.85e-06/0.7258, allocations: 4 kB / 488.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/0.7268, allocations: 412 kB / 489.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7268, allocations: 4.156 kB / 489.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.7272, allocations: 88.81 kB / 489.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.7276, allocations: 84.3 kB / 489.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.7298, allocations: 1.694 MB / 491.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.7304, allocations: 55.56 kB / 491.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.7305, allocations: 24 kB / 491.3 MB, free: 9.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.7307, allocations: 132 kB / 491.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.7308, allocations: 51.38 kB / 491.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.731, allocations: 56.91 kB / 491.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.688e-06/0.731, allocations: 4 kB / 491.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.544e-06/0.731, allocations: 4 kB / 491.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.022e-06/0.7311, allocations: 0 / 491.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.7333, allocations: 1.12 MB / 492.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.301e-06/0.7334, allocations: 4 kB / 492.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.7337, allocations: 55.97 kB / 492.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.734, allocations: 72.8 kB / 492.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.7341, allocations: 4 kB / 492.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.7362, allocations: 1.592 MB / 494.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.66e-06/0.7362, allocations: 4.062 kB / 494.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008546/0.7448, allocations: 4.653 MB / 499 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.7451, allocations: 164.4 kB / 499.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/0.7452, allocations: 11.95 kB / 499.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.7457, allocations: 36.03 kB / 499.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.7459, allocations: 47.92 kB / 499.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.746, allocations: 15.98 kB / 499.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000439/0.7464, allocations: 263 kB / 499.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.67e-07/0.7464, allocations: 0 / 499.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002284/0.7487, allocations: 339.1 kB / 499.9 MB, free: 452 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002808/0.749, allocations: 117.2 kB / 500 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.7514, allocations: 0.8652 MB / 0.4891 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.647e-06/0.7514, allocations: 0 / 0.4891 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.7523, allocations: 321.9 kB / 0.4894 GB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.753, allocations: 65.81 kB / 0.4895 GB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.7564, allocations: 1.212 MB / 0.4907 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008177/0.7572, allocations: 0.9345 MB / 0.4916 GB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000633/0.7578, allocations: 100.3 kB / 0.4917 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.758, allocations: 36.5 kB / 0.4917 GB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.328e-06/0.758, allocations: 4 kB / 0.4917 GB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.03515/0.7932, allocations: 7.431 MB / 0.499 GB, free: 5.246 MB / 366.1 MB