Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.057e-05, allocations: 4 kB / 258.8 MB, free: 8.684 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3087, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.00739/0.3162, allocations: 4.134 MB / 307.5 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.3201, allocations: 1.279 MB / 308.7 MB, free: 8.266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007578/0.3209, allocations: 35.88 kB / 308.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.3215, allocations: 107.2 kB / 308.9 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.3226, allocations: 251.1 kB / 309.1 MB, free: 7.879 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009933/0.3236, allocations: 227.6 kB / 309.3 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.325, allocations: 496.4 kB / 309.8 MB, free: 7.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005974/0.3256, allocations: 261.8 kB / 310.1 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.3261, allocations: 227.3 kB / 310.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.3266, allocations: 274.9 kB / 310.6 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3267, allocations: 28 kB / 310.6 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.993e-05/0.3268, allocations: 24 kB / 310.6 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.327, allocations: 123.4 kB / 310.7 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.3272, allocations: 60 kB / 310.8 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3284, allocations: 0.7947 MB / 311.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3284, allocations: 0 / 311.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3285, allocations: 0 / 311.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.3285, allocations: 0 / 311.6 MB, free: 5.391 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002515/0.331, allocations: 0.9301 MB / 312.5 MB, free: 4.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3311, allocations: 11.97 kB / 312.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.3313, allocations: 86.97 kB / 312.6 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3325, allocations: 0.4946 MB / 313.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/0.3326, allocations: 54 kB / 313.2 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.3328, allocations: 68 kB / 313.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.3349, allocations: 0.7498 MB / 314 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.335, allocations: 12 kB / 314 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3351, allocations: 28 kB / 314 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.3351, allocations: 19.98 kB / 314 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.3372, allocations: 0.575 MB / 314.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.3435, allocations: 2.639 MB / 317.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.3458, allocations: 0.6404 MB / 317.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.3459, allocations: 8.562 kB / 317.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.3471, allocations: 393.7 kB / 318.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 3.366e-06/0.3471, allocations: 0 / 318.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.004683/0.3518, allocations: 1.143 MB / 319.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.352, allocations: 115.3 kB / 319.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008486/0.3528, allocations: 421 kB / 320 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.353, allocations: 45.7 kB / 320 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.3533, allocations: 358.8 kB / 320.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.3536, allocations: 189.3 kB / 320.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.3537, allocations: 12 kB / 320.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3539, allocations: 334.8 kB / 320.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008253/0.3547, allocations: 221.9 kB / 321.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/0.3557, allocations: 389 kB / 321.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.3566, allocations: 242.1 kB / 321.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.3566, allocations: 4 kB / 321.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002273/0.3589, allocations: 0.7153 MB / 322.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008616/0.3598, allocations: 1.657 MB / 324.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.3598, allocations: 8 kB / 324.1 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008183/0.3607, allocations: 149.6 kB / 324.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.3615, allocations: 111.8 kB / 324.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.367, allocations: 3.471 MB / 327.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008787/0.3679, allocations: 83.47 kB / 327.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.368, allocations: 31.98 kB / 327.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.368, allocations: 7.984 kB / 327.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002111/0.3701, allocations: 0.6592 MB / 328.6 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3702, allocations: 4 kB / 328.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000658/0.3709, allocations: 137.7 kB / 328.7 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/0.3717, allocations: 111.8 kB / 328.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.3772, allocations: 3.463 MB / 332.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006618/0.3779, allocations: 71.66 kB / 332.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/0.378, allocations: 24 kB / 332.4 MB, free: 15.44 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 (70): * Single equations (assignments): 68 * 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.0006279/0.3787, allocations: 252.7 kB / 332.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.3789, allocations: 59.25 kB / 332.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3791, allocations: 65.59 kB / 332.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3791, allocations: 12 kB / 332.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3791, allocations: 0 / 332.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.3792, allocations: 7.922 kB / 332.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/0.3831, allocations: 1.449 MB / 334.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3832, allocations: 0 / 334.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.3839, allocations: 75.89 kB / 334.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006683/0.3846, allocations: 133.9 kB / 334.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-05/0.3847, allocations: 16.23 kB / 334.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005261/0.39, allocations: 3.32 MB / 337.8 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.39, allocations: 0.9375 kB / 337.8 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.3932, allocations: 1.016 MB / 338.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.3937, allocations: 196.2 kB / 339 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.3939, allocations: 12 kB / 339 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.3946, allocations: 43.95 kB / 339 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.3949, allocations: 84.39 kB / 339.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.395, allocations: 19.98 kB / 339.1 MB, free: 8.316 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006546/0.3957, allocations: 314.9 kB / 339.5 MB, free: 8.012 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3957, allocations: 0 / 339.5 MB, free: 8.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001776/0.3975, allocations: 354.9 kB / 339.8 MB, free: 7.664 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 40 * 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.0003008/0.3978, allocations: 134.8 kB / 339.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004286/0.4021, allocations: 1.47 MB / 341.4 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.4022, allocations: 0 / 341.4 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.4038, allocations: 0.5639 MB / 342 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/0.4047, allocations: 97.91 kB / 342.1 MB, free: 5.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.4094, allocations: 1.627 MB / 343.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.4103, allocations: 0.9587 MB / 344.6 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.4106, allocations: 43.44 kB / 344.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4107, allocations: 0 / 344.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of Templates: time 0.02978/0.4405, allocations: 13.86 MB / 358.6 MB, free: 4.77 MB / 298.7 MB