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_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.576e-05, allocations: 3.25 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08207/0.08213, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4249, allocations: 82.63 MB / 382.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4252, allocations: 88.62 kB / 382.6 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03856/0.4638, allocations: 10.55 MB / 393.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.139e-06/0.4639, allocations: 0 / 393.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.181e-05/0.4639, allocations: 23.56 kB / 393.2 MB, free: 19.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001626/0.4656, allocations: 0.8545 MB / 394 MB, free: 19.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4656, allocations: 7.812 kB / 394 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.4658, allocations: 85.89 kB / 394.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.4667, allocations: 490.5 kB / 394.6 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.4668, allocations: 51.25 kB / 394.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.4669, allocations: 67.83 kB / 394.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.4684, allocations: 0.6546 MB / 395.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.4684, allocations: 0 / 395.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.4685, allocations: 25.84 kB / 395.4 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.4685, allocations: 15.62 kB / 395.4 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.4697, allocations: 482.4 kB / 395.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.4743, allocations: 2.584 MB / 398.4 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.4757, allocations: 0.5599 MB / 399 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.4765, allocations: 307 kB / 399.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.4765, allocations: 8.25 kB / 399.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006339/0.4772, allocations: 331.7 kB / 399.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 4.362e-06/0.4772, allocations: 3.938 kB / 399.6 MB, free: 17.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001189/0.4784, allocations: 0.5063 MB / 400.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4785, allocations: 115.2 kB / 400.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.4791, allocations: 423.9 kB / 400.7 MB, free: 17.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.4792, allocations: 40.86 kB / 400.7 MB, free: 17.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.4794, allocations: 342.7 kB / 401 MB, free: 16.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.4796, allocations: 166.5 kB / 401.2 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.4797, allocations: 15.53 kB / 401.2 MB, free: 16.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.4797, allocations: 334.1 kB / 401.5 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.4802, allocations: 176 kB / 401.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.4806, allocations: 330.2 kB / 402 MB, free: 16.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.4811, allocations: 198.6 kB / 402.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.73e-06/0.4811, allocations: 7.906 kB / 402.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001279/0.4824, allocations: 0.5912 MB / 402.8 MB, free: 16.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.4827, allocations: 1.573 MB / 404.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4828, allocations: 3.969 kB / 404.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.4834, allocations: 148.2 kB / 404.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.4839, allocations: 87.81 kB / 404.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.4872, allocations: 2.316 MB / 407 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.488, allocations: 98.42 kB / 407.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.4881, allocations: 20.06 kB / 407.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4881, allocations: 3.25 kB / 407.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001222/0.4893, allocations: 0.5598 MB / 407.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4894, allocations: 3.906 kB / 407.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005323/0.4899, allocations: 155.5 kB / 407.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.4903, allocations: 77.36 kB / 407.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.4939, allocations: 2.288 MB / 410.2 MB, free: 27.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.4945, allocations: 69.23 kB / 410.2 MB, free: 27.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.4946, allocations: 19.5 kB / 410.2 MB, free: 27.58 MB / 330.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,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,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 (59): * Single equations (assignments): 58 * 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.0002652/0.4949, allocations: 153.7 kB / 410.4 MB, free: 27.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.4951, allocations: 58.59 kB / 410.5 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.4953, allocations: 72.95 kB / 410.5 MB, free: 27.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.077e-06/0.4953, allocations: 3.906 kB / 410.5 MB, free: 27.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.838e-06/0.4953, allocations: 0 / 410.5 MB, free: 27.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.355e-06/0.4953, allocations: 3.797 kB / 410.5 MB, free: 27.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.4981, allocations: 1.324 MB / 411.9 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.257e-06/0.4981, allocations: 0 / 411.9 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.4984, allocations: 47.22 kB / 411.9 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005797/0.499, allocations: 146.1 kB / 412 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/0.4991, allocations: 11.12 kB / 412.1 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/0.5026, allocations: 2.319 MB / 414.4 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5026, allocations: 0 / 414.4 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.5044, allocations: 0.8693 MB / 415.2 MB, free: 25.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.5049, allocations: 189 kB / 415.4 MB, free: 25.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.505, allocations: 19.03 kB / 415.4 MB, free: 25.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.5055, allocations: 40.52 kB / 415.5 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.5057, allocations: 65.88 kB / 415.5 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.5058, allocations: 15.53 kB / 415.6 MB, free: 25.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005474/0.5063, allocations: 322.3 kB / 415.9 MB, free: 25.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5063, allocations: 0 / 415.9 MB, free: 25.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001424/0.5078, allocations: 321.4 kB / 416.2 MB, free: 25.12 MB / 330.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,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_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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.0002584/0.5081, allocations: 135.6 kB / 416.3 MB, free: 25.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.5104, allocations: 1.123 MB / 417.4 MB, free: 24.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.93e-06/0.5104, allocations: 0 / 417.4 MB, free: 24.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008377/0.5112, allocations: 447.5 kB / 417.9 MB, free: 24.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.5121, allocations: 84.77 kB / 418 MB, free: 24.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.5145, allocations: 0.9072 MB / 418.9 MB, free: 24.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.5152, allocations: 0.9377 MB / 419.8 MB, free: 23.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.5154, allocations: 42.58 kB / 419.9 MB, free: 23.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.811e-06/0.5154, allocations: 0 / 419.9 MB, free: 23.5 MB / 330.7 MB Notification: Performance of Templates: time 0.01644/0.5319, allocations: 10.4 MB / 430.3 MB, free: 18.62 MB / 330.7 MB