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 2.165/2.165, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.611e-05, allocations: 0 / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.359, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.5052, allocations: 78.69 MB / 372.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.5056, allocations: 83.94 kB / 373 MB, free: 3.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03813/0.5438, allocations: 9.016 MB / 382 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5438, allocations: 0 / 382 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.385e-05/0.5438, allocations: 8 kB / 382 MB, free: 10.02 MB / 330.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.001679/0.5455, allocations: 0.6797 MB / 382.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5456, allocations: 8.031 kB / 382.7 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.5458, allocations: 51.44 kB / 382.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.5466, allocations: 374.9 kB / 383.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.5466, allocations: 16 kB / 383.1 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.5467, allocations: 24 kB / 383.2 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007798/0.5475, allocations: 269.4 kB / 383.4 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.5485, allocations: 374.2 kB / 383.8 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.5485, allocations: 7.906 kB / 383.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.5486, allocations: 0 / 383.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.5486, allocations: 8 kB / 383.8 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.5525, allocations: 1.47 MB / 385.3 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.5531, allocations: 220.1 kB / 385.5 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.5534, allocations: 84.84 kB / 385.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.5535, allocations: 4 kB / 385.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005241/0.554, allocations: 212.9 kB / 385.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.415e-06/0.554, allocations: 0 / 385.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008925/0.5549, allocations: 274 kB / 386.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/0.555, allocations: 114.8 kB / 386.2 MB, free: 5.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.5555, allocations: 269.1 kB / 386.4 MB, free: 5.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.5556, allocations: 37.7 kB / 386.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.5559, allocations: 243.9 kB / 386.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.556, allocations: 78.91 kB / 386.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.556, allocations: 0 / 386.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5562, allocations: 346.7 kB / 387.1 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.5565, allocations: 92.86 kB / 387.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.5569, allocations: 242.2 kB / 387.5 MB, free: 4.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.5572, allocations: 121 kB / 387.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5572, allocations: 3.938 kB / 387.6 MB, free: 4.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008995/0.5581, allocations: 364.8 kB / 387.9 MB, free: 3.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007654/0.5589, allocations: 1.656 MB / 389.6 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.559, allocations: 8 kB / 389.6 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.5593, allocations: 44.84 kB / 389.6 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.5597, allocations: 63.84 kB / 389.7 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.5615, allocations: 1.455 MB / 391.2 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.5622, allocations: 59.78 kB / 391.2 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.5623, allocations: 27.88 kB / 391.2 MB, free: 192 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.5623, allocations: 4 kB / 391.2 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007792/0.5631, allocations: 288.8 kB / 391.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5631, allocations: 4 kB / 391.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.5633, allocations: 44.83 kB / 391.6 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.5637, allocations: 63.84 kB / 391.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.5654, allocations: 1.447 MB / 393.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.5659, allocations: 47.88 kB / 393.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.5659, allocations: 12 kB / 393.1 MB, free: 14.17 MB / 346.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.0002167/0.5661, allocations: 142.9 kB / 393.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007695/0.5669, allocations: 266 kB / 393.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.567, allocations: 35.53 kB / 393.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.5672, allocations: 40.25 kB / 393.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.5672, allocations: 8 kB / 393.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.5672, allocations: 0 / 393.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.5672, allocations: 3.984 kB / 393.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.5688, allocations: 0.722 MB / 394.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5688, allocations: 0 / 394.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.5691, allocations: 27.98 kB / 394.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.5693, allocations: 40.83 kB / 394.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.5693, allocations: 4 kB / 394.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.5709, allocations: 1.354 MB / 395.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.571, allocations: 0 / 395.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.5721, allocations: 484.5 kB / 396.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.5723, allocations: 140.7 kB / 396.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.5724, allocations: 3.984 kB / 396.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.5729, allocations: 36.03 kB / 396.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.573, allocations: 35.95 kB / 396.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.5731, allocations: 11.98 kB / 396.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.5734, allocations: 208.6 kB / 396.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5734, allocations: 0 / 396.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001093/0.5745, allocations: 175.4 kB / 396.8 MB, free: 10.24 MB / 346.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.001444/0.576, allocations: 1.037 MB / 397.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.5774, allocations: 0.6348 MB / 398.5 MB, free: 8.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5774, allocations: 6 kB / 398.5 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.5778, allocations: 222.2 kB / 398.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.5783, allocations: 45.09 kB / 398.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.5805, allocations: 0.6339 MB / 399.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.5811, allocations: 0.8388 MB / 400.3 MB, free: 6.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004714/0.5816, allocations: 79.48 kB / 400.3 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.5818, allocations: 127.4 kB / 400.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5818, allocations: 0 / 400.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04977/0.6316, allocations: 7.445 MB / 407.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/0.632, allocations: 182.2 kB / 408.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/3.615, allocations: 0 / 408.1 MB, free: 14.88 MB / 362.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