Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.483e-05, allocations: 4 kB / 292.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 50.4 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/0.6317, allocations: 94.21 MB / 436.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.632, allocations: 89.56 kB / 437 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.165/0.7971, allocations: 38.58 MB / 475.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7972, allocations: 0 / 475.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003253/0.7975, allocations: 47.94 kB / 475.6 MB, free: 13.46 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.02209/0.8196, allocations: 2.027 MB / 477.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.8197, allocations: 15.97 kB / 477.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001241/0.821, allocations: 269.7 kB / 477.9 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.8222, allocations: 233.3 kB / 478.1 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/0.8456, allocations: 2.109 MB / 480.2 MB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.846, allocations: 143.6 kB / 480.4 MB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008085/0.8468, allocations: 183.9 kB / 480.5 MB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.8644, allocations: 2.415 MB / 483 MB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.284e-05/0.8646, allocations: 0 / 483 MB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.8649, allocations: 84 kB / 483 MB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.865, allocations: 75.58 kB / 483.1 MB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006179/0.8712, allocations: 1.955 MB / 485.1 MB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.8915, allocations: 7.052 MB / 492.1 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/0.8953, allocations: 1.577 MB / 493.7 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.8979, allocations: 0.9928 MB / 494.7 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.898, allocations: 13 kB / 494.7 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002306/0.9003, allocations: 0.9094 MB / 495.6 MB, free: 9.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 5e-06/0.9004, allocations: 0 / 495.6 MB, free: 9.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.004781/0.9052, allocations: 1.692 MB / 497.3 MB, free: 7.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.9054, allocations: 187.5 kB / 497.5 MB, free: 7.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.908, allocations: 1.072 MB / 498.6 MB, free: 6.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003753/0.9084, allocations: 89.61 kB / 498.6 MB, free: 5.953 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.9094, allocations: 0.773 MB / 499.4 MB, free: 5.168 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005886/0.91, allocations: 386.7 kB / 499.8 MB, free: 4.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.9102, allocations: 28 kB / 499.8 MB, free: 4.758 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.9104, allocations: 361.9 kB / 0.4885 GB, free: 4.398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.9121, allocations: 0.6755 MB / 0.4891 GB, free: 3.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.9142, allocations: 0.9458 MB / 0.49 GB, free: 2.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.9161, allocations: 0.7271 MB / 0.4907 GB, free: 1.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.9161, allocations: 4 kB / 0.4908 GB, free: 1.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005562/0.9217, allocations: 1.997 MB / 0.4927 GB, free: 15.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.9229, allocations: 2.452 MB / 0.4951 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.9229, allocations: 8 kB / 0.4951 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.9249, allocations: 0.4948 MB / 0.4956 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.9265, allocations: 183.7 kB / 0.4958 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.9382, allocations: 5.217 MB / 0.5009 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.9404, allocations: 199 kB / 0.501 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.9406, allocations: 48 kB / 0.5011 GB, free: 7.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9407, allocations: 4 kB / 0.5011 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005123/0.9458, allocations: 1.855 MB / 0.5029 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/0.9459, allocations: 4 kB / 0.5029 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.9477, allocations: 0.4932 MB / 0.5034 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.9492, allocations: 179.7 kB / 0.5036 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.9604, allocations: 5.216 MB / 0.5087 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.9624, allocations: 175.1 kB / 0.5088 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.9625, allocations: 48 kB / 0.5089 GB, free: 14.91 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 (143): * Single equations (assignments): 142 * 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.0005527/0.9631, allocations: 241.4 kB / 0.5091 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.9634, allocations: 138.3 kB / 0.5092 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/0.964, allocations: 173.8 kB / 0.5094 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.964, allocations: 12 kB / 0.5094 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.9641, allocations: 3.953 kB / 0.5094 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.9641, allocations: 7.969 kB / 0.5094 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009512/0.9736, allocations: 3.737 MB / 0.5131 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.9737, allocations: 3.953 kB / 0.5131 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.9747, allocations: 111.8 kB / 0.5132 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.9765, allocations: 468.7 kB / 0.5136 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.9768, allocations: 20 kB / 0.5136 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/0.9878, allocations: 5.151 MB / 0.5187 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9879, allocations: 0 / 0.5187 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006535/0.9944, allocations: 2.719 MB / 0.5213 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.9957, allocations: 375.2 kB / 0.5217 GB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/0.9961, allocations: 52.09 kB / 0.5217 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.9975, allocations: 107.9 kB / 0.5218 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000798/0.9983, allocations: 233 kB / 0.5221 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.9985, allocations: 32.09 kB / 0.5221 GB, free: 1.113 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002107/1.001, allocations: 0.8131 MB / 0.5229 GB, free: 296 kB / 442.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.001, allocations: 0 / 0.5229 GB, free: 296 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.3026/1.303, allocations: 0.8832 MB / 0.5238 GB, free: 127.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[2].off,rectifier.thyristor_p.idealThyristor[3].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 (96): * Single equations (assignments): 86 * 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.00828/1.312, allocations: 3.368 MB / 0.527 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00835/1.32, allocations: 3.096 MB / 0.5301 GB, free: 126.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.32, allocations: 2.5 kB / 0.5301 GB, free: 126.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002854/1.323, allocations: 1.072 MB / 0.5311 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.326, allocations: 323.6 kB / 0.5314 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.337, allocations: 3.478 MB / 0.5348 GB, free: 125.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/1.339, allocations: 1.76 MB / 0.5365 GB, free: 124.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00353/1.342, allocations: 0.6484 MB / 0.5372 GB, free: 124.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.344, allocations: 0.6328 MB / 0.5378 GB, free: 124.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/1.344, allocations: 0 / 0.5378 GB, free: 124.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/1.457, allocations: 43.42 MB / 0.5802 GB, free: 109.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/1.457, allocations: 239.5 kB / 0.5804 GB, free: 108.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.449/5.907, allocations: 0 / 0.5804 GB, free: 108.9 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_RLV_res.mat does not exist to compare? outputFormat=mat