Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.751e-05, allocations: 4 kB / 292.2 MB, free: 8.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09164, allocations: 50.42 MB / 342.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.4661, allocations: 92.26 MB / 434.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4664, allocations: 88.62 kB / 434.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1184/0.5848, allocations: 30.9 MB / 465.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.329e-06/0.5848, allocations: 0 / 465.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001187/0.5849, allocations: 32 kB / 465.9 MB, free: 7.645 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.00419/0.5891, allocations: 1.588 MB / 467.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5892, allocations: 8.031 kB / 467.4 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/0.5898, allocations: 173.9 kB / 467.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006036/0.5959, allocations: 1.687 MB / 469.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.5961, allocations: 106.7 kB / 469.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.5964, allocations: 144.2 kB / 469.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.6006, allocations: 1.753 MB / 471.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.6006, allocations: 0 / 471.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.6009, allocations: 52 kB / 471.4 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-05/0.601, allocations: 62.67 kB / 471.4 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.6044, allocations: 1.391 MB / 472.8 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.6169, allocations: 5.203 MB / 478 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.6193, allocations: 1.053 MB / 479.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.6207, allocations: 0.6043 MB / 479.7 MB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-05/0.6208, allocations: 8.781 kB / 479.7 MB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.6221, allocations: 0.6214 MB / 480.3 MB, free: 8.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=88): time 4.597e-06/0.6221, allocations: 4 kB / 480.3 MB, free: 8.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.002447/0.6246, allocations: 1.027 MB / 481.3 MB, free: 7.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.6248, allocations: 175 kB / 481.5 MB, free: 7.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.6266, allocations: 0.8126 MB / 482.3 MB, free: 6.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.6268, allocations: 57.69 kB / 482.4 MB, free: 6.699 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/0.6275, allocations: 0.6226 MB / 483 MB, free: 6.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.6279, allocations: 256.5 kB / 483.2 MB, free: 5.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.628, allocations: 20 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.6283, allocations: 354.8 kB / 483.6 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009463/0.6292, allocations: 437.8 kB / 484 MB, free: 5.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.6304, allocations: 0.6563 MB / 484.7 MB, free: 4.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.6315, allocations: 485.7 kB / 485.2 MB, free: 3.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.189e-06/0.6315, allocations: 0 / 485.2 MB, free: 3.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002661/0.6342, allocations: 1.211 MB / 486.4 MB, free: 2.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00147/0.6357, allocations: 2.538 MB / 488.9 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.6357, allocations: 4 kB / 488.9 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/0.6365, allocations: 220.6 kB / 489.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/0.6374, allocations: 159.7 kB / 489.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004561/0.642, allocations: 2.765 MB / 492.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.6433, allocations: 167.2 kB / 492.2 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.6435, allocations: 36 kB / 492.3 MB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6435, allocations: 7.953 kB / 492.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002535/0.646, allocations: 1.159 MB / 493.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.6461, allocations: 4 kB / 493.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/0.6468, allocations: 229.6 kB / 493.6 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.6476, allocations: 159.7 kB / 493.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.6521, allocations: 2.783 MB / 496.6 MB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.653, allocations: 135.4 kB / 496.7 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.6531, allocations: 39.98 kB / 496.8 MB, free: 7.703 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (113): * Single equations (assignments): 112 * 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.0003904/0.6535, allocations: 204.8 kB / 497 MB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.6539, allocations: 98.88 kB / 497.1 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.6542, allocations: 121.9 kB / 497.2 MB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.6543, allocations: 8 kB / 497.2 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.161e-06/0.6543, allocations: 3.938 kB / 497.2 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.6543, allocations: 3.984 kB / 497.2 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006099/0.6604, allocations: 2.709 MB / 499.9 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.6605, allocations: 4 kB / 499.9 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.6611, allocations: 91.83 kB / 500 MB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/0.6617, allocations: 200.8 kB / 0.4885 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/0.6619, allocations: 27.98 kB / 0.4885 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004409/0.6663, allocations: 2.712 MB / 0.4911 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.518e-06/0.6663, allocations: 4 kB / 0.4911 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/0.67, allocations: 1.77 MB / 0.4929 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/0.6708, allocations: 287.6 kB / 0.4931 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.671, allocations: 24 kB / 0.4932 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008072/0.6719, allocations: 95.91 kB / 0.4933 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004043/0.6723, allocations: 140.6 kB / 0.4934 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.055e-05/0.6724, allocations: 31.98 kB / 0.4934 GB, free: 14.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00124/0.6736, allocations: 0.6125 MB / 0.494 GB, free: 14.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.66e-07/0.6737, allocations: 0 / 0.494 GB, free: 14.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002316/0.676, allocations: 0.615 MB / 0.4946 GB, free: 13.68 MB / 426.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: 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[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 66 * 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.0003381/0.6763, allocations: 169 kB / 0.4948 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004152/0.6805, allocations: 1.931 MB / 0.4967 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.6806, allocations: 4.438 kB / 0.4967 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.6821, allocations: 0.7074 MB / 0.4974 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.6835, allocations: 209.2 kB / 0.4976 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/0.6888, allocations: 2.084 MB / 0.4996 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.6904, allocations: 1.436 MB / 0.501 GB, free: 7.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.6908, allocations: 67.44 kB / 0.5011 GB, free: 6.984 MB / 426.7 MB Notification: Performance of SimCode: time 2.054e-06/0.6908, allocations: 0 / 0.5011 GB, free: 6.984 MB / 426.7 MB Notification: Performance of Templates: time 0.03951/0.7303, allocations: 22.79 MB / 0.5233 GB, free: 240 kB / 442.7 MB