Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_PowerConverters_ThyristorBridge2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.145e-05, allocations: 4 kB / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3693, allocations: 54.87 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.565, allocations: 95.25 MB / 449.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5653, allocations: 87.88 kB / 449.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1545/0.7199, allocations: 38.19 MB / 487.9 MB, free: 12.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7199, allocations: 0 / 487.9 MB, free: 12.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002327/0.7202, allocations: 55.94 kB / 487.9 MB, free: 12.33 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.008169/0.7284, allocations: 2.123 MB / 490 MB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.7284, allocations: 15.97 kB / 490.1 MB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.7297, allocations: 253.2 kB / 490.3 MB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008876/0.7386, allocations: 2.188 MB / 492.5 MB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.7388, allocations: 71.98 kB / 492.6 MB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006426/0.7395, allocations: 115.9 kB / 492.7 MB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006499/0.746, allocations: 2.003 MB / 494.7 MB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007323/0.7534, allocations: 2.305 MB / 497 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.573e-05/0.7535, allocations: 11.94 kB / 497 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.7538, allocations: 4 kB / 497 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.7539, allocations: 79.7 kB / 497.1 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3359/1.09, allocations: 7.048 MB / 0.4923 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/1.095, allocations: 1.811 MB / 0.4941 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/1.098, allocations: 1.139 MB / 0.4952 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.098, allocations: 18.59 kB / 0.4952 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/1.1, allocations: 0.9181 MB / 0.4961 GB, free: 105.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 5.891e-06/1.1, allocations: 1.188 kB / 0.4961 GB, free: 105.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.004874/1.105, allocations: 1.76 MB / 0.4978 GB, free: 105.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.105, allocations: 232.9 kB / 0.498 GB, free: 105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/1.108, allocations: 1.028 MB / 0.499 GB, free: 104.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003826/1.108, allocations: 58.84 kB / 0.4991 GB, free: 104.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.109, allocations: 0.8245 MB / 0.4999 GB, free: 104.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006846/1.11, allocations: 382.1 kB / 0.5003 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.11, allocations: 0 / 0.5003 GB, free: 104.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/1.11, allocations: 359.5 kB / 0.5006 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/1.112, allocations: 0.6783 MB / 0.5013 GB, free: 104.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/1.113, allocations: 0.9686 MB / 0.5022 GB, free: 103.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/1.115, allocations: 0.7303 MB / 0.5029 GB, free: 103.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/1.115, allocations: 0 / 0.5029 GB, free: 103.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005157/1.12, allocations: 1.989 MB / 0.5049 GB, free: 103.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006105/1.121, allocations: 2.44 MB / 0.5073 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/1.121, allocations: 7.781 kB / 0.5073 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/1.124, allocations: 0.5727 MB / 0.5078 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.125, allocations: 178.4 kB / 0.508 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.137, allocations: 5.988 MB / 0.5138 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.139, allocations: 179.8 kB / 0.514 GB, free: 96.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/1.139, allocations: 52.64 kB / 0.5141 GB, free: 96.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.139, allocations: 8.703 kB / 0.5141 GB, free: 96.94 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003867/1.143, allocations: 1.813 MB / 0.5158 GB, free: 96.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/1.143, allocations: 7.656 kB / 0.5159 GB, free: 96.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/1.145, allocations: 0.558 MB / 0.5164 GB, free: 96.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.146, allocations: 176.9 kB / 0.5166 GB, free: 96.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.157, allocations: 6 MB / 0.5224 GB, free: 92.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.159, allocations: 165.1 kB / 0.5226 GB, free: 92.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.159, allocations: 45.91 kB / 0.5226 GB, free: 92.77 MB / 426.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (138): * Single equations (assignments): 137 * 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.0005022/1.16, allocations: 194.1 kB / 0.5228 GB, free: 92.63 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004217/1.164, allocations: 1.752 MB / 0.5245 GB, free: 92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004718/1.165, allocations: 138.1 kB / 0.5247 GB, free: 91.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/1.165, allocations: 163.5 kB / 0.5248 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.165, allocations: 15.25 kB / 0.5248 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.165, allocations: 0 / 0.5248 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.165, allocations: 6.328 kB / 0.5248 GB, free: 91.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008748/1.174, allocations: 3.672 MB / 0.5284 GB, free: 90.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.174, allocations: 0 / 0.5284 GB, free: 90.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/1.175, allocations: 103 kB / 0.5285 GB, free: 90.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/1.177, allocations: 0.5284 MB / 0.529 GB, free: 90.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.177, allocations: 10.64 kB / 0.529 GB, free: 90.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/1.188, allocations: 5.854 MB / 0.5348 GB, free: 86.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.188, allocations: 0 / 0.5348 GB, free: 86.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005201/1.193, allocations: 2.64 MB / 0.5373 GB, free: 84.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.195, allocations: 381.3 kB / 0.5377 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/1.195, allocations: 27.59 kB / 0.5377 GB, free: 84.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.196, allocations: 106.4 kB / 0.5378 GB, free: 84.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008316/1.197, allocations: 238 kB / 0.5381 GB, free: 83.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.197, allocations: 35.61 kB / 0.5381 GB, free: 83.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001519/1.199, allocations: 0.7513 MB / 0.5388 GB, free: 83.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.199, allocations: 0 / 0.5388 GB, free: 83.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003564/1.202, allocations: 0.8936 MB / 0.5397 GB, free: 82.36 MB / 426.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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.005496/1.208, allocations: 3.277 MB / 0.5429 GB, free: 79.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007114/1.215, allocations: 3.181 MB / 0.546 GB, free: 76.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.215, allocations: 8.062 kB / 0.546 GB, free: 76.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002445/1.218, allocations: 1.087 MB / 0.5471 GB, free: 75.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.22, allocations: 310.5 kB / 0.5474 GB, free: 75.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/1.23, allocations: 3.484 MB / 0.5508 GB, free: 72.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/1.232, allocations: 1.839 MB / 0.5526 GB, free: 70.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002855/1.235, allocations: 0.617 MB / 0.5532 GB, free: 70.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.236, allocations: 0.6547 MB / 0.5538 GB, free: 69.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/1.236, allocations: 0 / 0.5538 GB, free: 69.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1258/1.362, allocations: 44.44 MB / 0.5972 GB, free: 26.13 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/1.362, allocations: 167.4 kB / 0.5974 GB, free: 25.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.111/5.474, allocations: 0 / 0.5974 GB, free: 25.93 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R_res.mat does not exist to compare? outputFormat=mat