Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_PowerConverters_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.536e-05, allocations: 0 / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4292, allocations: 61.88 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.6302, allocations: 103.1 MB / 0.5014 GB, free: 3.359 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.6305, allocations: 71.97 kB / 0.5015 GB, free: 3.289 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4997/1.13, allocations: 33.11 MB / 0.5338 GB, free: 100.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.13, allocations: 0 / 0.5338 GB, free: 100.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002376/1.131, allocations: 48.95 kB / 0.5339 GB, free: 100.8 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.007607/1.138, allocations: 2.138 MB / 0.536 GB, free: 99.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.138, allocations: 13 kB / 0.536 GB, free: 99.78 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001035/1.139, allocations: 276.8 kB / 0.5362 GB, free: 99.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008615/1.14, allocations: 247.2 kB / 0.5365 GB, free: 99.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008403/1.149, allocations: 2.205 MB / 0.5386 GB, free: 98.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/1.149, allocations: 143.7 kB / 0.5388 GB, free: 98.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006819/1.15, allocations: 182.1 kB / 0.5389 GB, free: 98.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006901/1.156, allocations: 2.509 MB / 0.5414 GB, free: 97.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/1.157, allocations: 3.75 kB / 0.5414 GB, free: 97.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/1.157, allocations: 76.66 kB / 0.5415 GB, free: 97.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/1.157, allocations: 84 kB / 0.5416 GB, free: 97.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005913/1.163, allocations: 2.055 MB / 0.5436 GB, free: 96.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/1.181, allocations: 7.391 MB / 0.5508 GB, free: 90.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/1.185, allocations: 1.73 MB / 0.5525 GB, free: 88.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/1.188, allocations: 1.309 MB / 0.5537 GB, free: 87.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/1.188, allocations: 13 kB / 0.5538 GB, free: 87.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/1.19, allocations: 0.9626 MB / 0.5547 GB, free: 86.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 4.408e-06/1.19, allocations: 0 / 0.5547 GB, free: 86.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.004378/1.195, allocations: 1.796 MB / 0.5565 GB, free: 84.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.195, allocations: 264.6 kB / 0.5567 GB, free: 84.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/1.197, allocations: 1.19 MB / 0.5579 GB, free: 83.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003715/1.198, allocations: 69.69 kB / 0.5579 GB, free: 83.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/1.199, allocations: 0.816 MB / 0.5587 GB, free: 82.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005951/1.199, allocations: 413.7 kB / 0.5591 GB, free: 81.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/1.199, allocations: 28 kB / 0.5592 GB, free: 81.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/1.199, allocations: 365.9 kB / 0.5595 GB, free: 81.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/1.201, allocations: 0.6872 MB / 0.5602 GB, free: 80.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/1.203, allocations: 0.9755 MB / 0.5611 GB, free: 79.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/1.204, allocations: 0.7546 MB / 0.5619 GB, free: 78.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.204, allocations: 0 / 0.5619 GB, free: 78.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004571/1.209, allocations: 2.071 MB / 0.5639 GB, free: 76.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005123/1.21, allocations: 2.471 MB / 0.5663 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.21, allocations: 7.938 kB / 0.5663 GB, free: 74.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/1.212, allocations: 0.555 MB / 0.5668 GB, free: 73.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/1.213, allocations: 187.7 kB / 0.567 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.225, allocations: 6.033 MB / 0.5729 GB, free: 67.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/1.227, allocations: 226.8 kB / 0.5731 GB, free: 67.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/1.227, allocations: 44 kB / 0.5732 GB, free: 67.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.227, allocations: 5.719 kB / 0.5732 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004143/1.231, allocations: 1.917 MB / 0.5751 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/1.231, allocations: 8 kB / 0.5751 GB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/1.233, allocations: 0.5485 MB / 0.5756 GB, free: 64.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.235, allocations: 187.7 kB / 0.5758 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/1.246, allocations: 5.986 MB / 0.5816 GB, free: 58.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/1.248, allocations: 199 kB / 0.5818 GB, free: 58.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/1.249, allocations: 47.98 kB / 0.5819 GB, free: 58.05 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: 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,$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,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[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 (132): * Single equations (assignments): 131 * 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.0004597/1.249, allocations: 228.9 kB / 0.5821 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/1.249, allocations: 150.2 kB / 0.5822 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/1.25, allocations: 190.6 kB / 0.5824 GB, free: 57.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.25, allocations: 12 kB / 0.5824 GB, free: 57.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.25, allocations: 0 / 0.5824 GB, free: 57.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.25, allocations: 7.969 kB / 0.5824 GB, free: 57.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/1.26, allocations: 4.063 MB / 0.5864 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.26, allocations: 3.938 kB / 0.5864 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009389/1.261, allocations: 111.8 kB / 0.5865 GB, free: 53.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/1.263, allocations: 0.5316 MB / 0.587 GB, free: 52.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/1.263, allocations: 31.98 kB / 0.587 GB, free: 52.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/1.275, allocations: 5.909 MB / 0.5928 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.275, allocations: 0 / 0.5928 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005886/1.281, allocations: 2.801 MB / 0.5956 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.282, allocations: 407.1 kB / 0.5959 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004393/1.282, allocations: 35.98 kB / 0.596 GB, free: 43.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/1.284, allocations: 123.9 kB / 0.5961 GB, free: 43.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006654/1.285, allocations: 189 kB / 0.5963 GB, free: 43.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.285, allocations: 32 kB / 0.5963 GB, free: 43.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002039/1.287, allocations: 0.9058 MB / 0.5972 GB, free: 42.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.503e-06/1.287, allocations: 0 / 0.5972 GB, free: 42.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004169/1.291, allocations: 0.9617 MB / 0.5981 GB, free: 41.17 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: 42 (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.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].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.006261/1.298, allocations: 3.448 MB / 0.6015 GB, free: 37.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007475/1.305, allocations: 3.238 MB / 0.6047 GB, free: 34.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.305, allocations: 0 / 0.6047 GB, free: 34.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/1.308, allocations: 1.119 MB / 0.6057 GB, free: 33.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/1.31, allocations: 375 kB / 0.6061 GB, free: 32.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00955/1.32, allocations: 3.66 MB / 0.6097 GB, free: 29.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/1.322, allocations: 1.847 MB / 0.6115 GB, free: 27.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002979/1.325, allocations: 0.6633 MB / 0.6121 GB, free: 26.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.326, allocations: 0.6633 MB / 0.6128 GB, free: 26.02 MB / 442.7 MB Notification: Performance of SimCode: time 2.084e-06/1.326, allocations: 4 kB / 0.6128 GB, free: 26.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1331/1.459, allocations: 47.97 MB / 0.6596 GB, free: 10.52 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/1.459, allocations: 204.8 kB / 0.6598 GB, free: 10.29 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.243/5.702, allocations: 0 / 0.6598 GB, free: 10.29 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat