Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.692/1.692, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2265/1.919, allocations: 46.83 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/2.011, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3029/2.314, allocations: 85.25 MB / 379.2 MB, free: 6.34 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/2.315, allocations: 81.58 kB / 379.2 MB, free: 6.328 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.293/2.608, allocations: 65.57 MB / 444.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/2.608, allocations: 8 kB / 444.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/2.61, allocations: 316.6 kB / 445.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006237/2.616, allocations: 1.578 MB / 446.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/2.616, allocations: 76 kB / 446.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009277/2.617, allocations: 131.9 kB / 446.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009082/2.627, allocations: 2.387 MB / 449.3 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/2.638, allocations: 2.777 MB / 452.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-05/2.638, allocations: 0 / 452.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006516/2.638, allocations: 7.984 kB / 452.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/2.639, allocations: 112.4 kB / 452.2 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02905/2.668, allocations: 8.544 MB / 460.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005067/2.673, allocations: 1.687 MB / 462.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/2.677, allocations: 1.412 MB / 463.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/2.678, allocations: 133.4 kB / 464 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/2.678, allocations: 59.86 kB / 464 MB, free: 6.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 5.07e-06/2.678, allocations: 0 / 464 MB, free: 6.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.01515/2.693, allocations: 4.012 MB / 468 MB, free: 2.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/2.693, allocations: 72.66 kB / 468.1 MB, free: 2.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/2.696, allocations: 1.081 MB / 469.2 MB, free: 1.074 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003215/2.697, allocations: 25.7 kB / 469.2 MB, free: 1.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007914/2.698, allocations: 0.7676 MB / 470 MB, free: 268 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008123/2.698, allocations: 417.8 kB / 470.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/2.699, allocations: 0 / 470.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/2.699, allocations: 357.9 kB / 470.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/2.701, allocations: 0.678 MB / 471.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/2.703, allocations: 0.8245 MB / 472.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002562/2.706, allocations: 0.8065 MB / 473 MB, free: 13.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/2.706, allocations: 0 / 473 MB, free: 13.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.007673/2.714, allocations: 2.189 MB / 475.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/2.714, allocations: 4 kB / 475.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/2.714, allocations: 8 kB / 475.2 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003548/2.717, allocations: 0.7058 MB / 476 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/2.72, allocations: 211.7 kB / 476.2 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/2.74, allocations: 9.794 MB / 486 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/2.742, allocations: 27.91 kB / 486 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/2.743, allocations: 40 kB / 486 MB, free: 15.68 MB / 394.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.0004104/2.743, allocations: 136.6 kB / 486.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/2.744, allocations: 142.3 kB / 486.3 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007159/2.751, allocations: 2.081 MB / 488.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.531e-05/2.751, allocations: 15.98 kB / 488.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/2.751, allocations: 4 kB / 488.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/2.751, allocations: 3.984 kB / 488.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/2.766, allocations: 4.27 MB / 492.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/2.766, allocations: 0 / 492.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/2.768, allocations: 167.8 kB / 492.8 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003615/2.772, allocations: 0.6946 MB / 493.5 MB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/2.772, allocations: 12 kB / 493.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1527/2.925, allocations: 9.769 MB / 0.4915 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/2.925, allocations: 3.844 kB / 0.4915 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008588/2.933, allocations: 3.201 MB / 0.4946 GB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01117/2.945, allocations: 4.665 MB / 0.4992 GB, free: 125.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/2.946, allocations: 391.3 kB / 0.4996 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006203/2.947, allocations: 9.906 kB / 0.4996 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/2.949, allocations: 44.8 kB / 0.4996 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004957/2.949, allocations: 78.69 kB / 0.4997 GB, free: 125.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/2.95, allocations: 36.48 kB / 0.4997 GB, free: 125.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002171/2.952, allocations: 0.8368 MB / 0.5006 GB, free: 125.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004283/2.956, allocations: 469.3 kB / 0.501 GB, free: 125.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * 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.0007315/2.957, allocations: 183.8 kB / 0.5012 GB, free: 125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005936/2.963, allocations: 2.19 MB / 0.5033 GB, free: 124.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/2.963, allocations: 0 / 0.5033 GB, free: 124.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004019/2.967, allocations: 1.44 MB / 0.5047 GB, free: 124.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/2.971, allocations: 324 kB / 0.505 GB, free: 124.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/2.984, allocations: 3.725 MB / 0.5087 GB, free: 123.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003946/2.988, allocations: 2.141 MB / 0.5108 GB, free: 122.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.154e-06/2.988, allocations: 0 / 0.5108 GB, free: 122.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat