Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.184e-05, allocations: 0 / 292.8 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 50.41 MB / 343.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5037/0.6337, allocations: 93.32 MB / 436.5 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.634, allocations: 89.92 kB / 436.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1604/0.7944, allocations: 38.44 MB / 475 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7945, allocations: 4 kB / 475 MB, free: 14.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002081/0.7947, allocations: 47.94 kB / 475.1 MB, free: 14.57 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: 456 * Number of variables: 456 Notification: Performance of Generate backend data structure: time 0.007526/0.8023, allocations: 2.062 MB / 477.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.8023, allocations: 8.031 kB / 477.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009227/0.8033, allocations: 265.4 kB / 477.4 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007527/0.804, allocations: 237.6 kB / 477.6 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00811/0.8122, allocations: 2.004 MB / 479.6 MB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.8124, allocations: 143.5 kB / 479.8 MB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005542/0.813, allocations: 172 kB / 480 MB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007045/0.82, allocations: 2.395 MB / 482.3 MB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.8201, allocations: 0 / 482.3 MB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.8205, allocations: 83.98 kB / 482.4 MB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.8206, allocations: 83.44 kB / 482.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006243/0.8269, allocations: 2.002 MB / 484.5 MB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02115/0.8481, allocations: 7.474 MB / 492 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.8519, allocations: 1.5 MB / 493.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00247/0.8544, allocations: 0.9484 MB / 494.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.8546, allocations: 16.83 kB / 494.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.8568, allocations: 0.8694 MB / 495.3 MB, free: 9.891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 3.927e-06/0.8568, allocations: 0 / 495.3 MB, free: 9.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=119): time 0.004315/0.8612, allocations: 1.552 MB / 496.9 MB, free: 8.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.8613, allocations: 157.5 kB / 497 MB, free: 8.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004112/0.8655, allocations: 1.137 MB / 498.2 MB, free: 6.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005314/0.8661, allocations: 65.69 kB / 498.2 MB, free: 6.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.8679, allocations: 0.7927 MB / 499 MB, free: 6.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.869, allocations: 351.2 kB / 499.4 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.8693, allocations: 24 kB / 499.4 MB, free: 5.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002891/0.8696, allocations: 361.9 kB / 499.7 MB, free: 5.383 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/0.8725, allocations: 0.6116 MB / 0.4886 GB, free: 4.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/0.8757, allocations: 0.8331 MB / 0.4894 GB, free: 3.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.878, allocations: 0.6451 MB / 0.4901 GB, free: 3.215 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.878, allocations: 4 kB / 0.4901 GB, free: 3.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004779/0.8828, allocations: 1.781 MB / 0.4918 GB, free: 1.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009234/0.8838, allocations: 1.945 MB / 0.4937 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.8838, allocations: 4 kB / 0.4937 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.8855, allocations: 434.7 kB / 0.4941 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.8871, allocations: 191.7 kB / 0.4943 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009311/0.8965, allocations: 4.393 MB / 0.4986 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.8985, allocations: 183.2 kB / 0.4988 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.8987, allocations: 47.98 kB / 0.4988 GB, free: 9.969 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8988, allocations: 4 kB / 0.4988 GB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004447/0.9032, allocations: 1.64 MB / 0.5004 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.9033, allocations: 4 kB / 0.5004 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.9049, allocations: 425.1 kB / 0.5008 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.9065, allocations: 187.6 kB / 0.501 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009406/0.916, allocations: 4.406 MB / 0.5053 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.9179, allocations: 159.2 kB / 0.5055 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.9181, allocations: 40 kB / 0.5055 GB, free: 2.98 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 (127): * Single equations (assignments): 126 * 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.0005106/0.9186, allocations: 220.8 kB / 0.5057 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.919, allocations: 138.4 kB / 0.5059 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.9196, allocations: 177.1 kB / 0.506 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.9196, allocations: 12 kB / 0.506 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.9196, allocations: 7.938 kB / 0.506 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.9197, allocations: 3.984 kB / 0.506 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.9298, allocations: 3.743 MB / 0.5097 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.9298, allocations: 0 / 0.5097 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.931, allocations: 123.8 kB / 0.5098 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.9325, allocations: 404.3 kB / 0.5102 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.9326, allocations: 27.94 kB / 0.5102 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009272/0.9419, allocations: 4.329 MB / 0.5145 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.942, allocations: 0 / 0.5145 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/0.9484, allocations: 2.599 MB / 0.517 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.9497, allocations: 375.2 kB / 0.5174 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000325/0.95, allocations: 35.98 kB / 0.5174 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.9515, allocations: 111.9 kB / 0.5175 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008064/0.9523, allocations: 228.6 kB / 0.5177 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.9524, allocations: 27.98 kB / 0.5177 GB, free: 6.215 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002084/0.9545, allocations: 0.873 MB / 0.5186 GB, free: 5.332 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9545, allocations: 4 kB / 0.5186 GB, free: 5.328 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003532/0.9581, allocations: 0.8602 MB / 0.5194 GB, free: 4.465 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[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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.007208/0.9653, allocations: 3.23 MB / 0.5226 GB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2882/1.254, allocations: 2.82 MB / 0.5253 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.254, allocations: 3.938 kB / 0.5253 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002736/1.256, allocations: 1.001 MB / 0.5263 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/1.259, allocations: 301.1 kB / 0.5266 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.27, allocations: 3.497 MB / 0.53 GB, free: 127.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/1.273, allocations: 1.781 MB / 0.5318 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00359/1.276, allocations: 0.6466 MB / 0.5324 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.278, allocations: 0.6471 MB / 0.533 GB, free: 126.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/1.278, allocations: 0 / 0.533 GB, free: 126.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.386, allocations: 41.39 MB / 0.5734 GB, free: 115.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/1.386, allocations: 241.4 kB / 0.5737 GB, free: 115.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.25/5.637, allocations: 3 kB / 0.5737 GB, free: 115.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL_res.mat does not exist to compare? outputFormat=mat