Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.51e-05, allocations: 0 / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic): time 0.007724/0.1171, allocations: 4.253 MB / 349.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004258/0.1214, allocations: 1.403 MB / 350.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008533/0.1223, allocations: 43.88 kB / 350.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.1231, allocations: 174.9 kB / 350.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1245, allocations: 295 kB / 351.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1256, allocations: 235.6 kB / 351.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.1278, allocations: 0.7921 MB / 352.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.1295, allocations: 0.8437 MB / 353 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.1306, allocations: 406.8 kB / 353.4 MB, free: 488 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.1317, allocations: 498.1 kB / 353.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.132, allocations: 52 kB / 354 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.1322, allocations: 51.94 kB / 354 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.1326, allocations: 298.9 kB / 354.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.133, allocations: 112 kB / 354.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.1361, allocations: 1.979 MB / 356.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1361, allocations: 3.938 kB / 356.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1361, allocations: 0 / 356.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.232e-05/0.1362, allocations: 0 / 356.4 MB, free: 13.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005347/0.1416, allocations: 1.589 MB / 358 MB, free: 11.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1416, allocations: 8.031 kB / 358 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/0.1424, allocations: 169.9 kB / 358.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.1451, allocations: 0.9539 MB / 359.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.1453, allocations: 114.7 kB / 359.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004211/0.1457, allocations: 143.8 kB / 359.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005765/0.1515, allocations: 1.844 MB / 361.2 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.739e-05/0.1516, allocations: 4 kB / 361.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.1519, allocations: 59.98 kB / 361.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.152, allocations: 50.7 kB / 361.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005623/0.1576, allocations: 1.603 MB / 362.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.1725, allocations: 5.214 MB / 368.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/0.1766, allocations: 1.259 MB / 369.4 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.1767, allocations: 16.64 kB / 369.4 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/0.1788, allocations: 0.6954 MB / 370.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 4.579e-06/0.1789, allocations: 0 / 370.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.007314/0.1862, allocations: 1.938 MB / 372 MB, free: 13.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1864, allocations: 153.5 kB / 372.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.1883, allocations: 0.7966 MB / 373 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.1886, allocations: 57.69 kB / 373 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007383/0.1893, allocations: 0.6303 MB / 373.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004612/0.1898, allocations: 272.3 kB / 373.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.1899, allocations: 20 kB / 374 MB, free: 11.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1901, allocations: 350.8 kB / 374.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.1917, allocations: 0.4983 MB / 374.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.1936, allocations: 0.7615 MB / 375.6 MB, free: 9.809 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.1954, allocations: 0.5416 MB / 376.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.1954, allocations: 4 kB / 376.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004194/0.1996, allocations: 1.388 MB / 377.5 MB, free: 7.867 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001392/0.2011, allocations: 2.797 MB / 380.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/0.2011, allocations: 8 kB / 380.3 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009858/0.2021, allocations: 214.7 kB / 380.5 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.2035, allocations: 179.7 kB / 380.7 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005366/0.2089, allocations: 2.827 MB / 383.5 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.2104, allocations: 175.2 kB / 383.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.2106, allocations: 40.09 kB / 383.7 MB, free: 1.285 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2106, allocations: 6.969 kB / 383.7 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00375/0.2144, allocations: 1.313 MB / 385 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.2144, allocations: 11.94 kB / 385.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007335/0.2152, allocations: 224.9 kB / 385.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.2164, allocations: 171.8 kB / 385.4 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/0.2215, allocations: 2.857 MB / 388.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.2227, allocations: 143.3 kB / 388.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.2228, allocations: 44 kB / 388.5 MB, free: 12.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 117 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001342/0.2242, allocations: 0.5522 MB / 389 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.2245, allocations: 98.78 kB / 389.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.2249, allocations: 125.9 kB / 389.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.134e-05/0.2249, allocations: 11.94 kB / 389.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.2249, allocations: 0 / 389.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.225, allocations: 3.984 kB / 389.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00761/0.2326, allocations: 2.728 MB / 392 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.2326, allocations: 0 / 392 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.2337, allocations: 107.8 kB / 392.1 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008307/0.2346, allocations: 212.6 kB / 392.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.2347, allocations: 19.92 kB / 392.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005421/0.2402, allocations: 2.807 MB / 395.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2402, allocations: 0 / 395.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005667/0.2459, allocations: 1.97 MB / 397.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008169/0.2468, allocations: 283.7 kB / 397.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.2471, allocations: 27.98 kB / 397.4 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.2482, allocations: 91.91 kB / 397.5 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005152/0.2487, allocations: 148.8 kB / 397.6 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/0.2488, allocations: 24 kB / 397.7 MB, free: 2.941 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001337/0.2502, allocations: 0.6044 MB / 398.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.2502, allocations: 3.938 kB / 398.3 MB, free: 2.332 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002476/0.2527, allocations: 0.638 MB / 398.9 MB, free: 1.691 MB / 330.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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003765/0.2531, allocations: 172.9 kB / 399.1 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.2729/0.5261, allocations: 2.199 MB / 401.3 MB, free: 50.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.5261, allocations: 4.094 kB / 401.3 MB, free: 50.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002546/0.5287, allocations: 0.755 MB / 402 MB, free: 50.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.5305, allocations: 190 kB / 402.2 MB, free: 50.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.5383, allocations: 3.167 MB / 405.4 MB, free: 49.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.54, allocations: 1.432 MB / 406.8 MB, free: 48.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/0.5405, allocations: 75.17 kB / 406.9 MB, free: 48.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5405, allocations: 1.375 kB / 406.9 MB, free: 48.39 MB / 330.7 MB Notification: Performance of Templates: time 0.04432/0.5849, allocations: 23.14 MB / 430 MB, free: 33.05 MB / 330.7 MB