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.827/1.827, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.921e-05, allocations: 0 / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2553, allocations: 38.77 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.3849, allocations: 70.87 MB / 334.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.3852, allocations: 79.94 kB / 334.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07207/0.4573, allocations: 16.03 MB / 350.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4574, allocations: 4 kB / 350.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.4575, allocations: 27.94 kB / 350.8 MB, free: 2.625 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.003989/0.4615, allocations: 1.153 MB / 352 MB, free: 1.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.4616, allocations: 12.02 kB / 352 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004445/0.4621, allocations: 143.4 kB / 352.1 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.4625, allocations: 126.5 kB / 352.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.4645, allocations: 0.709 MB / 353 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.4646, allocations: 69.95 kB / 353 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.4648, allocations: 87.91 kB / 353.1 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.4679, allocations: 1.186 MB / 354.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.468, allocations: 0 / 354.3 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.4681, allocations: 36 kB / 354.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.4682, allocations: 24 kB / 354.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.471, allocations: 1.011 MB / 355.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009487/0.4805, allocations: 3.783 MB / 359.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.4834, allocations: 1.947 MB / 361.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.4849, allocations: 0.6187 MB / 361.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.637e-05/0.485, allocations: 16.75 kB / 361.7 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.4851, allocations: 43.3 kB / 361.8 MB, free: 7.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.307e-06/0.4851, allocations: 0 / 361.8 MB, free: 7.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.005607/0.4907, allocations: 2.211 MB / 364 MB, free: 4.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4908, allocations: 60.19 kB / 364.1 MB, free: 4.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.4921, allocations: 0.6282 MB / 364.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.4922, allocations: 45.7 kB / 364.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.4926, allocations: 426.6 kB / 365.1 MB, free: 3.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.4929, allocations: 240.5 kB / 365.4 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.493, allocations: 8 kB / 365.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4932, allocations: 338.8 kB / 365.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/0.494, allocations: 341.4 kB / 366.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009046/0.495, allocations: 399 kB / 366.4 MB, free: 2.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.4959, allocations: 377.9 kB / 366.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4959, allocations: 0 / 366.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00287/0.4988, allocations: 1.12 MB / 367.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.4988, allocations: 4 kB / 367.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4988, allocations: 0 / 367.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.5006, allocations: 459 kB / 368.4 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.5014, allocations: 95.88 kB / 368.5 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2469/0.7483, allocations: 8.442 MB / 376.9 MB, free: 82.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.7492, allocations: 38.09 kB / 377 MB, free: 82.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.7492, allocations: 21.17 kB / 377 MB, free: 82.25 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.0002013/0.7495, allocations: 139.7 kB / 377.1 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.7496, allocations: 79.8 kB / 377.2 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.7499, allocations: 110.3 kB / 377.3 MB, free: 82.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.7499, allocations: 7.781 kB / 377.3 MB, free: 82.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.75, allocations: 0 / 377.3 MB, free: 82.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.75, allocations: 3.609 kB / 377.3 MB, free: 82.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/0.7555, allocations: 2.46 MB / 379.8 MB, free: 81.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.7555, allocations: 3.531 kB / 379.8 MB, free: 81.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.7562, allocations: 85.55 kB / 379.9 MB, free: 81.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.7577, allocations: 444.8 kB / 380.3 MB, free: 81.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/0.7578, allocations: 15.44 kB / 380.3 MB, free: 81.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00996/0.7678, allocations: 8.373 MB / 388.7 MB, free: 75.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7678, allocations: 0 / 388.7 MB, free: 75.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/0.7714, allocations: 1.812 MB / 390.5 MB, free: 74.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.772, allocations: 251.1 kB / 390.7 MB, free: 74.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.7722, allocations: 11.34 kB / 390.8 MB, free: 74.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.7728, allocations: 47.23 kB / 390.8 MB, free: 74.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.7731, allocations: 75.02 kB / 390.9 MB, free: 74.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.7732, allocations: 17.69 kB / 390.9 MB, free: 74.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008742/0.7741, allocations: 0.5086 MB / 391.4 MB, free: 73.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7741, allocations: 0 / 391.4 MB, free: 73.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001361/0.7755, allocations: 246.7 kB / 391.6 MB, free: 73.9 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.003784/0.7793, allocations: 2.515 MB / 394.2 MB, free: 72.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002767/0.7821, allocations: 1.417 MB / 395.6 MB, free: 71.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7821, allocations: 0 / 395.6 MB, free: 71.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.784, allocations: 1.062 MB / 396.6 MB, free: 70.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.7855, allocations: 207.2 kB / 396.8 MB, free: 70.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.7905, allocations: 2.095 MB / 398.9 MB, free: 68.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/0.7914, allocations: 1.248 MB / 400.2 MB, free: 67.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/0.7919, allocations: 309.9 kB / 400.5 MB, free: 67.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.133e-06/0.792, allocations: 4 kB / 400.5 MB, free: 67.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.413/4.205, allocations: 34.97 MB / 435.5 MB, free: 33.79 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