Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_PowerConverters_ThyristorBridge2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 270 MB / 283.6 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.478e-05, allocations: 4 kB / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4528, allocations: 61.87 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.6393, allocations: 103.1 MB / 0.5014 GB, free: 3.367 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.6396, allocations: 67.97 kB / 0.5015 GB, free: 3.301 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5776/1.217, allocations: 41.12 MB / 0.5416 GB, free: 96.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.217, allocations: 0 / 0.5416 GB, free: 96.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002523/1.218, allocations: 57 kB / 0.5417 GB, free: 96.47 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.007262/1.225, allocations: 2.199 MB / 0.5438 GB, free: 95.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.225, allocations: 11.34 kB / 0.5438 GB, free: 95.31 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007971/1.226, allocations: 283.2 kB / 0.5441 GB, free: 95.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006953/1.226, allocations: 246.7 kB / 0.5443 GB, free: 95.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007898/1.234, allocations: 2.247 MB / 0.5465 GB, free: 93.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/1.234, allocations: 149.5 kB / 0.5467 GB, free: 93.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/1.235, allocations: 202.7 kB / 0.5469 GB, free: 93.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006361/1.241, allocations: 2.628 MB / 0.5494 GB, free: 91.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.793e-05/1.241, allocations: 0 / 0.5494 GB, free: 91.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/1.242, allocations: 87.98 kB / 0.5495 GB, free: 91.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/1.242, allocations: 83.83 kB / 0.5496 GB, free: 91.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/1.247, allocations: 2.151 MB / 0.5517 GB, free: 88.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/1.266, allocations: 7.641 MB / 0.5592 GB, free: 81.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/1.27, allocations: 1.759 MB / 0.5609 GB, free: 79.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/1.273, allocations: 1.316 MB / 0.5622 GB, free: 78.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.644e-05/1.273, allocations: 13.31 kB / 0.5622 GB, free: 78.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/1.275, allocations: 0.9981 MB / 0.5632 GB, free: 77.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=138): time 4.027e-06/1.275, allocations: 0 / 0.5632 GB, free: 77.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.004367/1.279, allocations: 1.854 MB / 0.565 GB, free: 75.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.279, allocations: 260.6 kB / 0.5652 GB, free: 74.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/1.282, allocations: 1.226 MB / 0.5664 GB, free: 73.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002726/1.282, allocations: 77.67 kB / 0.5665 GB, free: 73.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/1.283, allocations: 0.8395 MB / 0.5673 GB, free: 72.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004574/1.283, allocations: 421.5 kB / 0.5677 GB, free: 72.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.284, allocations: 28 kB / 0.5677 GB, free: 72.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/1.284, allocations: 361.9 kB / 0.5681 GB, free: 71.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/1.285, allocations: 0.734 MB / 0.5688 GB, free: 71.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/1.287, allocations: 1.038 MB / 0.5698 GB, free: 70.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.289, allocations: 0.7973 MB / 0.5706 GB, free: 69.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.289, allocations: 4 kB / 0.5706 GB, free: 69.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004715/1.294, allocations: 2.179 MB / 0.5727 GB, free: 67.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000476/1.294, allocations: 2.468 MB / 0.5751 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.294, allocations: 11.94 kB / 0.5751 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/1.296, allocations: 0.5629 MB / 0.5757 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/1.298, allocations: 203.6 kB / 0.5759 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.309, allocations: 6.128 MB / 0.5819 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.311, allocations: 230.8 kB / 0.5821 GB, free: 57.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.312, allocations: 52 kB / 0.5821 GB, free: 57.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.312, allocations: 5.719 kB / 0.5822 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00438/1.316, allocations: 2.022 MB / 0.5841 GB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/1.316, allocations: 12.89 kB / 0.5841 GB, free: 55.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/1.318, allocations: 0.5671 MB / 0.5847 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.319, allocations: 187.7 kB / 0.5849 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.331, allocations: 6.097 MB / 0.5908 GB, free: 48.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.333, allocations: 203 kB / 0.591 GB, free: 47.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.333, allocations: 48 kB / 0.5911 GB, free: 47.88 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 (144): * Single equations (assignments): 143 * 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 38} Notification: Performance of prepare postOptimizeDAE: time 0.0005011/1.334, allocations: 245.4 kB / 0.5913 GB, free: 47.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/1.334, allocations: 146.2 kB / 0.5914 GB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/1.335, allocations: 194.9 kB / 0.5916 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/1.335, allocations: 15.98 kB / 0.5916 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.335, allocations: 0 / 0.5916 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/1.335, allocations: 15.86 kB / 0.5917 GB, free: 47.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009707/1.344, allocations: 4.2 MB / 0.5958 GB, free: 43.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/1.344, allocations: 3.984 kB / 0.5958 GB, free: 43.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/1.345, allocations: 103.8 kB / 0.5959 GB, free: 42.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/1.347, allocations: 0.5356 MB / 0.5964 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/1.347, allocations: 31.98 kB / 0.5964 GB, free: 42.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.359, allocations: 6.024 MB / 0.6023 GB, free: 36.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.359, allocations: 0 / 0.6023 GB, free: 36.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006014/1.365, allocations: 2.886 MB / 0.6051 GB, free: 33.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.366, allocations: 407 kB / 0.6055 GB, free: 32.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/1.367, allocations: 47.97 kB / 0.6055 GB, free: 32.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.368, allocations: 127.8 kB / 0.6057 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007194/1.369, allocations: 240.9 kB / 0.6059 GB, free: 32.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.369, allocations: 40.11 kB / 0.6059 GB, free: 32.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001848/1.371, allocations: 0.9261 MB / 0.6068 GB, free: 31.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.371, allocations: 0 / 0.6068 GB, free: 31.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003305/1.374, allocations: 0.9852 MB / 0.6078 GB, free: 30.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 48 (pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.006176/1.38, allocations: 3.546 MB / 0.6113 GB, free: 26.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008131/1.388, allocations: 3.375 MB / 0.6146 GB, free: 23.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.389, allocations: 0 / 0.6146 GB, free: 23.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002733/1.391, allocations: 1.157 MB / 0.6157 GB, free: 22.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/1.394, allocations: 379.6 kB / 0.6161 GB, free: 22.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.405, allocations: 3.737 MB / 0.6197 GB, free: 18.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/1.407, allocations: 1.882 MB / 0.6215 GB, free: 16.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003278/1.41, allocations: 0.6949 MB / 0.6222 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.412, allocations: 0.6789 MB / 0.6229 GB, free: 14.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.954e-06/1.412, allocations: 0 / 0.6229 GB, free: 14.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/1.544, allocations: 49.62 MB / 0.6713 GB, free: 13.78 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/1.545, allocations: 201.5 kB / 0.6715 GB, free: 13.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/5.859, allocations: 4 kB / 0.6715 GB, free: 13.55 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R_res.mat does not exist to compare? outputFormat=mat