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.339/2.339, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.144e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 54.85 MB / 359.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.578, allocations: 95.92 MB / 455.8 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5783, allocations: 73.56 kB / 455.9 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.173/0.7514, allocations: 38.6 MB / 494.4 MB, free: 9.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.7514, allocations: 0 / 494.4 MB, free: 9.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003257/0.7518, allocations: 59.88 kB / 494.5 MB, free: 9.922 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.01026/0.7621, allocations: 2.122 MB / 496.6 MB, free: 7.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.7622, allocations: 8.031 kB / 496.6 MB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/0.7635, allocations: 270.2 kB / 496.9 MB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.7646, allocations: 245.1 kB / 497.1 MB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009703/0.7743, allocations: 2.211 MB / 499.4 MB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.7747, allocations: 143.7 kB / 499.5 MB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007862/0.7755, allocations: 203.9 kB / 499.7 MB, free: 4.605 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008292/0.7838, allocations: 2.577 MB / 0.4905 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.881e-05/0.7839, allocations: 0 / 0.4905 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/0.7842, allocations: 76 kB / 0.4906 GB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.7844, allocations: 83.7 kB / 0.4906 GB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007173/0.7916, allocations: 2.1 MB / 0.4927 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.8143, allocations: 7.435 MB / 0.5 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005621/0.82, allocations: 1.877 MB / 0.5018 GB, free: 6.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/0.8239, allocations: 1.284 MB / 0.503 GB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.8242, allocations: 20.94 kB / 0.5031 GB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002547/0.8267, allocations: 0.9575 MB / 0.504 GB, free: 3.961 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.01e-06/0.8268, allocations: 0 / 0.504 GB, free: 3.961 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.005619/0.8324, allocations: 1.843 MB / 0.5058 GB, free: 2.105 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/0.8326, allocations: 234.9 kB / 0.506 GB, free: 1.828 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/0.8359, allocations: 1.178 MB / 0.5072 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004184/0.8363, allocations: 81.67 kB / 0.5073 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.8375, allocations: 0.8239 MB / 0.5081 GB, free: 15.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007462/0.8383, allocations: 398.6 kB / 0.5084 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.8384, allocations: 28 kB / 0.5085 GB, free: 15.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.8387, allocations: 361.9 kB / 0.5088 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.8406, allocations: 0.6989 MB / 0.5095 GB, free: 14.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/0.8431, allocations: 1.007 MB / 0.5105 GB, free: 13.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.8453, allocations: 0.7699 MB / 0.5112 GB, free: 12.35 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.8453, allocations: 4 kB / 0.5112 GB, free: 12.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.008781/0.8541, allocations: 2.128 MB / 0.5133 GB, free: 10.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001682/0.8558, allocations: 2.46 MB / 0.5157 GB, free: 7.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.454e-05/0.8559, allocations: 8 kB / 0.5157 GB, free: 7.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004595/0.8606, allocations: 0.5708 MB / 0.5163 GB, free: 6.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.8621, allocations: 179.7 kB / 0.5164 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/0.8818, allocations: 6.117 MB / 0.5224 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.8841, allocations: 214.9 kB / 0.5226 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.8844, allocations: 52 kB / 0.5227 GB, free: 300 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.8844, allocations: 0 / 0.5227 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3516/1.236, allocations: 1.974 MB / 0.5246 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/1.236, allocations: 9.922 kB / 0.5246 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/1.238, allocations: 0.5708 MB / 0.5252 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.24, allocations: 174.6 kB / 0.5253 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.253, allocations: 6.09 MB / 0.5313 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/1.255, allocations: 195.2 kB / 0.5315 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/1.255, allocations: 50.7 kB / 0.5315 GB, free: 122.4 MB / 458.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.0005343/1.255, allocations: 245.8 kB / 0.5318 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/1.256, allocations: 144.5 kB / 0.5319 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005651/1.256, allocations: 183.2 kB / 0.5321 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/1.256, allocations: 12.45 kB / 0.5321 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.256, allocations: 3.625 kB / 0.5321 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.256, allocations: 6.703 kB / 0.5321 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.267, allocations: 4.028 MB / 0.536 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.267, allocations: 3.406 kB / 0.536 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008416/1.268, allocations: 98.23 kB / 0.5361 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/1.27, allocations: 0.5415 MB / 0.5366 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/1.271, allocations: 25.48 kB / 0.5367 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/1.284, allocations: 6.014 MB / 0.5425 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.284, allocations: 1.062 kB / 0.5425 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006226/1.29, allocations: 2.763 MB / 0.5452 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.292, allocations: 398.9 kB / 0.5456 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/1.292, allocations: 45.41 kB / 0.5457 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.294, allocations: 129.8 kB / 0.5458 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007827/1.294, allocations: 233.9 kB / 0.546 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.294, allocations: 35 kB / 0.546 GB, free: 117.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001884/1.296, allocations: 0.894 MB / 0.5469 GB, free: 117.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.296, allocations: 0 / 0.5469 GB, free: 117.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003559/1.3, allocations: 0.9672 MB / 0.5479 GB, free: 117.1 MB / 458.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[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,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_n.idealThyristor[3].off,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[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.006071/1.306, allocations: 3.421 MB / 0.5512 GB, free: 115.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007349/1.313, allocations: 3.335 MB / 0.5545 GB, free: 114 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.314, allocations: 3.078 kB / 0.5545 GB, free: 114 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/1.316, allocations: 1.141 MB / 0.5556 GB, free: 113.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.319, allocations: 351.6 kB / 0.5559 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.329, allocations: 3.623 MB / 0.5595 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/1.331, allocations: 1.837 MB / 0.5612 GB, free: 111.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002967/1.334, allocations: 0.6604 MB / 0.5619 GB, free: 111.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.335, allocations: 0.6622 MB / 0.5625 GB, free: 110.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/1.335, allocations: 0 / 0.5625 GB, free: 110.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.452, allocations: 48.8 MB / 0.6102 GB, free: 76.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.452, allocations: 198.5 kB / 0.6104 GB, free: 76.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/5.659, allocations: 4.062 kB / 0.6104 GB, free: 76.68 MB / 458.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