Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.749e-05, allocations: 4 kB / 292.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 50.4 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5501, allocations: 86.2 MB / 428.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/0.5506, allocations: 91.19 kB / 428.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06617/0.6168, allocations: 10.45 MB / 439.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.322e-06/0.6169, allocations: 3.984 kB / 439.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.343e-05/0.6169, allocations: 8 kB / 439.4 MB, free: 14.78 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003253/0.6202, allocations: 0.7262 MB / 440.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.6203, allocations: 8.031 kB / 440.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/0.6206, allocations: 82.66 kB / 440.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.6208, allocations: 59.33 kB / 440.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.6218, allocations: 382.3 kB / 440.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/0.622, allocations: 36.55 kB / 440.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.6222, allocations: 47.38 kB / 440.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.624, allocations: 478.4 kB / 441.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.6241, allocations: 7.984 kB / 441.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.6241, allocations: 18.75 kB / 441.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.6242, allocations: 8 kB / 441.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/0.6251, allocations: 321.1 kB / 441.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/0.6291, allocations: 1.663 MB / 443.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.6305, allocations: 386.1 kB / 443.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.6308, allocations: 118.7 kB / 443.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.6309, allocations: 7.984 kB / 443.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/0.6315, allocations: 258.4 kB / 444 MB, free: 10.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.515e-06/0.6315, allocations: 0 / 444 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001003/0.6325, allocations: 340.6 kB / 444.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.6326, allocations: 139.8 kB / 444.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.6331, allocations: 284.9 kB / 444.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.6332, allocations: 36.83 kB / 444.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.6334, allocations: 244.4 kB / 445 MB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.6335, allocations: 110.3 kB / 445.1 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.6336, allocations: 10.19 kB / 445.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6338, allocations: 346.8 kB / 445.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.6341, allocations: 113.6 kB / 445.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.6346, allocations: 261.1 kB / 445.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.6349, allocations: 146.4 kB / 446 MB, free: 9.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.635, allocations: 0 / 446 MB, free: 9.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001083/0.6361, allocations: 421.4 kB / 446.4 MB, free: 8.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000745/0.6368, allocations: 1.664 MB / 448 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6368, allocations: 8 kB / 448 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.6372, allocations: 43.28 kB / 448.1 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.6377, allocations: 83.45 kB / 448.2 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.6395, allocations: 1.497 MB / 449.7 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.6402, allocations: 75.27 kB / 449.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.6402, allocations: 19.27 kB / 449.8 MB, free: 5.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.6403, allocations: 4 kB / 449.8 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009045/0.6412, allocations: 368.7 kB / 450.1 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6412, allocations: 4 kB / 450.1 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.6414, allocations: 47.06 kB / 450.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.6419, allocations: 79.39 kB / 450.2 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.6435, allocations: 1.486 MB / 451.7 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.6441, allocations: 67.03 kB / 451.8 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.6442, allocations: 15.88 kB / 451.8 MB, free: 3.367 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 (49): * Single equations (assignments): 48 * 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.0002018/0.6444, allocations: 143.6 kB / 451.9 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/0.6445, allocations: 43.39 kB / 452 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.6446, allocations: 37.08 kB / 452 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.6446, allocations: 8 kB / 452 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6446, allocations: 4 kB / 452 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.6447, allocations: 0 / 452 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.6465, allocations: 0.9054 MB / 452.9 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6465, allocations: 0 / 452.9 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.647, allocations: 46.72 kB / 453 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.6472, allocations: 44.33 kB / 453 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.6472, allocations: 3.5 kB / 453 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.6488, allocations: 1.415 MB / 454.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6488, allocations: 0 / 454.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.6501, allocations: 0.5783 MB / 455 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.6503, allocations: 142.5 kB / 455.2 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.6504, allocations: 11.44 kB / 455.2 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.651, allocations: 47.89 kB / 455.2 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.6511, allocations: 34.95 kB / 455.3 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.6512, allocations: 11.98 kB / 455.3 MB, free: 196 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003403/0.6515, allocations: 231.2 kB / 455.5 MB, free: 12 kB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6515, allocations: 3.938 kB / 455.5 MB, free: 8 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001166/0.6527, allocations: 201.3 kB / 455.7 MB, free: 15.82 MB / 378.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 (30): * Single equations (assignments): 24 * 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.001629/0.6544, allocations: 1.136 MB / 456.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.6559, allocations: 0.7163 MB / 457.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.656, allocations: 0 / 457.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.6565, allocations: 264.4 kB / 457.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.657, allocations: 48.05 kB / 457.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.6595, allocations: 0.7415 MB / 458.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.66, allocations: 0.8661 MB / 459.5 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005555/0.6606, allocations: 95.19 kB / 459.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.6609, allocations: 136.3 kB / 459.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6609, allocations: 0 / 459.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.7031, allocations: 9.113 MB / 468.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003477/0.7035, allocations: 230.3 kB / 469 MB, free: 3.094 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.419, allocations: 0 / 469 MB, free: 3.094 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_Characteristic_res.mat does not exist to compare? outputFormat=mat