Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.696e-05, allocations: 4 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 50.4 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.58, allocations: 93.91 MB / 436.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.5804, allocations: 89.75 kB / 436.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1755/0.7559, allocations: 38.86 MB / 475.5 MB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.756, allocations: 0 / 475.5 MB, free: 13.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002721/0.7563, allocations: 51.94 kB / 475.5 MB, free: 13.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.008911/0.7652, allocations: 2.103 MB / 477.6 MB, free: 11.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.7653, allocations: 8.031 kB / 477.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001336/0.7666, allocations: 273.7 kB / 477.9 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.7679, allocations: 233.2 kB / 478.2 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008821/0.7768, allocations: 2.02 MB / 480.2 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.7771, allocations: 139.6 kB / 480.3 MB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009336/0.778, allocations: 188 kB / 480.5 MB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008803/0.7869, allocations: 2.422 MB / 482.9 MB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.64e-05/0.787, allocations: 4 kB / 482.9 MB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006168/0.7876, allocations: 79.98 kB / 483 MB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.7878, allocations: 79.58 kB / 483.1 MB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007389/0.7952, allocations: 2.018 MB / 485.1 MB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.8193, allocations: 7.42 MB / 492.5 MB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00506/0.8244, allocations: 1.644 MB / 494.2 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002876/0.8273, allocations: 0.9635 MB / 495.1 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.8275, allocations: 20.98 kB / 495.1 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002715/0.8303, allocations: 0.8811 MB / 496 MB, free: 8.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 5.32e-06/0.8303, allocations: 4 kB / 496 MB, free: 8.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.005227/0.8356, allocations: 1.583 MB / 497.6 MB, free: 7.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.8358, allocations: 153.5 kB / 497.8 MB, free: 7.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/0.839, allocations: 1.121 MB / 498.9 MB, free: 5.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000402/0.8395, allocations: 69.69 kB / 498.9 MB, free: 5.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.8407, allocations: 0.7674 MB / 499.7 MB, free: 5.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008001/0.8416, allocations: 362.9 kB / 0.4883 GB, free: 4.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.8417, allocations: 28 kB / 0.4884 GB, free: 4.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.842, allocations: 362.8 kB / 0.4887 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.8439, allocations: 0.6234 MB / 0.4893 GB, free: 3.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.8463, allocations: 0.8367 MB / 0.4901 GB, free: 2.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.8483, allocations: 0.649 MB / 0.4908 GB, free: 2.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.8484, allocations: 0 / 0.4908 GB, free: 2.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005294/0.8537, allocations: 1.712 MB / 0.4925 GB, free: 440 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001082/0.8548, allocations: 1.923 MB / 0.4943 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.8549, allocations: 4 kB / 0.4943 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.8569, allocations: 438.7 kB / 0.4948 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.8588, allocations: 207.6 kB / 0.495 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.8692, allocations: 4.393 MB / 0.4992 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.8714, allocations: 179.2 kB / 0.4994 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.8719, allocations: 44 kB / 0.4995 GB, free: 8.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8719, allocations: 4 kB / 0.4995 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005014/0.8769, allocations: 1.648 MB / 0.5011 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/0.877, allocations: 8 kB / 0.5011 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.8786, allocations: 424.2 kB / 0.5015 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.8804, allocations: 203.9 kB / 0.5017 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.8906, allocations: 4.455 MB / 0.506 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.8922, allocations: 159.2 kB / 0.5062 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.8925, allocations: 47.98 kB / 0.5062 GB, free: 1.906 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,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 (129): * Single equations (assignments): 128 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005579/0.8931, allocations: 227.3 kB / 0.5064 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/0.8936, allocations: 134.3 kB / 0.5066 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.8943, allocations: 177.3 kB / 0.5067 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.8944, allocations: 16 kB / 0.5068 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.8944, allocations: 0 / 0.5068 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.8944, allocations: 7.969 kB / 0.5068 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.9065, allocations: 3.779 MB / 0.5104 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.9065, allocations: 4 kB / 0.5105 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.9081, allocations: 143.8 kB / 0.5106 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.9098, allocations: 400.5 kB / 0.511 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002885/0.9101, allocations: 31.94 kB / 0.511 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00998/0.9201, allocations: 4.33 MB / 0.5152 GB, free: 8.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.9202, allocations: 0 / 0.5152 GB, free: 8.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007408/0.9276, allocations: 2.64 MB / 0.5178 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/0.9291, allocations: 379.2 kB / 0.5182 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005621/0.9297, allocations: 31.98 kB / 0.5182 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/0.9317, allocations: 119.9 kB / 0.5183 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/0.9328, allocations: 228.6 kB / 0.5185 GB, free: 5.059 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.9331, allocations: 39.98 kB / 0.5186 GB, free: 5.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002436/0.9355, allocations: 0.8615 MB / 0.5194 GB, free: 4.148 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9356, allocations: 0 / 0.5194 GB, free: 4.148 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004433/0.94, allocations: 0.8679 MB / 0.5203 GB, free: 3.277 MB / 442.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,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.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,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 (97): * Single equations (assignments): 87 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.3516/1.292, allocations: 3.283 MB / 0.5235 GB, free: 128.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008053/1.3, allocations: 2.806 MB / 0.5262 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/1.3, allocations: 2.094 kB / 0.5262 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.302, allocations: 1.01 MB / 0.5272 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.305, allocations: 294.2 kB / 0.5275 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.315, allocations: 3.498 MB / 0.5309 GB, free: 127.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/1.317, allocations: 1.767 MB / 0.5326 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.319, allocations: 0.6704 MB / 0.5333 GB, free: 126.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/1.319, allocations: 0 / 0.5333 GB, free: 126.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.178/4.497, allocations: 42.03 MB / 0.5743 GB, free: 115 MB / 442.7 MB