Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.638e-05, allocations: 2.812 kB / 292.1 MB, free: 8.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09067, allocations: 50.42 MB / 342.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.4634, allocations: 89.46 MB / 432 MB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.4637, allocations: 79.7 kB / 432.1 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05602/0.5198, allocations: 14.68 MB / 446.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.5198, allocations: 7.875 kB / 446.8 MB, free: 8.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.773e-05/0.5199, allocations: 16 kB / 446.8 MB, free: 8.266 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002036/0.5219, allocations: 0.8997 MB / 447.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.522, allocations: 8.031 kB / 447.7 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.5222, allocations: 90.97 kB / 447.8 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.5233, allocations: 0.5045 MB / 448.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.5234, allocations: 63.66 kB / 448.4 MB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.5235, allocations: 76.17 kB / 448.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.5251, allocations: 0.7204 MB / 449.2 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.5252, allocations: 0 / 449.2 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/0.5253, allocations: 29.12 kB / 449.2 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.5253, allocations: 16 kB / 449.2 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.5266, allocations: 0.513 MB / 449.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.532, allocations: 2.729 MB / 452.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.5331, allocations: 0.528 MB / 453 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009894/0.5341, allocations: 400.8 kB / 453.4 MB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.5342, allocations: 8.438 kB / 453.4 MB, free: 3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007614/0.535, allocations: 354.8 kB / 453.7 MB, free: 2.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.072e-06/0.535, allocations: 0 / 453.7 MB, free: 2.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.001446/0.5364, allocations: 0.5635 MB / 454.3 MB, free: 2.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.5366, allocations: 137.1 kB / 454.4 MB, free: 2.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.5374, allocations: 441.8 kB / 454.9 MB, free: 1.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-05/0.5375, allocations: 46.45 kB / 454.9 MB, free: 1.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.5378, allocations: 363.7 kB / 455.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.538, allocations: 180 kB / 455.4 MB, free: 1.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.5381, allocations: 10.62 kB / 455.4 MB, free: 1.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.5383, allocations: 340.8 kB / 455.8 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.5387, allocations: 203.3 kB / 456 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.5394, allocations: 356 kB / 456.3 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.5399, allocations: 221.5 kB / 456.5 MB, free: 436 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.532e-06/0.5399, allocations: 4 kB / 456.5 MB, free: 432 kB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001627/0.5416, allocations: 0.6776 MB / 457.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008893/0.5425, allocations: 1.572 MB / 458.8 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5425, allocations: 4 kB / 458.8 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/0.5432, allocations: 169.5 kB / 459 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.5438, allocations: 99.83 kB / 459.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/0.5491, allocations: 3.591 MB / 462.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/0.5499, allocations: 95.55 kB / 462.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/0.55, allocations: 24 kB / 462.8 MB, free: 9.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.55, allocations: 4 kB / 462.8 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/0.5515, allocations: 0.6125 MB / 463.4 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5516, allocations: 11.94 kB / 463.4 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/0.5522, allocations: 157.6 kB / 463.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.5527, allocations: 87.83 kB / 463.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/0.5578, allocations: 3.589 MB / 467.2 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.5584, allocations: 75.56 kB / 467.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.5585, allocations: 20 kB / 467.3 MB, free: 5.16 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 (67): * Single equations (assignments): 65 * 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.0002825/0.5588, allocations: 168.8 kB / 467.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.559, allocations: 59.25 kB / 467.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.5592, allocations: 73.58 kB / 467.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5592, allocations: 4.125 kB / 467.6 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.638e-06/0.5593, allocations: 7.938 kB / 467.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5593, allocations: 3.984 kB / 467.6 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.5625, allocations: 1.446 MB / 469.1 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.752e-06/0.5625, allocations: 0 / 469.1 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.5629, allocations: 55.91 kB / 469.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000602/0.5635, allocations: 161.6 kB / 469.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.5636, allocations: 15.98 kB / 469.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005016/0.5686, allocations: 3.501 MB / 472.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.5687, allocations: 8.078 kB / 472.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.571, allocations: 0.9717 MB / 473.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.5714, allocations: 192.3 kB / 474 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5716, allocations: 19.98 kB / 474 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.5721, allocations: 51.97 kB / 474 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.5724, allocations: 76.34 kB / 474.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/0.5725, allocations: 19.98 kB / 474.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006112/0.5731, allocations: 333.6 kB / 474.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.5731, allocations: 0 / 474.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001655/0.5748, allocations: 347.1 kB / 474.8 MB, free: 13.29 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 (43): * Single equations (assignments): 36 * 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.0002775/0.5751, allocations: 149.5 kB / 474.9 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002761/0.5778, allocations: 1.354 MB / 476.3 MB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.377e-06/0.5779, allocations: 0 / 476.3 MB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5789, allocations: 0.5334 MB / 476.8 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000786/0.5797, allocations: 106.1 kB / 476.9 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.5824, allocations: 1.021 MB / 478 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008057/0.5833, allocations: 0.9546 MB / 478.9 MB, free: 9.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.5835, allocations: 51.38 kB / 479 MB, free: 8.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.426e-06/0.5835, allocations: 0 / 479 MB, free: 8.988 MB / 394.7 MB Notification: Performance of Templates: time 0.02352/0.607, allocations: 13.97 MB / 492.9 MB, free: 11.04 MB / 410.7 MB