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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.346e-05/4.343e-05, allocations: 7.906 kB / 258.8 MB, free: 8.031 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3098, allocations: 44.5 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.007154/0.317, allocations: 4.104 MB / 307.4 MB, free: 9.488 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.3207, allocations: 1.248 MB / 308.7 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.3215, allocations: 35.88 kB / 308.7 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005398/0.322, allocations: 107.2 kB / 308.8 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008915/0.3229, allocations: 243.1 kB / 309.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.3238, allocations: 223.5 kB / 309.3 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.3248, allocations: 488.5 kB / 309.8 MB, free: 7.152 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.3254, allocations: 261.7 kB / 310 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.3259, allocations: 223.3 kB / 310.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000495/0.3264, allocations: 266.9 kB / 310.5 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.3265, allocations: 28 kB / 310.5 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.3266, allocations: 28 kB / 310.5 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.3268, allocations: 119.4 kB / 310.7 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.327, allocations: 60 kB / 310.7 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.3282, allocations: 0.7908 MB / 311.5 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3282, allocations: 0 / 311.5 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3282, allocations: 4 kB / 311.5 MB, free: 5.387 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.3282, allocations: 0 / 311.5 MB, free: 5.387 MB / 250.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.002432/0.3307, allocations: 0.8873 MB / 312.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3307, allocations: 8.031 kB / 312.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.331, allocations: 90.97 kB / 312.5 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.3322, allocations: 498.5 kB / 313 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/0.3323, allocations: 62 kB / 313.1 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3325, allocations: 71.94 kB / 313.1 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.3346, allocations: 0.7225 MB / 313.8 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.3347, allocations: 3.938 kB / 313.8 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.3348, allocations: 35.98 kB / 313.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.3348, allocations: 16 kB / 313.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.3366, allocations: 0.5282 MB / 314.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00634/0.343, allocations: 2.643 MB / 317.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.3446, allocations: 0.5592 MB / 317.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.3447, allocations: 4.562 kB / 317.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.3457, allocations: 377.8 kB / 318 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 3.496e-06/0.3458, allocations: 0 / 318 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=60): time 0.004291/0.3501, allocations: 1.089 MB / 319.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.3502, allocations: 111.4 kB / 319.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008314/0.3511, allocations: 417.1 kB / 319.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.3512, allocations: 41.7 kB / 319.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.3516, allocations: 320.3 kB / 320 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.3518, allocations: 193.4 kB / 320.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.3519, allocations: 16 kB / 320.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3521, allocations: 362.8 kB / 320.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.3528, allocations: 205.9 kB / 320.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008311/0.3537, allocations: 367.8 kB / 321.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.3544, allocations: 222.1 kB / 321.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.3545, allocations: 0 / 321.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00211/0.3566, allocations: 0.7144 MB / 322 MB, free: 10.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008026/0.3574, allocations: 1.663 MB / 323.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.3575, allocations: 4 kB / 323.7 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008084/0.3583, allocations: 153.6 kB / 323.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.359, allocations: 95.83 kB / 323.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.3643, allocations: 3.479 MB / 327.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.3651, allocations: 75.42 kB / 327.5 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/0.3652, allocations: 27.98 kB / 327.5 MB, free: 4.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3653, allocations: 8.062 kB / 327.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00185/0.3671, allocations: 0.6085 MB / 328.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3672, allocations: 4 kB / 328.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006964/0.3679, allocations: 145.6 kB / 328.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.3686, allocations: 95.83 kB / 328.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.3739, allocations: 3.483 MB / 331.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007454/0.3747, allocations: 71.58 kB / 331.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.3747, allocations: 24 kB / 331.9 MB, free: 15.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (69): * Single equations (assignments): 67 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000559/0.3753, allocations: 237.6 kB / 332.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.3755, allocations: 63.2 kB / 332.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.3757, allocations: 69.58 kB / 332.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3757, allocations: 8 kB / 332.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3757, allocations: 4 kB / 332.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.3757, allocations: 3.984 kB / 332.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/0.3794, allocations: 1.446 MB / 333.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3794, allocations: 0 / 333.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.38, allocations: 64.16 kB / 333.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006476/0.3807, allocations: 138 kB / 334 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.3808, allocations: 24.05 kB / 334 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/0.3858, allocations: 3.309 MB / 337.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.3859, allocations: 8.156 kB / 337.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.3888, allocations: 1.002 MB / 338.3 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.3892, allocations: 188.3 kB / 338.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.3894, allocations: 20.02 kB / 338.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/0.39, allocations: 35.98 kB / 338.5 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.3903, allocations: 88.31 kB / 338.6 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.3904, allocations: 23.98 kB / 338.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006133/0.391, allocations: 314.9 kB / 339 MB, free: 8.402 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.391, allocations: 0 / 339 MB, free: 8.402 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001607/0.3927, allocations: 347 kB / 339.3 MB, free: 8.062 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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_n2.off,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002822/0.393, allocations: 129.4 kB / 339.4 MB, free: 7.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003551/0.3965, allocations: 1.423 MB / 340.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.3966, allocations: 0 / 340.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.3979, allocations: 0.5667 MB / 341.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008752/0.3988, allocations: 98.41 kB / 341.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.403, allocations: 1.608 MB / 343.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.4038, allocations: 0.9556 MB / 344.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007733/0.4046, allocations: 112.9 kB / 344.2 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.4047, allocations: 39.44 kB / 344.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4047, allocations: 0 / 344.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of Templates: time 0.03226/0.437, allocations: 10.59 MB / 354.8 MB, free: 8.43 MB / 298.7 MB