Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.195/2.195, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.471e-05, allocations: 2.75 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/0.5952, allocations: 77.89 MB / 372.2 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.5956, allocations: 87.48 kB / 372.3 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08363/0.6793, allocations: 20.74 MB / 393 MB, free: 16.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6793, allocations: 0 / 393 MB, free: 16.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001275/0.6795, allocations: 27.12 kB / 393.1 MB, free: 16.07 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004669/0.6842, allocations: 1.372 MB / 394.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.6842, allocations: 7.625 kB / 394.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/0.6849, allocations: 154.4 kB / 394.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.6875, allocations: 0.9513 MB / 395.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.6876, allocations: 30.62 kB / 395.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.6878, allocations: 66.12 kB / 395.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003104/0.6909, allocations: 1.212 MB / 396.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.6941, allocations: 1.326 MB / 398.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/0.6942, allocations: 3.906 kB / 398.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.6943, allocations: 0 / 398.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-05/0.6944, allocations: 48.39 kB / 398.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.7063, allocations: 4.772 MB / 403 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.7086, allocations: 1.386 MB / 404.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.7102, allocations: 0.6705 MB / 405.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.538e-05/0.7103, allocations: 11.97 kB / 405.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.7116, allocations: 0.5533 MB / 405.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 6.282e-06/0.7116, allocations: 4 kB / 405.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003063/0.7147, allocations: 1.126 MB / 406.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.7148, allocations: 85.64 kB / 406.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.7164, allocations: 0.7592 MB / 407.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.7165, allocations: 29.39 kB / 407.6 MB, free: 9.992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006221/0.7172, allocations: 0.5157 MB / 408.1 MB, free: 9.699 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.7175, allocations: 227.9 kB / 408.4 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.7176, allocations: 0 / 408.4 MB, free: 9.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.7178, allocations: 330.2 kB / 408.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008475/0.7186, allocations: 362.6 kB / 409 MB, free: 9.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009303/0.7196, allocations: 0.5036 MB / 409.5 MB, free: 8.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009023/0.7205, allocations: 397.3 kB / 409.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7205, allocations: 0 / 409.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002978/0.7235, allocations: 1.145 MB / 411.1 MB, free: 8.375 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.7236, allocations: 4 kB / 411.1 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.7236, allocations: 4 kB / 411.1 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.7252, allocations: 384.6 kB / 411.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.7263, allocations: 124.2 kB / 411.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008971/0.7353, allocations: 3.999 MB / 415.6 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.7364, allocations: 71.48 kB / 415.6 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.15e-05/0.7365, allocations: 27.94 kB / 415.7 MB, free: 4.133 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.7368, allocations: 130.4 kB / 415.8 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0032/0.74, allocations: 1.136 MB / 416.9 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.7403, allocations: 90.88 kB / 417 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.7408, allocations: 108.5 kB / 417.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7408, allocations: 7.938 kB / 417.1 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7408, allocations: 128 / 417.1 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.7408, allocations: 11.98 kB / 417.1 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006183/0.747, allocations: 2.322 MB / 419.5 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7471, allocations: 0 / 419.5 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009191/0.748, allocations: 91.88 kB / 419.6 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.7495, allocations: 380.5 kB / 419.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.7496, allocations: 0 / 419.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00861/0.7582, allocations: 3.961 MB / 423.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.7583, allocations: 0 / 423.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004627/0.7629, allocations: 1.802 MB / 425.7 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009369/0.7639, allocations: 275.9 kB / 426 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.7642, allocations: 4 kB / 426 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008894/0.7651, allocations: 39.95 kB / 426 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/0.7655, allocations: 76.78 kB / 426.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.13e-05/0.7656, allocations: 31.94 kB / 426.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.767, allocations: 0.5889 MB / 426.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.767, allocations: 0 / 426.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001757/0.7688, allocations: 322.8 kB / 427 MB, free: 8.57 MB / 330.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004962/0.7738, allocations: 2.359 MB / 429.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.777, allocations: 1.146 MB / 430.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.777, allocations: 0 / 430.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.779, allocations: 0.7264 MB / 431.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.7809, allocations: 211.2 kB / 431.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009006/0.7899, allocations: 2.363 MB / 433.8 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.7917, allocations: 1.399 MB / 435.2 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.7928, allocations: 162.9 kB / 435.4 MB, free: 80 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7938, allocations: 415.3 kB / 435.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.343e-06/0.7938, allocations: 0 / 435.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09945/0.8933, allocations: 23.21 MB / 459 MB, free: 8.508 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003681/0.8937, allocations: 215.5 kB / 459.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.618/4.512, allocations: 0 / 459.2 MB, free: 8.23 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat