Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.487e-05/3.503e-05, allocations: 4 kB / 292.3 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 50.41 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4661/0.5757, allocations: 93.35 MB / 436 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.5761, allocations: 82.45 kB / 436.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1615/0.7376, allocations: 38.44 MB / 474.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.7377, allocations: 0 / 474.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002307/0.7379, allocations: 47.94 kB / 474.6 MB, free: 14.48 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.007671/0.7456, allocations: 2.07 MB / 476.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.7457, allocations: 8.031 kB / 476.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008811/0.7466, allocations: 261.5 kB / 476.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007588/0.7474, allocations: 233.6 kB / 477.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007948/0.7553, allocations: 2.008 MB / 479.2 MB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.7555, allocations: 139.5 kB / 479.3 MB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/0.7561, allocations: 180 kB / 479.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006532/0.7626, allocations: 2.391 MB / 481.9 MB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.183e-05/0.7628, allocations: 3.938 kB / 481.9 MB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.7631, allocations: 83.97 kB / 481.9 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.7632, allocations: 75.52 kB / 482 MB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005862/0.7691, allocations: 2.006 MB / 484 MB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.7893, allocations: 7.466 MB / 491.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.7929, allocations: 1.504 MB / 493 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/0.7953, allocations: 0.9471 MB / 493.9 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.7955, allocations: 16.94 kB / 494 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002536/0.798, allocations: 0.8733 MB / 494.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 4.969e-06/0.7981, allocations: 0 / 494.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=119): time 0.004453/0.8026, allocations: 1.552 MB / 496.4 MB, free: 8.227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.8028, allocations: 157.4 kB / 496.5 MB, free: 8.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.8057, allocations: 1.137 MB / 497.7 MB, free: 6.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003604/0.8061, allocations: 65.69 kB / 497.7 MB, free: 6.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.8072, allocations: 0.7927 MB / 498.5 MB, free: 6.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006822/0.808, allocations: 359.1 kB / 498.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.8081, allocations: 24 kB / 498.9 MB, free: 5.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.8083, allocations: 361.9 kB / 499.3 MB, free: 5.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.81, allocations: 0.6116 MB / 499.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.8119, allocations: 0.8305 MB / 0.489 GB, free: 3.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.8137, allocations: 0.645 MB / 0.4896 GB, free: 3.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.8137, allocations: 4 kB / 0.4896 GB, free: 3.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004915/0.8187, allocations: 1.781 MB / 0.4913 GB, free: 1.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001012/0.8197, allocations: 1.941 MB / 0.4932 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.8198, allocations: 11.98 kB / 0.4932 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.8216, allocations: 427.3 kB / 0.4936 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.8232, allocations: 191.7 kB / 0.4938 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009435/0.8327, allocations: 4.396 MB / 0.4981 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.8347, allocations: 183.2 kB / 0.4983 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.8349, allocations: 43.98 kB / 0.4983 GB, free: 9.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.835, allocations: 4 kB / 0.4983 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005951/0.8409, allocations: 1.648 MB / 0.5 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/0.841, allocations: 4 kB / 0.5 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.8426, allocations: 420.9 kB / 0.5004 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.8442, allocations: 179.7 kB / 0.5005 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009608/0.8538, allocations: 4.403 MB / 0.5048 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.8558, allocations: 171.2 kB / 0.505 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.856, allocations: 36 kB / 0.505 GB, free: 2.883 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.0005475/0.8566, allocations: 224.8 kB / 0.5052 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/0.8571, allocations: 142.3 kB / 0.5054 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.8577, allocations: 173.1 kB / 0.5055 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.8577, allocations: 16 kB / 0.5056 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.8578, allocations: 0 / 0.5056 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.8578, allocations: 7.922 kB / 0.5056 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.8683, allocations: 3.728 MB / 0.5092 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.8684, allocations: 0 / 0.5092 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.8697, allocations: 127.8 kB / 0.5093 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.8712, allocations: 404.5 kB / 0.5097 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/0.8714, allocations: 27.94 kB / 0.5097 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00941/0.8808, allocations: 4.337 MB / 0.514 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8809, allocations: 0 / 0.514 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006699/0.8876, allocations: 2.599 MB / 0.5165 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.889, allocations: 375.2 kB / 0.5169 GB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.8894, allocations: 35.98 kB / 0.5169 GB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.8911, allocations: 112 kB / 0.517 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008436/0.8919, allocations: 228.6 kB / 0.5172 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.8921, allocations: 31.98 kB / 0.5173 GB, free: 6.113 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002189/0.8943, allocations: 0.869 MB / 0.5181 GB, free: 5.234 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.8943, allocations: 0 / 0.5181 GB, free: 5.234 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003584/0.8979, allocations: 0.868 MB / 0.519 GB, free: 4.363 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.007049/0.905, allocations: 3.222 MB / 0.5221 GB, free: 1.113 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3301/1.235, allocations: 2.823 MB / 0.5249 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.235, allocations: 0.6562 kB / 0.5249 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002962/1.238, allocations: 0.9989 MB / 0.5258 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/1.241, allocations: 305.8 kB / 0.5261 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.252, allocations: 3.494 MB / 0.5295 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002582/1.255, allocations: 1.789 MB / 0.5313 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003457/1.258, allocations: 0.65 MB / 0.5319 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/1.26, allocations: 0.6406 MB / 0.5326 GB, free: 126.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.26, allocations: 0 / 0.5326 GB, free: 126.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.373, allocations: 41.39 MB / 0.573 GB, free: 115.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.373, allocations: 241.4 kB / 0.5732 GB, free: 115.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.294/5.666, allocations: 0 / 0.5732 GB, free: 115.3 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL_res.mat does not exist to compare? outputFormat=mat