Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.575e-05, allocations: 7.984 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4698, allocations: 82.57 MB / 382.5 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.4701, allocations: 86.95 kB / 382.5 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04658/0.5167, allocations: 13.66 MB / 396.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.091e-06/0.5168, allocations: 0 / 396.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.006e-05/0.5168, allocations: 15.59 kB / 396.2 MB, free: 19.49 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001617/0.5185, allocations: 0.9018 MB / 397.1 MB, free: 18.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5185, allocations: 7.562 kB / 397.1 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.5187, allocations: 89.25 kB / 397.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009057/0.5196, allocations: 0.496 MB / 397.7 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.5197, allocations: 63.75 kB / 397.8 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.5199, allocations: 69.52 kB / 397.8 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5213, allocations: 0.6969 MB / 398.5 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.5213, allocations: 3.938 kB / 398.5 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/0.5214, allocations: 35.08 kB / 398.6 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.5214, allocations: 15.62 kB / 398.6 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.5226, allocations: 497.4 kB / 399.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004438/0.527, allocations: 2.699 MB / 401.8 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5283, allocations: 0.5686 MB / 402.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/0.5292, allocations: 424.5 kB / 402.8 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.5293, allocations: 4.25 kB / 402.8 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/0.5299, allocations: 351.3 kB / 403.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 5.879e-06/0.5299, allocations: 0 / 403.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001179/0.5311, allocations: 0.5407 MB / 403.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.5312, allocations: 122.6 kB / 403.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.5318, allocations: 423 kB / 404.2 MB, free: 16.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.5319, allocations: 44.08 kB / 404.2 MB, free: 16.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.5321, allocations: 364 kB / 404.6 MB, free: 16.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.5322, allocations: 177.2 kB / 404.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.5323, allocations: 14.16 kB / 404.8 MB, free: 16.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.5324, allocations: 332.5 kB / 405.1 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.5328, allocations: 190.2 kB / 405.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.5333, allocations: 341.8 kB / 405.6 MB, free: 16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.5338, allocations: 212.5 kB / 405.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.145e-06/0.5338, allocations: 3.938 kB / 405.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001401/0.5352, allocations: 0.6491 MB / 406.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.5355, allocations: 1.571 MB / 408 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.5355, allocations: 3.906 kB / 408 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/0.5362, allocations: 156.7 kB / 408.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.5367, allocations: 107.2 kB / 408.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/0.5412, allocations: 3.596 MB / 411.9 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.5419, allocations: 97.94 kB / 412 MB, free: 27.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.542, allocations: 23.47 kB / 412 MB, free: 27.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.542, allocations: 3.906 kB / 412 MB, free: 27.41 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/0.5433, allocations: 0.6037 MB / 412.6 MB, free: 27.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.621e-06/0.5433, allocations: 7.844 kB / 412.6 MB, free: 27.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.5438, allocations: 159.8 kB / 412.8 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.5443, allocations: 91.17 kB / 412.9 MB, free: 27.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.5487, allocations: 3.573 MB / 416.4 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.5492, allocations: 69.34 kB / 416.5 MB, free: 24.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.5493, allocations: 26.47 kB / 416.5 MB, free: 24.52 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: 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 (66): * Single equations (assignments): 64 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.5495, allocations: 157.2 kB / 416.7 MB, free: 24.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.5497, allocations: 66.55 kB / 416.8 MB, free: 24.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.5499, allocations: 67.3 kB / 416.8 MB, free: 24.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.667e-06/0.5499, allocations: 8.281 kB / 416.8 MB, free: 24.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.545e-06/0.5499, allocations: 3.906 kB / 416.8 MB, free: 24.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-06/0.55, allocations: 0 / 416.8 MB, free: 24.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.5526, allocations: 1.406 MB / 418.2 MB, free: 23.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-06/0.5526, allocations: 3.938 kB / 418.2 MB, free: 23.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.553, allocations: 54.47 kB / 418.3 MB, free: 23.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/0.5535, allocations: 159.9 kB / 418.5 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.5536, allocations: 10.97 kB / 418.5 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004306/0.5579, allocations: 3.517 MB / 422 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.262e-06/0.558, allocations: 0 / 422 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.5599, allocations: 0.9477 MB / 422.9 MB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.5603, allocations: 177.3 kB / 423.1 MB, free: 20.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.5604, allocations: 23.3 kB / 423.1 MB, free: 20.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004684/0.5609, allocations: 39.31 kB / 423.2 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.5611, allocations: 76.02 kB / 423.2 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.5612, allocations: 19.73 kB / 423.3 MB, free: 20.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005164/0.5617, allocations: 337.6 kB / 423.6 MB, free: 20.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.5617, allocations: 0 / 423.6 MB, free: 20.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00151/0.5632, allocations: 345.8 kB / 423.9 MB, free: 20.23 MB / 330.7 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: 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.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 (42): * Single equations (assignments): 35 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002331/0.5635, allocations: 138.2 kB / 424.1 MB, free: 20.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.5658, allocations: 1.336 MB / 425.4 MB, free: 19.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.63e-06/0.5658, allocations: 0 / 425.4 MB, free: 19.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008102/0.5666, allocations: 0.5198 MB / 425.9 MB, free: 19.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.5673, allocations: 98.61 kB / 426 MB, free: 19.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.5695, allocations: 1.009 MB / 427 MB, free: 18.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.5701, allocations: 0.9496 MB / 428 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.5703, allocations: 49.98 kB / 428 MB, free: 17.97 MB / 330.7 MB Notification: Performance of SimCode: time 1.63e-06/0.5703, allocations: 0 / 428 MB, free: 17.97 MB / 330.7 MB Notification: Performance of Templates: time 0.01719/0.5875, allocations: 13.58 MB / 441.6 MB, free: 11.14 MB / 330.7 MB