Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.657/1.657, allocations: 171.2 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2e-05, allocations: 0 / 219.6 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2459, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.3857, allocations: 81.57 MB / 339.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.3861, allocations: 83.95 kB / 340 MB, free: 12.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6244/1.011, allocations: 116.3 MB / 456.3 MB, free: 17.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.011, allocations: 0 / 456.3 MB, free: 17.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003911/1.011, allocations: 111.9 kB / 456.4 MB, free: 17.72 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01249/1.023, allocations: 3.832 MB / 460.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.024, allocations: 8.031 kB / 460.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/1.026, allocations: 0.5567 MB / 460.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007358/1.033, allocations: 2.722 MB / 463.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/1.034, allocations: 128 kB / 463.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007731/1.034, allocations: 224 kB / 463.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0104/1.045, allocations: 4.287 MB / 468.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/1.057, allocations: 5.008 MB / 473.1 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/1.057, allocations: 11.92 kB / 473.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004828/1.057, allocations: 4 kB / 473.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/1.057, allocations: 200 kB / 473.4 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04042/1.098, allocations: 15.63 MB / 489 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/1.111, allocations: 6.61 MB / 495.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008156/1.119, allocations: 2.416 MB / 498 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007569/1.12, allocations: 151 kB / 498.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.796e-05/1.12, allocations: 64.5 kB / 498.2 MB, free: 6.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 9.628e-06/1.12, allocations: 4 kB / 498.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.3193/1.439, allocations: 7.29 MB / 0.4937 GB, free: 54.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/1.439, allocations: 77.7 kB / 0.4937 GB, free: 54.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/1.444, allocations: 1.819 MB / 0.4955 GB, free: 54.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005661/1.445, allocations: 30.36 kB / 0.4955 GB, free: 54.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.446, allocations: 1.557 MB / 0.4971 GB, free: 54.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.447, allocations: 0.8036 MB / 0.4979 GB, free: 54.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/1.448, allocations: 0 / 0.4979 GB, free: 54.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/1.448, allocations: 408.9 kB / 0.4982 GB, free: 53.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/1.451, allocations: 1.24 MB / 0.4995 GB, free: 53.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/1.455, allocations: 1.509 MB / 0.5009 GB, free: 53.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/1.459, allocations: 1.477 MB / 0.5024 GB, free: 53.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/1.459, allocations: 3.844 kB / 0.5024 GB, free: 53.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009162/1.468, allocations: 3.914 MB / 0.5062 GB, free: 53.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.469, allocations: 14.28 kB / 0.5062 GB, free: 53.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.469, allocations: 9.812 kB / 0.5062 GB, free: 53.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/1.474, allocations: 1.367 MB / 0.5076 GB, free: 53.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.477, allocations: 388.7 kB / 0.5079 GB, free: 53.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02975/1.506, allocations: 22.56 MB / 0.53 GB, free: 40.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.509, allocations: 47.19 kB / 0.53 GB, free: 40.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004357/1.51, allocations: 89.55 kB / 0.5301 GB, free: 40.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00061/1.511, allocations: 146.5 kB / 0.5302 GB, free: 40.06 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008367/1.519, allocations: 3.611 MB / 0.5338 GB, free: 39.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009991/1.52, allocations: 257.4 kB / 0.534 GB, free: 39.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00897/1.529, allocations: 3.807 MB / 0.5377 GB, free: 39.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/1.529, allocations: 29.44 kB / 0.5377 GB, free: 39.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/1.529, allocations: 11.09 kB / 0.5378 GB, free: 39.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/1.529, allocations: 10.97 kB / 0.5378 GB, free: 39.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/1.551, allocations: 8.055 MB / 0.5456 GB, free: 37.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.551, allocations: 5.844 kB / 0.5456 GB, free: 37.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.553, allocations: 297.2 kB / 0.5459 GB, free: 37.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00493/1.558, allocations: 1.344 MB / 0.5472 GB, free: 36.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/1.558, allocations: 24.55 kB / 0.5473 GB, free: 36.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02755/1.586, allocations: 22.38 MB / 0.5691 GB, free: 19.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.586, allocations: 7.469 kB / 0.5691 GB, free: 19.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.598, allocations: 5.711 MB / 0.5747 GB, free: 17.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.6, allocations: 0.6377 MB / 0.5753 GB, free: 16.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/1.601, allocations: 16.05 kB / 0.5753 GB, free: 16.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.603, allocations: 91.31 kB / 0.5754 GB, free: 16.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007647/1.604, allocations: 218 kB / 0.5756 GB, free: 16.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002265/1.604, allocations: 72.02 kB / 0.5757 GB, free: 16.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002793/1.607, allocations: 1.395 MB / 0.5771 GB, free: 16.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.607, allocations: 3.375 kB / 0.5771 GB, free: 16.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005045/1.612, allocations: 0.8649 MB / 0.5779 GB, free: 16.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01266/1.625, allocations: 6.555 MB / 0.5843 GB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009054/1.634, allocations: 4.547 MB / 0.5888 GB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.634, allocations: 4 kB / 0.5888 GB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006348/1.641, allocations: 3.126 MB / 0.5918 GB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/1.645, allocations: 0.6183 MB / 0.5924 GB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/1.664, allocations: 7.861 MB / 0.6001 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.669, allocations: 3.18 MB / 0.6032 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003779/1.672, allocations: 1.439 MB / 0.6046 GB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/1.672, allocations: 0 / 0.6046 GB, free: 12.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.349/7.022, allocations: 266.1 MB / 0.8645 GB, free: 42.47 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat