Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.732/1.732, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.311e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2661, allocations: 38.77 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.3889, allocations: 70.21 MB / 328.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.3892, allocations: 71.95 kB / 328.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0664/0.4556, allocations: 15.84 MB / 344.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4557, allocations: 0 / 344.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.01e-05/0.4558, allocations: 31.88 kB / 344.5 MB, free: 7.559 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003424/0.4592, allocations: 1.161 MB / 345.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4593, allocations: 12.03 kB / 345.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004252/0.4597, allocations: 122.5 kB / 345.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.4617, allocations: 0.7091 MB / 346.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.4618, allocations: 31.95 kB / 346.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.462, allocations: 55.91 kB / 346.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002635/0.4646, allocations: 0.9643 MB / 347.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.4673, allocations: 1.046 MB / 348.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.4673, allocations: 4 kB / 348.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.4675, allocations: 0 / 348.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.4675, allocations: 20 kB / 348.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009264/0.4768, allocations: 3.608 MB / 352.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.4795, allocations: 1.922 MB / 354.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.4809, allocations: 0.6265 MB / 354.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.481, allocations: 12.77 kB / 354.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.4811, allocations: 39.34 kB / 354.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.347e-06/0.4811, allocations: 0 / 354.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.005059/0.4862, allocations: 2.089 MB / 356.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.4862, allocations: 60.19 kB / 357 MB, free: 10.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.4874, allocations: 0.5608 MB / 357.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.4874, allocations: 29.7 kB / 357.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.4878, allocations: 430.6 kB / 358 MB, free: 9.516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.4881, allocations: 228.5 kB / 358.2 MB, free: 9.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.4881, allocations: 0 / 358.2 MB, free: 9.289 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4883, allocations: 334.8 kB / 358.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.489, allocations: 333.3 kB / 358.8 MB, free: 8.625 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/0.4898, allocations: 381.4 kB / 359.2 MB, free: 8.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/0.4907, allocations: 368.3 kB / 359.6 MB, free: 7.891 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4907, allocations: 0 / 359.6 MB, free: 7.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002545/0.4932, allocations: 1.061 MB / 360.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4933, allocations: 4 kB / 360.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4933, allocations: 0 / 360.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/0.495, allocations: 451 kB / 361.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/0.4958, allocations: 95.88 kB / 361.2 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2262/0.722, allocations: 8.147 MB / 369.3 MB, free: 86.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/0.7228, allocations: 24.86 kB / 369.3 MB, free: 86.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.7229, allocations: 20.09 kB / 369.4 MB, free: 86.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.7231, allocations: 116 kB / 369.5 MB, free: 86.58 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002298/0.7254, allocations: 1.052 MB / 370.5 MB, free: 86.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.7256, allocations: 76.02 kB / 370.6 MB, free: 86.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.7259, allocations: 91.78 kB / 370.7 MB, free: 86.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7259, allocations: 11.28 kB / 370.7 MB, free: 86.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7259, allocations: 0.9375 kB / 370.7 MB, free: 86.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.726, allocations: 7.547 kB / 370.7 MB, free: 86.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/0.7313, allocations: 2.272 MB / 373 MB, free: 86.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.7314, allocations: 1.188 kB / 373 MB, free: 86.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.7321, allocations: 84.47 kB / 373.1 MB, free: 86.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.7336, allocations: 448.9 kB / 373.5 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.7337, allocations: 6.906 kB / 373.5 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009282/0.743, allocations: 8.093 MB / 381.6 MB, free: 80.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.743, allocations: 2.438 kB / 381.6 MB, free: 80.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.7462, allocations: 1.742 MB / 383.3 MB, free: 80.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/0.7467, allocations: 232.5 kB / 383.6 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.7469, allocations: 3.375 kB / 383.6 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.7475, allocations: 32.17 kB / 383.6 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.7478, allocations: 70.09 kB / 383.7 MB, free: 79.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/0.7479, allocations: 22.8 kB / 383.7 MB, free: 79.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007015/0.7486, allocations: 450.4 kB / 384.1 MB, free: 79.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7486, allocations: 3.562 kB / 384.1 MB, free: 79.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001461/0.7501, allocations: 223.7 kB / 384.4 MB, free: 79.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003321/0.7534, allocations: 2.435 MB / 386.8 MB, free: 78.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.7559, allocations: 1.363 MB / 388.2 MB, free: 77.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.756, allocations: 0 / 388.2 MB, free: 77.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.7577, allocations: 1.007 MB / 389.2 MB, free: 76.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.759, allocations: 174.4 kB / 389.3 MB, free: 76.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.7638, allocations: 2.044 MB / 391.4 MB, free: 76.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008338/0.7647, allocations: 1.234 MB / 392.6 MB, free: 75.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005459/0.7653, allocations: 310.1 kB / 392.9 MB, free: 75.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7653, allocations: 0 / 392.9 MB, free: 75.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.157/3.922, allocations: 34.62 MB / 427.5 MB, free: 43.41 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat