Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.652e-05, allocations: 0 / 292.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 50.41 MB / 342.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4485/0.5592, allocations: 85.98 MB / 428.6 MB, free: 8.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.5596, allocations: 84.89 kB / 428.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04423/0.6039, allocations: 10.33 MB / 439.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6039, allocations: 0 / 439.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.256e-05/0.604, allocations: 8 kB / 439.1 MB, free: 15.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00177/0.6057, allocations: 0.7019 MB / 439.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.6058, allocations: 12.03 kB / 439.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.606, allocations: 80.27 kB / 439.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.6061, allocations: 55.34 kB / 439.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/0.607, allocations: 377.1 kB / 440.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/0.607, allocations: 37.94 kB / 440.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.6072, allocations: 43.5 kB / 440.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.6083, allocations: 471.2 kB / 440.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.6084, allocations: 3.906 kB / 440.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.6084, allocations: 17.73 kB / 440.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.6085, allocations: 12 kB / 440.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.6093, allocations: 315.8 kB / 441.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.6134, allocations: 1.646 MB / 442.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.6144, allocations: 275 kB / 443.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.6147, allocations: 111.3 kB / 443.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.6147, allocations: 0 / 443.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/0.6153, allocations: 235.9 kB / 443.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.6153, allocations: 0 / 443.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009876/0.6163, allocations: 321.3 kB / 443.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.6164, allocations: 140.4 kB / 443.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.617, allocations: 309 kB / 444.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.6171, allocations: 41.27 kB / 444.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.6173, allocations: 249 kB / 444.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6174, allocations: 90.14 kB / 444.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.6175, allocations: 10.69 kB / 444.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6176, allocations: 356.5 kB / 444.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.618, allocations: 114.7 kB / 445 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.6184, allocations: 260.5 kB / 445.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.6188, allocations: 129.1 kB / 445.4 MB, free: 10 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.6188, allocations: 11.94 kB / 445.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00104/0.6199, allocations: 414.8 kB / 445.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006684/0.6206, allocations: 1.655 MB / 447.5 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.6206, allocations: 8 kB / 447.5 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/0.6209, allocations: 52.02 kB / 447.5 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.6215, allocations: 71.59 kB / 447.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.6232, allocations: 1.493 MB / 449.1 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.624, allocations: 78.64 kB / 449.2 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.624, allocations: 23.64 kB / 449.2 MB, free: 6.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.624, allocations: 4 kB / 449.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008827/0.6249, allocations: 349.2 kB / 449.5 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.625, allocations: 4 kB / 449.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/0.6252, allocations: 53.77 kB / 449.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.6256, allocations: 59.91 kB / 449.6 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.6273, allocations: 1.488 MB / 451.1 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/0.6279, allocations: 65.22 kB / 451.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.628, allocations: 19.44 kB / 451.2 MB, free: 4.227 MB / 362.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (48): * Single equations (assignments): 47 * 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.0002173/0.6282, allocations: 150.3 kB / 451.4 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.6283, allocations: 39.03 kB / 451.4 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.6285, allocations: 37.81 kB / 451.4 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6285, allocations: 4 kB / 451.4 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6285, allocations: 0 / 451.4 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.6285, allocations: 3.984 kB / 451.4 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.6304, allocations: 0.8826 MB / 452.3 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6304, allocations: 128 / 452.3 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.6307, allocations: 35.91 kB / 452.4 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.6309, allocations: 35.91 kB / 452.4 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.631, allocations: 11.45 kB / 452.4 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.6325, allocations: 1.408 MB / 453.8 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6326, allocations: 0 / 453.8 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.6338, allocations: 0.5455 MB / 454.4 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.634, allocations: 142.7 kB / 454.5 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.6341, allocations: 6.625 kB / 454.5 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.6346, allocations: 47.08 kB / 454.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.6348, allocations: 27.33 kB / 454.6 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.6349, allocations: 11.81 kB / 454.6 MB, free: 1.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003984/0.6353, allocations: 235.5 kB / 454.8 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6353, allocations: 0 / 454.8 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001136/0.6364, allocations: 209.3 kB / 455 MB, free: 0.7344 MB / 362.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (27): * Single equations (assignments): 21 * 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.001642/0.6381, allocations: 1.11 MB / 456.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.6397, allocations: 0.7004 MB / 456.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6398, allocations: 0 / 456.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.6402, allocations: 237.3 kB / 457.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.6409, allocations: 51.31 kB / 457.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.6433, allocations: 0.7199 MB / 457.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.6438, allocations: 0.8528 MB / 458.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.6444, allocations: 99.55 kB / 458.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.6447, allocations: 136.5 kB / 458.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6447, allocations: 0 / 458.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.6822, allocations: 8.888 MB / 467.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000394/0.6827, allocations: 218.5 kB / 468 MB, free: 4.312 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.489, allocations: 0 / 468 MB, free: 4.312 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat