Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.554e-05/4.562e-05, allocations: 8.625 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 44.5 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4845/0.5935, allocations: 79.34 MB / 379.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.5939, allocations: 82.39 kB / 379.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03904/0.633, allocations: 9.117 MB / 388.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.633, allocations: 0 / 388.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.83e-05/0.6331, allocations: 8.984 kB / 388.5 MB, free: 11.43 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001742/0.6348, allocations: 0.686 MB / 389.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6349, allocations: 7.844 kB / 389.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.6351, allocations: 75.17 kB / 389.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.6353, allocations: 56.75 kB / 389.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/0.6361, allocations: 368.9 kB / 389.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.6362, allocations: 34.16 kB / 389.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.6363, allocations: 42.03 kB / 389.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.6373, allocations: 417.2 kB / 390.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.6374, allocations: 3.906 kB / 390.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.6375, allocations: 18.05 kB / 390.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.6376, allocations: 11.75 kB / 390.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.6383, allocations: 283.3 kB / 390.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.6421, allocations: 1.554 MB / 392.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.6428, allocations: 232.5 kB / 392.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.6431, allocations: 90.69 kB / 392.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.6431, allocations: 0 / 392.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.6436, allocations: 217.9 kB / 392.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.434e-06/0.6436, allocations: 0 / 392.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008887/0.6445, allocations: 297.9 kB / 392.9 MB, free: 9.727 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.6446, allocations: 110.6 kB / 393 MB, free: 9.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.6451, allocations: 295.8 kB / 393.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/0.6452, allocations: 41.72 kB / 393.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.6454, allocations: 242.8 kB / 393.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.6455, allocations: 83.41 kB / 393.6 MB, free: 9.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.6456, allocations: 6.75 kB / 393.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.6457, allocations: 355.2 kB / 394 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.646, allocations: 102.4 kB / 394.1 MB, free: 8.945 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.6463, allocations: 249.2 kB / 394.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.6466, allocations: 125 kB / 394.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6466, allocations: 0 / 394.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009004/0.6475, allocations: 402.7 kB / 394.9 MB, free: 8.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.6479, allocations: 1.657 MB / 396.5 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6479, allocations: 3.812 kB / 396.5 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/0.6483, allocations: 48.56 kB / 396.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.6488, allocations: 64.55 kB / 396.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.6506, allocations: 1.493 MB / 398.1 MB, free: 21.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.6513, allocations: 78.11 kB / 398.2 MB, free: 21.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.6514, allocations: 18.69 kB / 398.2 MB, free: 21.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.6514, allocations: 3.938 kB / 398.2 MB, free: 21.53 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000815/0.6522, allocations: 329.6 kB / 398.5 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6523, allocations: 3.875 kB / 398.5 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.6525, allocations: 47.02 kB / 398.6 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.6529, allocations: 64.03 kB / 398.7 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.6546, allocations: 1.489 MB / 400.1 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.6552, allocations: 65.47 kB / 400.2 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.6553, allocations: 11.16 kB / 400.2 MB, free: 20.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.6555, allocations: 146.5 kB / 400.4 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.6556, allocations: 35.03 kB / 400.4 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.6558, allocations: 39.38 kB / 400.4 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.6558, allocations: 3.906 kB / 400.4 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6558, allocations: 0 / 400.4 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.6558, allocations: 11.8 kB / 400.5 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.6576, allocations: 0.8155 MB / 401.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.6576, allocations: 0 / 401.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.6579, allocations: 26.95 kB / 401.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/0.6581, allocations: 41.36 kB / 401.3 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.6582, allocations: 7.625 kB / 401.3 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.6597, allocations: 1.408 MB / 402.8 MB, free: 18.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6598, allocations: 4.062 kB / 402.8 MB, free: 18.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.6609, allocations: 0.4895 MB / 403.2 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.6612, allocations: 136.4 kB / 403.4 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.6613, allocations: 18 kB / 403.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.6618, allocations: 37.88 kB / 403.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.662, allocations: 26.39 kB / 403.5 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.662, allocations: 14.95 kB / 403.5 MB, free: 18.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003694/0.6624, allocations: 223.8 kB / 403.7 MB, free: 17.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6624, allocations: 0 / 403.7 MB, free: 17.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001135/0.6635, allocations: 197.7 kB / 403.9 MB, free: 17.93 MB / 330.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/0.6651, allocations: 1.055 MB / 404.9 MB, free: 17.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.6666, allocations: 0.6648 MB / 405.6 MB, free: 16.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6666, allocations: 0 / 405.6 MB, free: 16.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.667, allocations: 232.1 kB / 405.8 MB, free: 16.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.6676, allocations: 51.27 kB / 405.9 MB, free: 16.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.6699, allocations: 0.6614 MB / 406.5 MB, free: 16.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.6704, allocations: 0.8395 MB / 407.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005145/0.671, allocations: 78.27 kB / 407.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.6712, allocations: 131.4 kB / 407.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6712, allocations: 3.75 kB / 407.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/0.7108, allocations: 8.305 MB / 415.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.7111, allocations: 217.5 kB / 416.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.595, allocations: 0 / 416.1 MB, free: 12.38 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat