Running command: translateModel(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.78e-05, allocations: 8 kB / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.4838, allocations: 103.1 MB / 0.4999 GB, free: 3.504 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.484, allocations: 75.95 kB / 0.5 GB, free: 3.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4015/0.8856, allocations: 33.1 MB / 0.5323 GB, free: 100.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.16e-06/0.8856, allocations: 0 / 0.5323 GB, free: 100.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002096/0.8859, allocations: 48.12 kB / 0.5324 GB, free: 100.7 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.005803/0.8917, allocations: 2.132 MB / 0.5345 GB, free: 99.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8917, allocations: 18.95 kB / 0.5345 GB, free: 99.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009187/0.8927, allocations: 250.2 kB / 0.5347 GB, free: 99.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007262/0.9, allocations: 2.219 MB / 0.5369 GB, free: 98.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.9002, allocations: 142.8 kB / 0.537 GB, free: 98.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000658/0.9009, allocations: 185.2 kB / 0.5372 GB, free: 98.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006281/0.9072, allocations: 2.504 MB / 0.5397 GB, free: 97.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.168e-05/0.9073, allocations: 3.375 kB / 0.5397 GB, free: 97.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004236/0.9077, allocations: 74.25 kB / 0.5397 GB, free: 97.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.234e-05/0.9078, allocations: 83.47 kB / 0.5398 GB, free: 97.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/0.913, allocations: 2.062 MB / 0.5418 GB, free: 96.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.928, allocations: 7.393 MB / 0.549 GB, free: 91.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.9314, allocations: 1.734 MB / 0.5507 GB, free: 89.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.9339, allocations: 1.306 MB / 0.552 GB, free: 88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.775e-05/0.9341, allocations: 16.66 kB / 0.552 GB, free: 87.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.9359, allocations: 0.9585 MB / 0.553 GB, free: 87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 6.089e-06/0.9359, allocations: 0 / 0.553 GB, free: 87 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.003795/0.9397, allocations: 1.8 MB / 0.5547 GB, free: 85.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.9398, allocations: 256.6 kB / 0.555 GB, free: 84.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.9422, allocations: 1.198 MB / 0.5561 GB, free: 83.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002972/0.9426, allocations: 65.69 kB / 0.5562 GB, free: 83.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/0.9433, allocations: 0.7943 MB / 0.557 GB, free: 82.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/0.9438, allocations: 401.9 kB / 0.5574 GB, free: 82.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.9439, allocations: 28 kB / 0.5574 GB, free: 82.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.944, allocations: 370.7 kB / 0.5577 GB, free: 82.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.9453, allocations: 0.6755 MB / 0.5584 GB, free: 81.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.9468, allocations: 0.9872 MB / 0.5594 GB, free: 80.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.9482, allocations: 0.7582 MB / 0.5601 GB, free: 79.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.9483, allocations: 4 kB / 0.5601 GB, free: 79.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003795/0.9521, allocations: 1.982 MB / 0.562 GB, free: 77.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005204/0.9526, allocations: 2.45 MB / 0.5644 GB, free: 74.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.9527, allocations: 8 kB / 0.5644 GB, free: 74.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.9544, allocations: 0.5511 MB / 0.565 GB, free: 74.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9554, allocations: 187.7 kB / 0.5652 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009469/0.9649, allocations: 6.033 MB / 0.571 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.9666, allocations: 218.9 kB / 0.5713 GB, free: 67.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.9669, allocations: 47.94 kB / 0.5713 GB, free: 67.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.9669, allocations: 4 kB / 0.5713 GB, free: 67.69 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003527/0.9705, allocations: 1.921 MB / 0.5732 GB, free: 65.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.9705, allocations: 4 kB / 0.5732 GB, free: 65.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.972, allocations: 0.5403 MB / 0.5737 GB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.9729, allocations: 183.7 kB / 0.5739 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009299/0.9822, allocations: 6.056 MB / 0.5798 GB, free: 58.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.9834, allocations: 183.2 kB / 0.58 GB, free: 58.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.9835, allocations: 48 kB / 0.58 GB, free: 58.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($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,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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 {6 38} Notification: Performance of prepare postOptimizeDAE: time 0.000412/0.984, allocations: 232.5 kB / 0.5802 GB, free: 58.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.9844, allocations: 150.2 kB / 0.5804 GB, free: 58.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.9849, allocations: 186.6 kB / 0.5806 GB, free: 58.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.9849, allocations: 12 kB / 0.5806 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.569e-06/0.9849, allocations: 4 kB / 0.5806 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.9849, allocations: 7.969 kB / 0.5806 GB, free: 58.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008354/0.9933, allocations: 4.071 MB / 0.5846 GB, free: 53.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.9934, allocations: 3.984 kB / 0.5846 GB, free: 53.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.994, allocations: 99.83 kB / 0.5847 GB, free: 53.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.9955, allocations: 0.5285 MB / 0.5852 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.9957, allocations: 27.98 kB / 0.5852 GB, free: 53.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009313/1.005, allocations: 5.928 MB / 0.591 GB, free: 47.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.89e-06/1.005, allocations: 0 / 0.591 GB, free: 47.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/1.01, allocations: 2.805 MB / 0.5937 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009473/1.011, allocations: 395.1 kB / 0.5941 GB, free: 43.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.011, allocations: 39.98 kB / 0.5942 GB, free: 43.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.012, allocations: 131.9 kB / 0.5943 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/1.013, allocations: 185 kB / 0.5945 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.013, allocations: 32 kB / 0.5945 GB, free: 43.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001553/1.014, allocations: 0.9059 MB / 0.5954 GB, free: 42.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.87e-07/1.014, allocations: 0 / 0.5954 GB, free: 42.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002889/1.017, allocations: 0.9539 MB / 0.5963 GB, free: 41.74 MB / 442.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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 {6 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003318/1.018, allocations: 182.5 kB / 0.5965 GB, free: 41.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005819/1.024, allocations: 3.188 MB / 0.5996 GB, free: 38.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.828e-06/1.024, allocations: 4.5 kB / 0.5996 GB, free: 38.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.026, allocations: 1.122 MB / 0.6007 GB, free: 37.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.028, allocations: 371.8 kB / 0.601 GB, free: 36.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/1.034, allocations: 3.076 MB / 0.604 GB, free: 33.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/1.036, allocations: 1.805 MB / 0.6058 GB, free: 31.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/1.036, allocations: 91.42 kB / 0.6059 GB, free: 31.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.892e-06/1.036, allocations: 0 / 0.6059 GB, free: 31.81 MB / 442.7 MB Notification: Performance of Templates: time 0.04588/1.082, allocations: 34.05 MB / 0.6391 GB, free: 13.86 MB / 458.7 MB