Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.387e-05, allocations: 4 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5411, allocations: 84.58 MB / 427.8 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.5415, allocations: 82.02 kB / 427.8 MB, free: 9.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05974/0.6012, allocations: 13.79 MB / 441.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6013, allocations: 0 / 441.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.765e-05/0.6014, allocations: 16 kB / 441.6 MB, free: 13.62 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002734/0.6041, allocations: 0.9477 MB / 442.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.6042, allocations: 8.031 kB / 442.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002754/0.6045, allocations: 111.3 kB / 442.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.6048, allocations: 94.88 kB / 442.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.6063, allocations: 0.616 MB / 443.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.6064, allocations: 46.19 kB / 443.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.6066, allocations: 69.75 kB / 443.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.6088, allocations: 0.8689 MB / 444.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.6089, allocations: 0 / 444.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.609, allocations: 36.69 kB / 444.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/0.6091, allocations: 33.3 kB / 444.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.6109, allocations: 0.7014 MB / 445.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/0.6175, allocations: 2.843 MB / 448 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.6189, allocations: 0.7164 MB / 448.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007924/0.6197, allocations: 329.4 kB / 449.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.6197, allocations: 4.328 kB / 449.1 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.6205, allocations: 356.3 kB / 449.4 MB, free: 7.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.206e-06/0.6206, allocations: 4 kB / 449.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001853/0.6224, allocations: 0.6498 MB / 450.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.6225, allocations: 114.5 kB / 450.2 MB, free: 6.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.6236, allocations: 0.5014 MB / 450.7 MB, free: 6.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.504e-05/0.6237, allocations: 36.58 kB / 450.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.6241, allocations: 355.9 kB / 451.1 MB, free: 6.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.6243, allocations: 139.5 kB / 451.2 MB, free: 5.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.6243, allocations: 10.25 kB / 451.2 MB, free: 5.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6245, allocations: 362.7 kB / 451.6 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.625, allocations: 197.8 kB / 451.7 MB, free: 5.465 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.6256, allocations: 324.3 kB / 452.1 MB, free: 5.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.6262, allocations: 235.3 kB / 452.3 MB, free: 5.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.6262, allocations: 0 / 452.3 MB, free: 5.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001801/0.628, allocations: 0.6968 MB / 453 MB, free: 4.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.6281, allocations: 8.469 kB / 453 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6281, allocations: 8 kB / 453 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008091/0.6289, allocations: 192.7 kB / 453.2 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.6295, allocations: 79.89 kB / 453.3 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.6342, allocations: 2.67 MB / 455.9 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.6349, allocations: 51.72 kB / 456 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.635, allocations: 23.92 kB / 456 MB, free: 1.172 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.6352, allocations: 137.2 kB / 456.2 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.6354, allocations: 55.34 kB / 456.2 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.6356, allocations: 69.05 kB / 456.3 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.6356, allocations: 4 kB / 456.3 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6357, allocations: 7.953 kB / 456.3 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.6357, allocations: 0 / 456.3 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.6394, allocations: 1.596 MB / 457.9 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.6394, allocations: 3.984 kB / 457.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.6399, allocations: 47.97 kB / 457.9 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007488/0.6407, allocations: 192.8 kB / 458.1 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.6408, allocations: 8 kB / 458.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004547/0.6453, allocations: 2.648 MB / 460.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6454, allocations: 3.953 kB / 460.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.6478, allocations: 1.045 MB / 461.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.6484, allocations: 196.3 kB / 462 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6485, allocations: 12 kB / 462 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.6491, allocations: 27.97 kB / 462.1 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.6493, allocations: 43.94 kB / 462.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.6493, allocations: 15.98 kB / 462.1 MB, free: 10.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008157/0.6502, allocations: 409.5 kB / 462.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6502, allocations: 0 / 462.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001149/0.6513, allocations: 207.3 kB / 462.7 MB, free: 10.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002855/0.6542, allocations: 1.702 MB / 464.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.656, allocations: 0.6572 MB / 465.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6561, allocations: 0 / 465.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.657, allocations: 437.6 kB / 465.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6582, allocations: 147.1 kB / 465.6 MB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.6623, allocations: 1.309 MB / 467 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/0.6633, allocations: 1.086 MB / 468 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005529/0.6639, allocations: 96.67 kB / 468.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.6644, allocations: 239.3 kB / 468.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6644, allocations: 0 / 468.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/0.7231, allocations: 14.73 MB / 483.1 MB, free: 5.984 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.7235, allocations: 231.8 kB / 483.3 MB, free: 5.688 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/3.611, allocations: 2.578 kB / 483.3 MB, free: 5.688 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat