Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.706e-05, allocations: 10.03 kB / 292.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 50.41 MB / 343.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/0.6399, allocations: 93.64 MB / 436.8 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.6402, allocations: 93.84 kB / 436.9 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1628/0.8031, allocations: 38.72 MB / 475.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8032, allocations: 0 / 475.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002592/0.8034, allocations: 47.94 kB / 475.7 MB, free: 13.89 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.008165/0.8116, allocations: 2.086 MB / 477.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.8117, allocations: 8.031 kB / 477.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001027/0.8127, allocations: 265.7 kB / 478 MB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/0.8136, allocations: 237.2 kB / 478.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008672/0.8223, allocations: 2.024 MB / 480.3 MB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.8226, allocations: 139.5 kB / 480.4 MB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007089/0.8233, allocations: 180 kB / 480.6 MB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007677/0.831, allocations: 2.415 MB / 483 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.864e-05/0.8311, allocations: 0 / 483 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.8315, allocations: 75.98 kB / 483.1 MB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.8316, allocations: 79.56 kB / 483.2 MB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007153/0.8388, allocations: 2.018 MB / 485.2 MB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02248/0.8613, allocations: 7.522 MB / 492.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/0.8654, allocations: 1.512 MB / 494.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.8681, allocations: 0.944 MB / 495.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.8683, allocations: 16.98 kB / 495.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002516/0.8708, allocations: 0.8772 MB / 496.1 MB, free: 9.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.819e-06/0.8709, allocations: 3.938 kB / 496.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.004467/0.8754, allocations: 1.552 MB / 497.6 MB, free: 7.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.8756, allocations: 149.5 kB / 497.8 MB, free: 7.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/0.8785, allocations: 1.153 MB / 498.9 MB, free: 6.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003671/0.8789, allocations: 73.67 kB / 499 MB, free: 6.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.8801, allocations: 0.7928 MB / 499.8 MB, free: 5.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007345/0.8809, allocations: 363 kB / 0.4884 GB, free: 4.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.8811, allocations: 24 kB / 0.4884 GB, free: 4.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.8813, allocations: 353.9 kB / 0.4888 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.8831, allocations: 0.6194 MB / 0.4894 GB, free: 3.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.8852, allocations: 0.8367 MB / 0.4902 GB, free: 3.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.8872, allocations: 0.6412 MB / 0.4908 GB, free: 2.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.8873, allocations: 4 kB / 0.4908 GB, free: 2.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005293/0.8926, allocations: 1.79 MB / 0.4926 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009554/0.8936, allocations: 1.946 MB / 0.4945 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.8936, allocations: 4 kB / 0.4945 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/0.8955, allocations: 435 kB / 0.4949 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.8972, allocations: 195.7 kB / 0.4951 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009795/0.907, allocations: 4.391 MB / 0.4994 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.9092, allocations: 183.1 kB / 0.4995 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/0.9095, allocations: 40 kB / 0.4996 GB, free: 9.129 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9096, allocations: 4 kB / 0.4996 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004553/0.9141, allocations: 1.648 MB / 0.5012 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.9142, allocations: 4 kB / 0.5012 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.9158, allocations: 432.8 kB / 0.5016 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.9174, allocations: 183.7 kB / 0.5018 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009551/0.927, allocations: 4.406 MB / 0.5061 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.9291, allocations: 163.2 kB / 0.5062 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/0.9295, allocations: 40 kB / 0.5063 GB, free: 2.125 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 (128): * Single equations (assignments): 127 * 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.0005874/0.9301, allocations: 228.5 kB / 0.5065 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/0.9306, allocations: 146.3 kB / 0.5066 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.9312, allocations: 177.2 kB / 0.5068 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.9312, allocations: 12 kB / 0.5068 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9312, allocations: 0 / 0.5068 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.9313, allocations: 3.984 kB / 0.5068 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.9419, allocations: 3.76 MB / 0.5105 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.942, allocations: 0 / 0.5105 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.9433, allocations: 131.8 kB / 0.5106 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.9448, allocations: 400.5 kB / 0.511 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/0.9451, allocations: 27.98 kB / 0.511 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009418/0.9546, allocations: 4.325 MB / 0.5152 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.9546, allocations: 0 / 0.5152 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006685/0.9613, allocations: 2.607 MB / 0.5178 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.9626, allocations: 379.2 kB / 0.5182 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.963, allocations: 35.98 kB / 0.5182 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.9645, allocations: 111.9 kB / 0.5183 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000827/0.9654, allocations: 224.6 kB / 0.5185 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.9655, allocations: 35.98 kB / 0.5185 GB, free: 5.316 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002376/0.9679, allocations: 0.8773 MB / 0.5194 GB, free: 4.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.968, allocations: 0 / 0.5194 GB, free: 4.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003855/0.9718, allocations: 0.8757 MB / 0.5203 GB, free: 3.551 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_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * 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.007403/0.9793, allocations: 3.242 MB / 0.5234 GB, free: 288 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2905/1.27, allocations: 2.831 MB / 0.5262 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.27, allocations: 1.188 kB / 0.5262 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/1.272, allocations: 0.9946 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.002328/1.275, allocations: 302.5 kB / 0.5274 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.285, allocations: 3.523 MB / 0.5309 GB, free: 127.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/1.288, allocations: 1.792 MB / 0.5326 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003679/1.291, allocations: 0.6518 MB / 0.5333 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/1.293, allocations: 0.6505 MB / 0.5339 GB, free: 126.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/1.293, allocations: 0 / 0.5339 GB, free: 126.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/1.415, allocations: 41.62 MB / 0.5746 GB, free: 114.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.416, allocations: 238.5 kB / 0.5748 GB, free: 114.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.268/5.684, allocations: 0 / 0.5748 GB, free: 114.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat