Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 225.8 MB / 239.3 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.98e-05, allocations: 7.938 kB / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.09382, allocations: 50.41 MB / 343.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.477, allocations: 88.91 MB / 432 MB, free: 7.148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4773, allocations: 87.19 kB / 432.1 MB, free: 7.133 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0383/0.5156, allocations: 11.35 MB / 443.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5157, allocations: 0 / 443.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.841e-05/0.5157, allocations: 15.47 kB / 443.4 MB, free: 2.574 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00154/0.5173, allocations: 0.8833 MB / 444.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5174, allocations: 7.656 kB / 444.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.5175, allocations: 88.47 kB / 444.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008831/0.5184, allocations: 499.4 kB / 444.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.5185, allocations: 51.59 kB / 445 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.5186, allocations: 71.75 kB / 445 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.52, allocations: 0.6908 MB / 445.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.52, allocations: 7.891 kB / 445.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-05/0.5201, allocations: 28.75 kB / 445.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5201, allocations: 15.25 kB / 445.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.5212, allocations: 0.4953 MB / 446.3 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/0.5259, allocations: 2.676 MB / 448.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.527, allocations: 0.5133 MB / 449.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.5276, allocations: 320.6 kB / 449.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.5277, allocations: 4.25 kB / 449.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006738/0.5284, allocations: 350.7 kB / 450.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 4.027e-06/0.5284, allocations: 0 / 450.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.001203/0.5296, allocations: 0.5309 MB / 450.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.5298, allocations: 147.8 kB / 450.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007001/0.5305, allocations: 431.5 kB / 451.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/0.5306, allocations: 39.52 kB / 451.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.5309, allocations: 323.6 kB / 451.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.5311, allocations: 165.9 kB / 451.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.5312, allocations: 13.72 kB / 451.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.5314, allocations: 374.7 kB / 452.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.5318, allocations: 180.1 kB / 452.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.5324, allocations: 341.9 kB / 452.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.5328, allocations: 210.3 kB / 452.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.5328, allocations: 3.844 kB / 452.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001406/0.5343, allocations: 0.6379 MB / 453.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008698/0.5351, allocations: 1.581 MB / 455 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.5352, allocations: 7.938 kB / 455 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.5358, allocations: 154.6 kB / 455.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.5363, allocations: 83.84 kB / 455.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/0.54, allocations: 2.324 MB / 457.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/0.5407, allocations: 91.16 kB / 457.7 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.5407, allocations: 31.73 kB / 457.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5408, allocations: 4 kB / 457.7 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.5421, allocations: 0.5689 MB / 458.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5421, allocations: 7.953 kB / 458.3 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/0.5427, allocations: 147.8 kB / 458.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.5431, allocations: 87.66 kB / 458.5 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.5467, allocations: 2.311 MB / 460.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.5475, allocations: 71.48 kB / 460.9 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/0.5476, allocations: 27.61 kB / 460.9 MB, free: 7.242 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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,rectifier.diode_n1.off,rectifier.diode_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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003618/0.548, allocations: 157.6 kB / 461.1 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.5482, allocations: 59.25 kB / 461.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.5485, allocations: 73.08 kB / 461.2 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.5485, allocations: 4 kB / 461.2 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.708e-06/0.5485, allocations: 4 kB / 461.2 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.5486, allocations: 3.984 kB / 461.2 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.5514, allocations: 1.372 MB / 462.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.5514, allocations: 4 kB / 462.6 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.5517, allocations: 47.94 kB / 462.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.5523, allocations: 146.3 kB / 462.8 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.5524, allocations: 14.77 kB / 462.8 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/0.556, allocations: 2.318 MB / 465.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.5561, allocations: 0 / 465.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.5581, allocations: 0.9164 MB / 466.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.5584, allocations: 192.1 kB / 466.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5586, allocations: 14.89 kB / 466.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.5591, allocations: 47.52 kB / 466.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.5593, allocations: 58.36 kB / 466.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.5593, allocations: 23.36 kB / 466.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005746/0.5599, allocations: 332.3 kB / 466.7 MB, free: 2.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.96e-07/0.5599, allocations: 0 / 466.7 MB, free: 2.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001434/0.5614, allocations: 338.4 kB / 467 MB, free: 2.289 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002505/0.5616, allocations: 139.4 kB / 467.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.564, allocations: 1.144 MB / 468.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.591e-06/0.564, allocations: 4.062 kB / 468.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008296/0.5649, allocations: 440.9 kB / 468.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5659, allocations: 106.5 kB / 468.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.5701, allocations: 0.9183 MB / 469.8 MB, free: 68 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.5713, allocations: 0.9594 MB / 470.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001078/0.5724, allocations: 120.9 kB / 470.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.5726, allocations: 31.44 kB / 470.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of SimCode: time 3.099e-06/0.5727, allocations: 0 / 470.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Templates: time 0.0536/0.6263, allocations: 10.73 MB / 481.6 MB, free: 4.32 MB / 362.7 MB