Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.596e-05, allocations: 2.812 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09157, allocations: 50.43 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4652, allocations: 86.24 MB / 428.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.4655, allocations: 83.83 kB / 428.9 MB, free: 7.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04068/0.5062, allocations: 10.45 MB / 439.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5062, allocations: 0 / 439.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.5e-05/0.5062, allocations: 8 kB / 439.4 MB, free: 15.02 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001559/0.5078, allocations: 0.7157 MB / 440.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5079, allocations: 12.03 kB / 440.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.508, allocations: 59.33 kB / 440.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.5088, allocations: 384.1 kB / 440.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.5089, allocations: 38.36 kB / 440.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/0.509, allocations: 45 kB / 440.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.51, allocations: 475.9 kB / 441.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.51, allocations: 3.984 kB / 441.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.5101, allocations: 17.62 kB / 441.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.5102, allocations: 8 kB / 441.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/0.5109, allocations: 322.5 kB / 441.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.5144, allocations: 1.67 MB / 443.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.5155, allocations: 383.7 kB / 443.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.5158, allocations: 117.3 kB / 443.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.5159, allocations: 4 kB / 443.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/0.5164, allocations: 262.3 kB / 443.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/0.5164, allocations: 0 / 443.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009088/0.5174, allocations: 344.1 kB / 444.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.5175, allocations: 135.8 kB / 444.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004494/0.5179, allocations: 288.1 kB / 444.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.518, allocations: 43.89 kB / 444.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.5183, allocations: 298.6 kB / 444.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5184, allocations: 92.77 kB / 445 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.5184, allocations: 11.31 kB / 445 MB, free: 10.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5186, allocations: 325.3 kB / 445.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.5189, allocations: 121.8 kB / 445.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.5194, allocations: 263.4 kB / 445.7 MB, free: 9.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.5197, allocations: 135 kB / 445.8 MB, free: 9.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.5197, allocations: 4 kB / 445.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009123/0.5206, allocations: 408.6 kB / 446.2 MB, free: 9.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009082/0.5216, allocations: 1.668 MB / 447.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5216, allocations: 4 kB / 447.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.5218, allocations: 42.91 kB / 448 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.5223, allocations: 79.83 kB / 448 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.5241, allocations: 1.49 MB / 449.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.5246, allocations: 78.89 kB / 449.6 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.5247, allocations: 15.31 kB / 449.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.5247, allocations: 7.953 kB / 449.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008241/0.5255, allocations: 367.5 kB / 450 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.595e-06/0.5256, allocations: 4 kB / 450 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.5258, allocations: 44.23 kB / 450 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.5261, allocations: 83.7 kB / 450.1 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.5279, allocations: 1.485 MB / 451.6 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.5283, allocations: 58.44 kB / 451.7 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.5284, allocations: 19.48 kB / 451.7 MB, free: 3.656 MB / 362.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: 21 ($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,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.5286, allocations: 150.4 kB / 451.8 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5287, allocations: 35.53 kB / 451.9 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.5288, allocations: 37.95 kB / 451.9 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.001e-06/0.5289, allocations: 4 kB / 451.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.749e-06/0.5289, allocations: 0 / 451.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.012e-06/0.5289, allocations: 3.984 kB / 451.9 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.5307, allocations: 0.9039 MB / 452.8 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-06/0.5307, allocations: 4.062 kB / 452.8 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.531, allocations: 51.95 kB / 452.9 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.5312, allocations: 35.16 kB / 452.9 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.5313, allocations: 15.48 kB / 452.9 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.5329, allocations: 1.416 MB / 454.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-06/0.533, allocations: 0 / 454.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.5341, allocations: 0.575 MB / 454.9 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.5344, allocations: 142.9 kB / 455 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.5345, allocations: 7.062 kB / 455 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.5349, allocations: 51.83 kB / 455.1 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.535, allocations: 30.45 kB / 455.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.5351, allocations: 19.61 kB / 455.1 MB, free: 492 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003326/0.5354, allocations: 217.9 kB / 455.4 MB, free: 316 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.549e-06/0.5355, allocations: 0 / 455.4 MB, free: 316 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001087/0.5366, allocations: 219.6 kB / 455.6 MB, free: 116 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002429/0.5368, allocations: 131.9 kB / 455.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.5382, allocations: 0.6973 MB / 456.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.752e-06/0.5383, allocations: 0 / 456.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.5387, allocations: 265 kB / 456.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.5392, allocations: 53.98 kB / 456.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.5411, allocations: 0.643 MB / 457.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.5417, allocations: 0.8614 MB / 458.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.5419, allocations: 31.38 kB / 458.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.83e-06/0.5419, allocations: 0 / 458.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01331/0.5552, allocations: 7.135 MB / 465.4 MB, free: 6.613 MB / 378.7 MB