Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.157e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3111, allocations: 44.5 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.4723, allocations: 77.32 MB / 371.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004918/0.4728, allocations: 83.95 kB / 371.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05985/0.5327, allocations: 13.24 MB / 384.9 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5328, allocations: 0 / 384.9 MB, free: 7.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.097e-05/0.5328, allocations: 24.16 kB / 384.9 MB, free: 7.16 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002397/0.5353, allocations: 0.9405 MB / 385.8 MB, free: 6.176 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5353, allocations: 8.031 kB / 385.9 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.5356, allocations: 90.97 kB / 385.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.537, allocations: 0.6091 MB / 386.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.5371, allocations: 23.98 kB / 386.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.5372, allocations: 40 kB / 386.6 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001732/0.539, allocations: 0.678 MB / 387.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.5408, allocations: 0.7879 MB / 388.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.5409, allocations: 0 / 388.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.541, allocations: 4 kB / 388.1 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/0.541, allocations: 29.31 kB / 388.1 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005957/0.547, allocations: 2.69 MB / 390.8 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.5482, allocations: 0.7033 MB / 391.5 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007749/0.549, allocations: 321.2 kB / 391.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.5491, allocations: 8.312 kB / 391.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007619/0.5498, allocations: 342 kB / 392.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.785e-06/0.5499, allocations: 0 / 392.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001602/0.5515, allocations: 0.614 MB / 392.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.5515, allocations: 106.8 kB / 392.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.5524, allocations: 477 kB / 393.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.5525, allocations: 25.7 kB / 393.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.5528, allocations: 355.9 kB / 393.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.553, allocations: 130 kB / 393.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.5531, allocations: 4 kB / 393.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5532, allocations: 358.8 kB / 394.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.5537, allocations: 193 kB / 394.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.5543, allocations: 315.8 kB / 394.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.5548, allocations: 227 kB / 394.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5548, allocations: 3.984 kB / 394.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001583/0.5564, allocations: 0.6654 MB / 395.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.5564, allocations: 7.938 kB / 395.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5565, allocations: 4 kB / 395.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007719/0.5572, allocations: 206.8 kB / 395.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.5578, allocations: 67.89 kB / 395.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.5625, allocations: 2.685 MB / 398.6 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.5631, allocations: 47.72 kB / 398.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.5631, allocations: 19.98 kB / 398.6 MB, free: 8.891 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (42): * Single equations (assignments): 41 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.5633, allocations: 124.8 kB / 398.7 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001492/0.5648, allocations: 0.6029 MB / 399.3 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.565, allocations: 59.45 kB / 399.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.5652, allocations: 57.3 kB / 399.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5652, allocations: 8 kB / 399.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5652, allocations: 3.953 kB / 399.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5653, allocations: 3.984 kB / 399.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.5691, allocations: 1.604 MB / 401.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.5691, allocations: 0 / 401.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.5696, allocations: 51.91 kB / 401.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007404/0.5704, allocations: 199.9 kB / 401.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.5704, allocations: 7.984 kB / 401.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.5747, allocations: 2.545 MB / 403.9 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5747, allocations: 4 kB / 403.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.5772, allocations: 1.041 MB / 404.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.5776, allocations: 184.5 kB / 405.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5778, allocations: 15.94 kB / 405.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.5783, allocations: 19.97 kB / 405.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.5785, allocations: 47.88 kB / 405.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.5785, allocations: 12 kB / 405.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006875/0.5792, allocations: 370.9 kB / 405.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5793, allocations: 0 / 405.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001067/0.5803, allocations: 191.2 kB / 405.7 MB, free: 1.527 MB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.002725/0.5831, allocations: 1.679 MB / 407.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.5846, allocations: 0.6465 MB / 408.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.5846, allocations: 4 kB / 408.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008837/0.5855, allocations: 444.9 kB / 408.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.5865, allocations: 118.1 kB / 408.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.59, allocations: 1.257 MB / 409.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.5909, allocations: 1.085 MB / 411 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004494/0.5914, allocations: 88.56 kB / 411.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.5919, allocations: 239.4 kB / 411.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5919, allocations: 0 / 411.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.297/0.8889, allocations: 13.22 MB / 424.5 MB, free: 106.1 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.8892, allocations: 197.1 kB / 424.7 MB, free: 105.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/3.887, allocations: 4.469 kB / 424.7 MB, free: 105.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat