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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.653e-05, allocations: 0 / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.007458/0.1197, allocations: 4.164 MB / 349.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.1235, allocations: 1.29 MB / 350.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007015/0.1242, allocations: 35.94 kB / 350.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.1248, allocations: 111.1 kB / 350.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1258, allocations: 247.2 kB / 350.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009498/0.1268, allocations: 239.6 kB / 351.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1282, allocations: 0.5122 MB / 351.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000654/0.1289, allocations: 269.8 kB / 351.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.1295, allocations: 247.2 kB / 352.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005438/0.13, allocations: 282.9 kB / 352.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1302, allocations: 28 kB / 352.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1303, allocations: 32 kB / 352.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1305, allocations: 131.4 kB / 352.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1307, allocations: 67.94 kB / 352.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.132, allocations: 0.8298 MB / 353.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.132, allocations: 0 / 353.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1321, allocations: 0 / 353.5 MB, free: 464 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.122e-05/0.1321, allocations: 0 / 353.5 MB, free: 464 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002746/0.1349, allocations: 0.9419 MB / 354.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1349, allocations: 8.031 kB / 354.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.1352, allocations: 94.88 kB / 354.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.1364, allocations: 0.5024 MB / 355 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.1365, allocations: 58 kB / 355.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.1367, allocations: 72 kB / 355.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.1391, allocations: 0.8027 MB / 355.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.1391, allocations: 3.953 kB / 355.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.1393, allocations: 35.92 kB / 356 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.1393, allocations: 16 kB / 356 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.1415, allocations: 0.6245 MB / 356.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00668/0.1482, allocations: 2.755 MB / 359.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.1509, allocations: 0.747 MB / 360.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.151, allocations: 12.55 kB / 360.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.1523, allocations: 413.8 kB / 360.5 MB, free: 9.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 4.068e-06/0.1523, allocations: 0 / 360.5 MB, free: 9.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.004974/0.1573, allocations: 1.186 MB / 361.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1575, allocations: 145.1 kB / 361.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.1583, allocations: 417.2 kB / 362.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.1585, allocations: 49.69 kB / 362.3 MB, free: 7.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.1589, allocations: 374.6 kB / 362.7 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.1592, allocations: 197.2 kB / 362.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.1592, allocations: 12 kB / 362.9 MB, free: 6.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1594, allocations: 342.8 kB / 363.2 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008945/0.1603, allocations: 241.8 kB / 363.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.1614, allocations: 417.8 kB / 363.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.1624, allocations: 258.1 kB / 364.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.1624, allocations: 4 kB / 364.1 MB, free: 5.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002406/0.1648, allocations: 0.7426 MB / 364.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007256/0.1656, allocations: 1.657 MB / 366.5 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.1656, allocations: 4 kB / 366.5 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008071/0.1664, allocations: 153.6 kB / 366.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008878/0.1673, allocations: 115.8 kB / 366.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.1726, allocations: 3.467 MB / 370.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000915/0.1736, allocations: 103.4 kB / 370.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.1737, allocations: 24.31 kB / 370.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1737, allocations: 4 kB / 370.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002136/0.1758, allocations: 0.6753 MB / 371 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.1759, allocations: 4 kB / 371.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.1765, allocations: 149.7 kB / 371.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.1774, allocations: 103.8 kB / 371.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/0.1825, allocations: 3.47 MB / 374.8 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.1832, allocations: 79.56 kB / 374.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/0.1833, allocations: 24 kB / 374.9 MB, free: 9.887 MB / 314.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (72): * Single equations (assignments): 70 * 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.0006588/0.184, allocations: 254.1 kB / 375.1 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.1842, allocations: 63.23 kB / 375.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.1844, allocations: 77.59 kB / 375.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1845, allocations: 4 kB / 375.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1845, allocations: 4 kB / 375.3 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.1845, allocations: 3.984 kB / 375.3 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.1884, allocations: 1.519 MB / 376.8 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.1885, allocations: 7.953 kB / 376.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/0.1892, allocations: 75.89 kB / 376.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006819/0.1899, allocations: 141.6 kB / 377 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/0.19, allocations: 15.98 kB / 377 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/0.1949, allocations: 3.316 MB / 380.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.195, allocations: 0 / 380.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.1983, allocations: 1.082 MB / 381.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.1988, allocations: 196.2 kB / 381.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.199, allocations: 16 kB / 381.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/0.1997, allocations: 55.89 kB / 381.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/0.2, allocations: 88.38 kB / 381.8 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/0.2001, allocations: 19.98 kB / 381.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006277/0.2007, allocations: 330.9 kB / 382.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2007, allocations: 0 / 382.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001728/0.2025, allocations: 362.8 kB / 382.5 MB, free: 1.91 MB / 314.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (49): * Single equations (assignments): 42 * 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.0002833/0.2028, allocations: 140.2 kB / 382.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003982/0.2068, allocations: 1.506 MB / 384.1 MB, free: 216 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.2069, allocations: 3.984 kB / 384.1 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.2084, allocations: 0.5911 MB / 384.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/0.2094, allocations: 114.7 kB / 384.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.2138, allocations: 1.707 MB / 386.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007384/0.2146, allocations: 0.9705 MB / 387.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.2149, allocations: 47.42 kB / 387.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2149, allocations: 7.938 kB / 387.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of Templates: time 0.3614/0.5764, allocations: 14.49 MB / 402 MB, free: 49.18 MB / 330.7 MB