Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.405e-05, allocations: 0 / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09437, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5415, allocations: 90.19 MB / 432.8 MB, free: 4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004646/0.542, allocations: 86.19 kB / 432.8 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06256/0.6046, allocations: 15.21 MB / 448.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6047, allocations: 0 / 448.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.756e-05/0.6047, allocations: 16 kB / 448.1 MB, free: 7.051 MB / 362.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.002118/0.6069, allocations: 0.938 MB / 449 MB, free: 6.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6069, allocations: 12.03 kB / 449 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.6072, allocations: 94.88 kB / 449.1 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.6083, allocations: 0.5168 MB / 449.6 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.6084, allocations: 64.45 kB / 449.7 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.6085, allocations: 76.27 kB / 449.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.6102, allocations: 0.7469 MB / 450.5 MB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.6102, allocations: 0 / 450.5 MB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.6104, allocations: 30.12 kB / 450.5 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.6104, allocations: 16 kB / 450.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.6117, allocations: 0.5261 MB / 451.1 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005426/0.6171, allocations: 2.762 MB / 453.8 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.6188, allocations: 0.6627 MB / 454.5 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.6199, allocations: 445 kB / 454.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.62, allocations: 8.562 kB / 455 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008306/0.6208, allocations: 380.5 kB / 455.3 MB, free: 1.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.947e-06/0.6209, allocations: 0 / 455.3 MB, free: 1.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.00153/0.6224, allocations: 0.5858 MB / 455.9 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.6225, allocations: 140.6 kB / 456 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/0.6233, allocations: 423.3 kB / 456.5 MB, free: 320 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.6234, allocations: 40.45 kB / 456.5 MB, free: 284 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.6238, allocations: 376.1 kB / 456.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.624, allocations: 192.8 kB / 457.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.6241, allocations: 12.38 kB / 457.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6243, allocations: 343.9 kB / 457.4 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.6248, allocations: 200 kB / 457.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.6255, allocations: 370.6 kB / 458 MB, free: 15.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.626, allocations: 223.8 kB / 458.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-06/0.626, allocations: 4 kB / 458.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001664/0.6277, allocations: 0.6771 MB / 458.9 MB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008688/0.6286, allocations: 1.578 MB / 460.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.6286, allocations: 4 kB / 460.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006805/0.6293, allocations: 161.6 kB / 460.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/0.63, allocations: 111.8 kB / 460.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005203/0.6352, allocations: 3.601 MB / 464.3 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007641/0.636, allocations: 91.55 kB / 464.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.6361, allocations: 20 kB / 464.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6361, allocations: 4 kB / 464.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001597/0.6377, allocations: 0.6319 MB / 465.1 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6377, allocations: 4 kB / 465.1 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.6383, allocations: 157.6 kB / 465.2 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.6389, allocations: 107.9 kB / 465.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.644, allocations: 3.58 MB / 468.9 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.6446, allocations: 75.66 kB / 469 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.6447, allocations: 28.09 kB / 469 MB, free: 3.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002901/0.645, allocations: 164.7 kB / 469.2 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.6452, allocations: 59.25 kB / 469.2 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.6455, allocations: 77.62 kB / 469.3 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-06/0.6455, allocations: 7.984 kB / 469.3 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.862e-06/0.6455, allocations: 4.125 kB / 469.3 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.6455, allocations: 7.984 kB / 469.3 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.6487, allocations: 1.489 MB / 470.8 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.608e-06/0.6487, allocations: 0 / 470.8 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.6493, allocations: 75.92 kB / 470.9 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/0.6499, allocations: 153.6 kB / 471 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.65, allocations: 19.94 kB / 471 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005062/0.6551, allocations: 3.512 MB / 474.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.767e-06/0.6551, allocations: 0 / 474.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.6574, allocations: 1.015 MB / 475.6 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.658, allocations: 196.4 kB / 475.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.6582, allocations: 12 kB / 475.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/0.6593, allocations: 55.95 kB / 475.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.6597, allocations: 84.44 kB / 475.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.6598, allocations: 19.98 kB / 475.9 MB, free: 12.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009044/0.6607, allocations: 321.6 kB / 476.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.044e-06/0.6608, allocations: 0 / 476.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002983/0.6638, allocations: 363 kB / 476.6 MB, free: 11.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004128/0.6642, allocations: 157.4 kB / 476.8 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004636/0.6689, allocations: 1.386 MB / 478.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.4e-06/0.6689, allocations: 0 / 478.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.6704, allocations: 0.548 MB / 478.7 MB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.6722, allocations: 107.9 kB / 478.8 MB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.6785, allocations: 1.076 MB / 479.9 MB, free: 8.141 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.6802, allocations: 0.9663 MB / 480.8 MB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.6807, allocations: 47.42 kB / 480.9 MB, free: 7.102 MB / 394.7 MB Notification: Performance of SimCode: time 2.773e-06/0.6808, allocations: 4 kB / 480.9 MB, free: 7.098 MB / 394.7 MB Notification: Performance of Templates: time 0.05135/0.7321, allocations: 14.41 MB / 495.3 MB, free: 8.73 MB / 410.7 MB