Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.692e-05/4.731e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2814, allocations: 38.77 MB / 263.9 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4259, allocations: 80.65 MB / 344.5 MB, free: 9.094 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/0.4264, allocations: 87.89 kB / 344.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.484/0.9104, allocations: 64.15 MB / 408.7 MB, free: 63.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.9104, allocations: 4 kB / 408.7 MB, free: 63.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.9107, allocations: 59.94 kB / 408.8 MB, free: 63.88 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007902/0.9186, allocations: 2.264 MB / 411.1 MB, free: 61.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.9187, allocations: 8.031 kB / 411.1 MB, free: 61.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008498/0.9195, allocations: 328.7 kB / 411.4 MB, free: 61.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.9207, allocations: 313 kB / 411.7 MB, free: 60.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.9249, allocations: 1.572 MB / 413.3 MB, free: 59.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.925, allocations: 172.4 kB / 413.4 MB, free: 59.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004782/0.9255, allocations: 212 kB / 413.7 MB, free: 58.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007024/0.9326, allocations: 3.023 MB / 416.7 MB, free: 55.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.68e-05/0.9327, allocations: 0 / 416.7 MB, free: 55.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003205/0.933, allocations: 95.98 kB / 416.8 MB, free: 55.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.9332, allocations: 108.4 kB / 416.9 MB, free: 55.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006293/0.9395, allocations: 2.433 MB / 419.3 MB, free: 53.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.9585, allocations: 8.906 MB / 428.2 MB, free: 44.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.9626, allocations: 3.306 MB / 431.5 MB, free: 40.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/0.9652, allocations: 1.312 MB / 432.8 MB, free: 39.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/0.9656, allocations: 134.4 kB / 433 MB, free: 38.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.9657, allocations: 47.88 kB / 433 MB, free: 38.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.968e-06/0.9657, allocations: 0 / 433 MB, free: 38.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.009701/0.9754, allocations: 4.089 MB / 437.1 MB, free: 34.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.9755, allocations: 68.66 kB / 437.2 MB, free: 34.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.978, allocations: 1.342 MB / 438.5 MB, free: 33.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.9781, allocations: 45.7 kB / 438.6 MB, free: 33.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/0.9787, allocations: 0.8991 MB / 439.4 MB, free: 32.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/0.9792, allocations: 441.6 kB / 439.9 MB, free: 31.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.9793, allocations: 28 kB / 439.9 MB, free: 31.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9794, allocations: 358.8 kB / 440.3 MB, free: 31.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.9808, allocations: 0.6585 MB / 440.9 MB, free: 30.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.9822, allocations: 0.8088 MB / 441.7 MB, free: 29.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.9838, allocations: 0.7779 MB / 442.5 MB, free: 29.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.9838, allocations: 0 / 442.5 MB, free: 29.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004744/0.9886, allocations: 2.112 MB / 444.6 MB, free: 27.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.9886, allocations: 8 kB / 444.6 MB, free: 27.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.9886, allocations: 4 kB / 444.6 MB, free: 27.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/0.9914, allocations: 0.702 MB / 445.3 MB, free: 26.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.993, allocations: 203.7 kB / 445.5 MB, free: 26.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/1.008, allocations: 10.49 MB / 456 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.009, allocations: 51.97 kB / 456.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/1.009, allocations: 43.98 kB / 456.1 MB, free: 15.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003218/1.01, allocations: 172.8 kB / 456.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003666/1.01, allocations: 158.1 kB / 456.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/1.015, allocations: 2.109 MB / 458.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.015, allocations: 12 kB / 458.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.015, allocations: 4 kB / 458.6 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.015, allocations: 3.984 kB / 458.6 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/1.026, allocations: 4.672 MB / 463.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.026, allocations: 0 / 463.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.027, allocations: 159.9 kB / 463.4 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/1.03, allocations: 0.6903 MB / 464.1 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.03, allocations: 35.92 kB / 464.1 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/1.046, allocations: 10.37 MB / 474.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.046, allocations: 0 / 474.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007859/1.054, allocations: 3.179 MB / 477.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.055, allocations: 415.1 kB / 478.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/1.056, allocations: 24 kB / 478.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.057, allocations: 79.89 kB / 478.2 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004135/1.058, allocations: 113.1 kB / 478.3 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.058, allocations: 39.98 kB / 478.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002451/1.06, allocations: 1.043 MB / 479.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.06, allocations: 0 / 479.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003081/1.063, allocations: 0.5312 MB / 479.9 MB, free: 6.473 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008635/1.072, allocations: 4.111 MB / 484 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005564/1.078, allocations: 2.269 MB / 486.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.078, allocations: 0 / 486.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00379/1.082, allocations: 1.535 MB / 487.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/1.085, allocations: 496.5 kB / 488.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/1.099, allocations: 4.398 MB / 492.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/1.101, allocations: 2.038 MB / 494.7 MB, free: 7.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/1.103, allocations: 0.7844 MB / 495.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/1.103, allocations: 0 / 495.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.55/5.653, allocations: 84.65 MB / 0.5666 GB, free: 36.95 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat