Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.432e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09722, allocations: 44.52 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5423, allocations: 76.17 MB / 376.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5427, allocations: 71.86 kB / 376.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06677/0.6094, allocations: 16.39 MB / 392.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6095, allocations: 0 / 392.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.707e-05/0.6096, allocations: 19.25 kB / 392.6 MB, free: 10.63 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003329/0.613, allocations: 1.168 MB / 393.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.613, allocations: 7.75 kB / 393.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003706/0.6134, allocations: 140.2 kB / 393.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.6138, allocations: 124.3 kB / 394 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.6156, allocations: 0.7216 MB / 394.8 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/0.6157, allocations: 66.31 kB / 394.8 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.6159, allocations: 84.12 kB / 394.9 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.6185, allocations: 1.172 MB / 396.1 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.6186, allocations: 0 / 396.1 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.6188, allocations: 37.56 kB / 396.1 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.6188, allocations: 23.38 kB / 396.1 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.6213, allocations: 1.007 MB / 397.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008572/0.6299, allocations: 3.785 MB / 400.9 MB, free: 8.305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.6323, allocations: 1.942 MB / 402.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.6335, allocations: 0.6337 MB / 403.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.6336, allocations: 8.578 kB / 403.5 MB, free: 6.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.6337, allocations: 42 kB / 403.5 MB, free: 6.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.797e-06/0.6337, allocations: 0 / 403.5 MB, free: 6.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.005017/0.6387, allocations: 2.214 MB / 405.8 MB, free: 6.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.6388, allocations: 56.06 kB / 405.8 MB, free: 6.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.64, allocations: 0.6119 MB / 406.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6401, allocations: 37.2 kB / 406.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.6404, allocations: 430.9 kB / 406.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.6406, allocations: 237.2 kB / 407.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.6406, allocations: 10.44 kB / 407.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.6407, allocations: 337.5 kB / 407.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.6415, allocations: 342.9 kB / 407.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007416/0.6422, allocations: 399.2 kB / 408.2 MB, free: 4.895 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.643, allocations: 375.7 kB / 408.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.643, allocations: 0 / 408.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002454/0.6455, allocations: 1.114 MB / 409.7 MB, free: 4.539 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.6455, allocations: 13.19 kB / 409.7 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6456, allocations: 0 / 409.7 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.6472, allocations: 455.2 kB / 410.1 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.648, allocations: 97.47 kB / 410.2 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.6597, allocations: 8.449 MB / 418.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.6606, allocations: 33.34 kB / 418.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.6607, allocations: 23.47 kB / 418.7 MB, free: 14.25 MB / 330.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.000235/0.661, allocations: 142.7 kB / 418.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.6612, allocations: 80.3 kB / 418.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.6615, allocations: 105.1 kB / 419 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6615, allocations: 7.938 kB / 419 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.6615, allocations: 3.844 kB / 419.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.6615, allocations: 3.984 kB / 419.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/0.6675, allocations: 2.451 MB / 421.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6675, allocations: 7.938 kB / 421.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/0.6682, allocations: 84.28 kB / 421.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.6698, allocations: 449.4 kB / 422 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/0.6699, allocations: 12.88 kB / 422 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.6815, allocations: 8.382 MB / 430.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.6816, allocations: 15.95 kB / 430.4 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/0.6856, allocations: 1.804 MB / 432.2 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006861/0.6863, allocations: 233.9 kB / 432.5 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.6865, allocations: 15.94 kB / 432.5 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.6872, allocations: 39.27 kB / 432.5 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.6875, allocations: 79.48 kB / 432.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.6876, allocations: 19.41 kB / 432.6 MB, free: 5.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000967/0.6886, allocations: 496.6 kB / 433.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6886, allocations: 3.875 kB / 433.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001483/0.6901, allocations: 248.7 kB / 433.4 MB, free: 4.797 MB / 330.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.004426/0.6945, allocations: 2.504 MB / 435.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003191/0.6978, allocations: 1.424 MB / 437.3 MB, free: 2.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.6978, allocations: 0 / 437.3 MB, free: 2.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.7001, allocations: 1.07 MB / 438.4 MB, free: 1.309 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.7017, allocations: 198 kB / 438.6 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.7075, allocations: 2.096 MB / 440.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.7087, allocations: 1.241 MB / 441.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007217/0.7094, allocations: 312.8 kB / 442.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7094, allocations: 0 / 442.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.225/3.935, allocations: 34.98 MB / 477.2 MB, free: 14.59 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat