Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.4e-05, allocations: 4 kB / 292.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 50.4 MB / 342.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5278/0.6546, allocations: 94.06 MB / 436.7 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.655, allocations: 90.38 kB / 436.8 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2044/0.8594, allocations: 49.6 MB / 486.4 MB, free: 2.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.8594, allocations: 0 / 486.4 MB, free: 2.641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003397/0.8598, allocations: 47.94 kB / 486.5 MB, free: 2.594 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: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.0112/0.871, allocations: 2.011 MB / 488.5 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.8711, allocations: 8.031 kB / 488.5 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009831/0.8721, allocations: 265.6 kB / 488.7 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007424/0.8729, allocations: 229.3 kB / 489 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00869/0.8816, allocations: 2.105 MB / 491.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.8818, allocations: 139.5 kB / 491.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007084/0.8826, allocations: 180 kB / 491.4 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007029/0.8896, allocations: 2.404 MB / 493.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.284e-05/0.8897, allocations: 0 / 493.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.8901, allocations: 75.98 kB / 493.9 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.8902, allocations: 83.53 kB / 493.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006146/0.8964, allocations: 1.944 MB / 495.9 MB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/0.9166, allocations: 7.005 MB / 0.4911 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.9205, allocations: 1.559 MB / 0.4926 GB, free: 264 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/0.9231, allocations: 0.9733 MB / 0.4936 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.9233, allocations: 13 kB / 0.4936 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002315/0.9256, allocations: 0.9017 MB / 0.4945 GB, free: 14.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 8.296e-06/0.9257, allocations: 0 / 0.4945 GB, free: 14.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=128): time 0.005/0.9307, allocations: 1.695 MB / 0.4961 GB, free: 12.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.9309, allocations: 187.5 kB / 0.4963 GB, free: 12.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.9337, allocations: 1.068 MB / 0.4973 GB, free: 11.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004343/0.9342, allocations: 77.69 kB / 0.4974 GB, free: 11.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.9353, allocations: 0.7651 MB / 0.4982 GB, free: 10.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000747/0.9361, allocations: 382.8 kB / 0.4985 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.9362, allocations: 24 kB / 0.4985 GB, free: 10.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.9365, allocations: 361.9 kB / 0.4989 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.9384, allocations: 0.6676 MB / 0.4995 GB, free: 9.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.9408, allocations: 0.9418 MB / 0.5005 GB, free: 8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.9429, allocations: 0.7272 MB / 0.5012 GB, free: 7.273 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.943, allocations: 8 kB / 0.5012 GB, free: 7.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005568/0.9486, allocations: 1.992 MB / 0.5031 GB, free: 5.262 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.9498, allocations: 2.447 MB / 0.5055 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.9499, allocations: 8 kB / 0.5055 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.952, allocations: 0.4948 MB / 0.506 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.9535, allocations: 191.6 kB / 0.5062 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.9654, allocations: 5.225 MB / 0.5113 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.9675, allocations: 187.1 kB / 0.5115 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.9678, allocations: 48 kB / 0.5115 GB, free: 12.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.9678, allocations: 4 kB / 0.5115 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005679/0.9735, allocations: 1.851 MB / 0.5133 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/0.9736, allocations: 4 kB / 0.5133 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.9754, allocations: 493.4 kB / 0.5138 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.9769, allocations: 179.7 kB / 0.514 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.9885, allocations: 5.223 MB / 0.5191 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.991, allocations: 167.2 kB / 0.5192 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/0.9914, allocations: 51.98 kB / 0.5193 GB, free: 4.25 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: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[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 (142): * Single equations (assignments): 141 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005687/0.992, allocations: 241.4 kB / 0.5195 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/0.9925, allocations: 138.3 kB / 0.5196 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/0.9931, allocations: 169.6 kB / 0.5198 GB, free: 3.695 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.9931, allocations: 12 kB / 0.5198 GB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.9931, allocations: 11.89 kB / 0.5198 GB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.9931, allocations: 7.969 kB / 0.5198 GB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3289/1.322, allocations: 3.707 MB / 0.5235 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.322, allocations: 0.8125 kB / 0.5235 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.323, allocations: 111.3 kB / 0.5236 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/1.325, allocations: 466.3 kB / 0.524 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/1.326, allocations: 23.91 kB / 0.524 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/1.337, allocations: 5.149 MB / 0.5291 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.337, allocations: 4.188 kB / 0.5291 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006539/1.344, allocations: 2.702 MB / 0.5317 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.345, allocations: 381.7 kB / 0.5321 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000341/1.345, allocations: 45.8 kB / 0.5321 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.347, allocations: 113.4 kB / 0.5322 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008814/1.348, allocations: 228.5 kB / 0.5324 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.348, allocations: 33.02 kB / 0.5325 GB, free: 125.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002072/1.35, allocations: 0.8079 MB / 0.5333 GB, free: 125.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.35, allocations: 1.156 kB / 0.5333 GB, free: 125.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004154/1.354, allocations: 0.876 MB / 0.5341 GB, free: 125.4 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: 48 (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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[2].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,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 85 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.007666/1.362, allocations: 3.358 MB / 0.5374 GB, free: 124.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008572/1.37, allocations: 3.087 MB / 0.5404 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.37, allocations: 1.094 kB / 0.5404 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/1.374, allocations: 1.067 MB / 0.5415 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.377, allocations: 331.7 kB / 0.5418 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.388, allocations: 3.46 MB / 0.5451 GB, free: 122.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/1.389, allocations: 1.767 MB / 0.5469 GB, free: 121.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002997/1.392, allocations: 0.6341 MB / 0.5475 GB, free: 121.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.394, allocations: 0.6257 MB / 0.5481 GB, free: 121.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.854e-06/1.394, allocations: 3.812 kB / 0.5481 GB, free: 121.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.502, allocations: 43.22 MB / 0.5903 GB, free: 101.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.502, allocations: 230.9 kB / 0.5905 GB, free: 101.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.115/5.616, allocations: 0 / 0.5905 GB, free: 101.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL_res.mat does not exist to compare? outputFormat=mat