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.783/1.783, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.535e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2968, allocations: 38.77 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.4451, allocations: 70.89 MB / 334.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4455, allocations: 67.97 kB / 334.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0697/0.5152, allocations: 16.04 MB / 350.8 MB, free: 2.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5153, allocations: 0 / 350.8 MB, free: 2.559 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.5154, allocations: 27.94 kB / 350.9 MB, free: 2.531 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.003995/0.5194, allocations: 1.153 MB / 352 MB, free: 1.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.5195, allocations: 11.97 kB / 352 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004812/0.52, allocations: 143.4 kB / 352.2 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.5204, allocations: 126.5 kB / 352.3 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.5226, allocations: 0.709 MB / 353 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.5227, allocations: 69.95 kB / 353.1 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.523, allocations: 87.91 kB / 353.2 MB, free: 144 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.5262, allocations: 1.166 MB / 354.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.5263, allocations: 7.938 kB / 354.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.5265, allocations: 40 kB / 354.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.5265, allocations: 20 kB / 354.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.5295, allocations: 0.9956 MB / 355.4 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.54, allocations: 3.775 MB / 359.2 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.5431, allocations: 1.937 MB / 361.1 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.5446, allocations: 0.6304 MB / 361.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-05/0.5448, allocations: 8.781 kB / 361.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.5448, allocations: 43.3 kB / 361.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.517e-06/0.5448, allocations: 0 / 361.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.006155/0.551, allocations: 2.203 MB / 364 MB, free: 4.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.5511, allocations: 64.12 kB / 364 MB, free: 4.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.5526, allocations: 0.6321 MB / 364.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.5527, allocations: 41.69 kB / 364.7 MB, free: 4.121 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.5531, allocations: 418.6 kB / 365.1 MB, free: 3.707 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.5535, allocations: 244.5 kB / 365.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.5536, allocations: 16 kB / 365.4 MB, free: 3.449 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.5537, allocations: 334.8 kB / 365.7 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.5547, allocations: 341.4 kB / 366 MB, free: 2.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/0.5556, allocations: 397.4 kB / 366.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.5566, allocations: 373.8 kB / 366.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5566, allocations: 0 / 366.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002968/0.5596, allocations: 1.12 MB / 367.9 MB, free: 0.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.5596, allocations: 4 kB / 367.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.5597, allocations: 4 kB / 367.9 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.5616, allocations: 455.1 kB / 368.4 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/0.5624, allocations: 99.88 kB / 368.5 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2537/0.8161, allocations: 8.445 MB / 376.9 MB, free: 82.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.817, allocations: 32.66 kB / 376.9 MB, free: 82.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.8171, allocations: 20.05 kB / 377 MB, free: 82.26 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.0002512/0.8174, allocations: 142.9 kB / 377.1 MB, free: 82.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.8175, allocations: 85.34 kB / 377.2 MB, free: 82.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.8178, allocations: 108.7 kB / 377.3 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.8178, allocations: 9.312 kB / 377.3 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.8179, allocations: 3.938 kB / 377.3 MB, free: 82.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.8179, allocations: 3.234 kB / 377.3 MB, free: 82.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/0.8237, allocations: 2.452 MB / 379.8 MB, free: 81.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.8237, allocations: 0 / 379.8 MB, free: 81.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.8245, allocations: 81.23 kB / 379.8 MB, free: 81.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.826, allocations: 452.8 kB / 380.3 MB, free: 81.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.172e-05/0.8262, allocations: 19.41 kB / 380.3 MB, free: 81.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.8363, allocations: 8.372 MB / 388.7 MB, free: 75.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8364, allocations: 7.062 kB / 388.7 MB, free: 75.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/0.84, allocations: 1.799 MB / 390.5 MB, free: 74.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.8407, allocations: 246.5 kB / 390.7 MB, free: 74.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.8409, allocations: 19.23 kB / 390.7 MB, free: 74.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.8416, allocations: 33.19 kB / 390.8 MB, free: 74.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.8418, allocations: 75.22 kB / 390.8 MB, free: 74.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.8419, allocations: 24.97 kB / 390.9 MB, free: 74.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008666/0.8428, allocations: 0.4971 MB / 391.4 MB, free: 73.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.8428, allocations: 0 / 391.4 MB, free: 73.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001616/0.8444, allocations: 249.4 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.003833/0.8483, allocations: 2.521 MB / 394.1 MB, free: 72.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.851, allocations: 1.391 MB / 395.5 MB, free: 71.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8511, allocations: 0 / 395.5 MB, free: 71.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.8529, allocations: 1.028 MB / 396.5 MB, free: 70.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.8544, allocations: 195.1 kB / 396.7 MB, free: 70.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.8596, allocations: 2.11 MB / 398.8 MB, free: 68.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/0.8606, allocations: 1.241 MB / 400.1 MB, free: 67.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/0.8612, allocations: 313.3 kB / 400.4 MB, free: 67.34 MB / 314.7 MB Notification: Performance of SimCode: time 2.495e-06/0.8612, allocations: 3.391 kB / 400.4 MB, free: 67.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.447/4.308, allocations: 34.9 MB / 435.3 MB, free: 33.89 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