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.092/2.092, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.285e-05, allocations: 3.984 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09301, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5216, allocations: 77.98 MB / 378 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.522, allocations: 85.83 kB / 378 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0573/0.5793, allocations: 13.38 MB / 391.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5794, allocations: 7.875 kB / 391.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.684e-05/0.5795, allocations: 15.75 kB / 391.4 MB, free: 11.24 MB / 314.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.003232/0.5827, allocations: 0.9292 MB / 392.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.5828, allocations: 11.31 kB / 392.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/0.5832, allocations: 115.1 kB / 392.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.5836, allocations: 93.19 kB / 392.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.5858, allocations: 0.6168 MB / 393.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.89e-05/0.586, allocations: 43.84 kB / 393.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.5862, allocations: 70.69 kB / 393.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.5896, allocations: 0.8778 MB / 394.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/0.5897, allocations: 0 / 394.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.5899, allocations: 27.03 kB / 394.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.554e-05/0.59, allocations: 36.09 kB / 394.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.5929, allocations: 0.71 MB / 395 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008691/0.6017, allocations: 2.822 MB / 397.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.6034, allocations: 0.719 MB / 398.5 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.6046, allocations: 330.5 kB / 398.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-05/0.6047, allocations: 7.719 kB / 398.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.6058, allocations: 362.2 kB / 399.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 4.568e-06/0.6059, allocations: 0 / 399.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.002447/0.6083, allocations: 0.6394 MB / 399.8 MB, free: 8.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.6084, allocations: 110.7 kB / 399.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.6098, allocations: 0.5082 MB / 400.4 MB, free: 8.418 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.6099, allocations: 35.55 kB / 400.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.6103, allocations: 343.7 kB / 400.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.6106, allocations: 140.7 kB / 401 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.6106, allocations: 10.69 kB / 401 MB, free: 8.129 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6108, allocations: 361.5 kB / 401.3 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.6115, allocations: 206.5 kB / 401.5 MB, free: 7.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.6122, allocations: 324.3 kB / 401.8 MB, free: 7.664 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.6129, allocations: 232 kB / 402.1 MB, free: 7.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.613, allocations: 3.953 kB / 402.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002385/0.6154, allocations: 0.7124 MB / 402.8 MB, free: 7.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.6154, allocations: 10.28 kB / 402.8 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.6155, allocations: 3.812 kB / 402.8 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.6165, allocations: 201.8 kB / 403 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/0.6172, allocations: 81.39 kB / 403.1 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/0.6234, allocations: 2.769 MB / 405.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/0.6244, allocations: 54.23 kB / 405.9 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.6245, allocations: 18.78 kB / 405.9 MB, free: 5.832 MB / 314.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.0002387/0.6247, allocations: 142.5 kB / 406.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.6249, allocations: 57.89 kB / 406.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.6252, allocations: 70.58 kB / 406.2 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.6252, allocations: 3.781 kB / 406.2 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6252, allocations: 4 kB / 406.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6252, allocations: 0 / 406.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005137/0.6304, allocations: 1.735 MB / 407.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6305, allocations: 0 / 407.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.6311, allocations: 46.47 kB / 408 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009288/0.6321, allocations: 201.1 kB / 408.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-05/0.6322, allocations: 7.344 kB / 408.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005674/0.6379, allocations: 2.642 MB / 410.8 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6379, allocations: 0 / 410.8 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.6413, allocations: 1.085 MB / 411.9 MB, free: 18.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/0.6419, allocations: 190.9 kB / 412.1 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.6421, allocations: 16.88 kB / 412.1 MB, free: 18.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.6429, allocations: 34.66 kB / 412.1 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.6431, allocations: 38.5 kB / 412.2 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/0.6432, allocations: 15.2 kB / 412.2 MB, free: 18.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009992/0.6442, allocations: 410.7 kB / 412.6 MB, free: 18.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.72e-07/0.6443, allocations: 0 / 412.6 MB, free: 18.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001582/0.6458, allocations: 208.9 kB / 412.8 MB, free: 18.52 MB / 330.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.003991/0.6499, allocations: 1.716 MB / 414.5 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.6521, allocations: 0.6873 MB / 415.2 MB, free: 17.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.6521, allocations: 0 / 415.2 MB, free: 17.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6531, allocations: 458.2 kB / 415.6 MB, free: 17.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6543, allocations: 127.7 kB / 415.8 MB, free: 17.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.658, allocations: 1.308 MB / 417.1 MB, free: 16.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.6589, allocations: 1.087 MB / 418.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005279/0.6595, allocations: 94.56 kB / 418.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.6599, allocations: 240.1 kB / 418.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.66, allocations: 4 kB / 418.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06365/0.7236, allocations: 14.84 MB / 433.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003756/0.7241, allocations: 223.6 kB / 433.5 MB, free: 8.113 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/3.863, allocations: 3.938 kB / 433.6 MB, free: 8.109 MB / 330.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