Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.218/2.218, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.912e-05, allocations: 4 kB / 249.8 MB, free: 14.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3293, allocations: 44.49 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.4872, allocations: 77.32 MB / 371.6 MB, free: 4.496 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/0.4876, allocations: 87.94 kB / 371.7 MB, free: 4.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06776/0.5554, allocations: 13.24 MB / 385 MB, free: 7.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.919e-06/0.5555, allocations: 4 kB / 385 MB, free: 7.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.504e-05/0.5556, allocations: 23.94 kB / 385 MB, free: 7.047 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.003083/0.5587, allocations: 0.925 MB / 385.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.5587, allocations: 8.031 kB / 385.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.5591, allocations: 90.97 kB / 386 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.5609, allocations: 0.6208 MB / 386.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.561, allocations: 20 kB / 386.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.5612, allocations: 36 kB / 386.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002002/0.5632, allocations: 0.6819 MB / 387.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.5653, allocations: 0.7878 MB / 388.1 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.5654, allocations: 3.938 kB / 388.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5655, allocations: 7.984 kB / 388.2 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-05/0.5656, allocations: 29.31 kB / 388.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007071/0.5727, allocations: 2.69 MB / 390.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5741, allocations: 0.7033 MB / 391.6 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/0.575, allocations: 321.2 kB / 391.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.575, allocations: 4.328 kB / 391.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008345/0.5759, allocations: 346 kB / 392.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.296e-06/0.5759, allocations: 0 / 392.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001847/0.5778, allocations: 0.6102 MB / 392.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.5779, allocations: 114.8 kB / 393 MB, free: 14.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/0.5789, allocations: 469.1 kB / 393.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.579, allocations: 33.73 kB / 393.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.5794, allocations: 344 kB / 393.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.5796, allocations: 138 kB / 393.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.5797, allocations: 0 / 393.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.5799, allocations: 358.8 kB / 394.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.5804, allocations: 193 kB / 394.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.581, allocations: 323.8 kB / 394.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.5816, allocations: 219 kB / 395 MB, free: 12.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5816, allocations: 0 / 395 MB, free: 12.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001845/0.5835, allocations: 0.6611 MB / 395.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5835, allocations: 4 kB / 395.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5835, allocations: 4.469 kB / 395.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008632/0.5844, allocations: 204.7 kB / 395.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.5851, allocations: 71.91 kB / 395.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/0.5904, allocations: 2.689 MB / 398.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.5911, allocations: 47.75 kB / 398.7 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.5912, allocations: 16 kB / 398.7 MB, free: 8.789 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.0002164/0.5914, allocations: 124.9 kB / 398.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001709/0.5932, allocations: 0.6106 MB / 399.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5933, allocations: 47.44 kB / 399.5 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.5936, allocations: 69.28 kB / 399.5 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.5936, allocations: 4 kB / 399.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5936, allocations: 3.953 kB / 399.5 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.5936, allocations: 8.031 kB / 399.5 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.5981, allocations: 1.6 MB / 401.1 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5982, allocations: 3.938 kB / 401.1 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.5988, allocations: 47.97 kB / 401.2 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007926/0.5996, allocations: 192.7 kB / 401.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.5996, allocations: 4 kB / 401.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/0.6045, allocations: 2.56 MB / 403.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6045, allocations: 48 / 403.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.6073, allocations: 1.057 MB / 405 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/0.6077, allocations: 180.5 kB / 405.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.6079, allocations: 4 kB / 405.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/0.6085, allocations: 19.97 kB / 405.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.6087, allocations: 51.89 kB / 405.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.6088, allocations: 19.98 kB / 405.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007451/0.6095, allocations: 366.9 kB / 405.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.6096, allocations: 0 / 405.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001158/0.6107, allocations: 191.2 kB / 405.8 MB, free: 1.41 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.003267/0.614, allocations: 1.679 MB / 407.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.6159, allocations: 0.6416 MB / 408.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6159, allocations: 0 / 408.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6171, allocations: 445.7 kB / 408.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6183, allocations: 126.3 kB / 408.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.6224, allocations: 1.257 MB / 410 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.6236, allocations: 1.082 MB / 411 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000586/0.6242, allocations: 92.55 kB / 411.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/0.6248, allocations: 245.6 kB / 411.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6248, allocations: 0 / 411.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3399/0.9647, allocations: 13.21 MB / 424.6 MB, free: 106 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002591/0.965, allocations: 194.6 kB / 424.8 MB, free: 105.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.256/4.221, allocations: 1.25 kB / 424.8 MB, free: 105.7 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat