Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.304e-05, allocations: 4 kB / 358.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 44.5 MB / 403.2 MB, free: 83.54 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3225/0.5406, allocations: 99.83 MB / 0.4912 GB, free: 42.64 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/0.541, allocations: 88.64 kB / 0.4913 GB, free: 42.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1598/0.7008, allocations: 35.85 MB / 0.5263 GB, free: 38.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.861e-06/0.7008, allocations: 0 / 0.5263 GB, free: 38.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001302/0.701, allocations: 39 kB / 0.5264 GB, free: 38.29 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: 365 * Number of variables: 365 Notification: Performance of Generate backend data structure: time 0.00345/0.7045, allocations: 1.725 MB / 0.528 GB, free: 37.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7045, allocations: 11.72 kB / 0.5281 GB, free: 37.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009518/0.7055, allocations: 315.2 kB / 0.5284 GB, free: 36.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.7086, allocations: 1.278 MB / 0.5296 GB, free: 36.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-05/0.7088, allocations: 65 kB / 0.5297 GB, free: 36.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.709, allocations: 97.05 kB / 0.5298 GB, free: 36.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002496/0.7115, allocations: 1.063 MB / 0.5308 GB, free: 36.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.7142, allocations: 1.287 MB / 0.5321 GB, free: 35.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.7143, allocations: 3.906 kB / 0.5321 GB, free: 35.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.7144, allocations: 4 kB / 0.5321 GB, free: 35.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.7145, allocations: 35.19 kB / 0.5321 GB, free: 35.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.7247, allocations: 6.104 MB / 0.5381 GB, free: 32.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.7267, allocations: 0.9802 MB / 0.539 GB, free: 32.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009763/0.7277, allocations: 0.5215 MB / 0.5395 GB, free: 32.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.7278, allocations: 7.188 kB / 0.5395 GB, free: 32.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009337/0.7287, allocations: 0.5179 MB / 0.54 GB, free: 31.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 3.807e-06/0.7288, allocations: 0 / 0.54 GB, free: 31.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=95): time 0.004615/0.7334, allocations: 2.237 MB / 0.5422 GB, free: 30.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/0.7335, allocations: 170.5 kB / 0.5424 GB, free: 30.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.7353, allocations: 0.9744 MB / 0.5433 GB, free: 30.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.7354, allocations: 37.06 kB / 0.5434 GB, free: 30.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006449/0.7361, allocations: 0.7645 MB / 0.5441 GB, free: 29.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.7364, allocations: 309.5 kB / 0.5444 GB, free: 29.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.7365, allocations: 0 / 0.5444 GB, free: 29.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.7367, allocations: 357.4 kB / 0.5448 GB, free: 29.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.7374, allocations: 383.6 kB / 0.5451 GB, free: 29.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009236/0.7384, allocations: 0.7962 MB / 0.5459 GB, free: 28.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7394, allocations: 492.6 kB / 0.5464 GB, free: 28.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/0.7394, allocations: 7.156 kB / 0.5464 GB, free: 28.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003052/0.7425, allocations: 1.422 MB / 0.5478 GB, free: 27.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.7436, allocations: 5.054 MB / 0.5527 GB, free: 21.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.7437, allocations: 11.62 kB / 0.5527 GB, free: 21.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000764/0.7445, allocations: 205.5 kB / 0.5529 GB, free: 21.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.7459, allocations: 309.7 kB / 0.5532 GB, free: 21.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.7504, allocations: 3.806 MB / 0.5569 GB, free: 18.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.753, allocations: 152.1 kB / 0.5571 GB, free: 18.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/0.7534, allocations: 54.44 kB / 0.5571 GB, free: 18.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7534, allocations: 3.969 kB / 0.5571 GB, free: 18.32 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00359/0.757, allocations: 1.265 MB / 0.5584 GB, free: 17.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-05/0.7571, allocations: 11.31 kB / 0.5584 GB, free: 17.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.7592, allocations: 207.6 kB / 0.5586 GB, free: 17.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.7609, allocations: 304.2 kB / 0.5589 GB, free: 17.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.7652, allocations: 3.803 MB / 0.5626 GB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.7674, allocations: 131.8 kB / 0.5627 GB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.7677, allocations: 60 kB / 0.5627 GB, free: 13.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (144): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000438/0.7681, allocations: 170 kB / 0.5629 GB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.7685, allocations: 126.4 kB / 0.563 GB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.7717, allocations: 1.11 MB / 0.5641 GB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.7717, allocations: 11.98 kB / 0.5641 GB, free: 12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.461e-06/0.7717, allocations: 0 / 0.5641 GB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.7718, allocations: 7.984 kB / 0.5641 GB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006447/0.7782, allocations: 2.437 MB / 0.5665 GB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.7783, allocations: 0 / 0.5665 GB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.7796, allocations: 163.9 kB / 0.5667 GB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008986/0.7805, allocations: 185.6 kB / 0.5668 GB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.7807, allocations: 19.98 kB / 0.5669 GB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005408/0.7861, allocations: 3.679 MB / 0.5705 GB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.7862, allocations: 4.031 kB / 0.5705 GB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02899/0.8152, allocations: 11.47 MB / 0.5817 GB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.8164, allocations: 311.4 kB / 0.582 GB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.8168, allocations: 20.02 kB / 0.582 GB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.8186, allocations: 119.8 kB / 0.5821 GB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/0.819, allocations: 100.6 kB / 0.5822 GB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.8192, allocations: 31.98 kB / 0.5822 GB, free: 8.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.8213, allocations: 0.7129 MB / 0.5829 GB, free: 7.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.83e-07/0.8213, allocations: 3.938 kB / 0.5829 GB, free: 7.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.006688/0.828, allocations: 0.7773 MB / 0.5837 GB, free: 7.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twoPulse.filter[1].firstOrder.y,pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.i) * Number of discrete variables: 20 (pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008306/0.8289, allocations: 314 kB / 0.584 GB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006203/0.8351, allocations: 2.207 MB / 0.5861 GB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.8352, allocations: 2.5 kB / 0.5861 GB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002904/0.8381, allocations: 0.795 MB / 0.5869 GB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.8407, allocations: 248.8 kB / 0.5872 GB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.8516, allocations: 3.19 MB / 0.5903 GB, free: 308 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/0.8538, allocations: 1.375 MB / 0.5916 GB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002399/0.8562, allocations: 434.1 kB / 0.592 GB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.8566, allocations: 76.5 kB / 0.5921 GB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.8566, allocations: 0 / 0.5921 GB, free: 14.39 MB / 366.1 MB Notification: Performance of Templates: time 0.07959/0.9362, allocations: 22.11 MB / 0.6137 GB, free: 8.277 MB / 382.1 MB