Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [: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.735/1.735, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2613/1.997, allocations: 46.83 MB / 249.3 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/2.094, allocations: 44.51 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/2.392, allocations: 75.46 MB / 369.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/2.392, allocations: 72.7 kB / 369.4 MB, free: 6.77 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.06496/2.457, allocations: 17.16 MB / 386.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/2.457, allocations: 7.719 kB / 386.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/2.458, allocations: 120.8 kB / 386.7 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/2.459, allocations: 0.7225 MB / 387.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/2.46, allocations: 27 kB / 387.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/2.46, allocations: 54.66 kB / 387.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002507/2.462, allocations: 0.9852 MB / 388.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/2.465, allocations: 1.08 MB / 389.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/2.465, allocations: 0 / 389.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/2.465, allocations: 3.844 kB / 389.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/2.465, allocations: 19.53 kB / 389.6 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008746/2.474, allocations: 3.654 MB / 393.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/2.475, allocations: 495.1 kB / 393.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/2.477, allocations: 0.8751 MB / 394.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.655e-05/2.477, allocations: 12.53 kB / 394.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/2.477, allocations: 40.94 kB / 394.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.947e-06/2.477, allocations: 0 / 394.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.00586/2.483, allocations: 2.127 MB / 396.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/2.483, allocations: 63.44 kB / 396.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/2.485, allocations: 0.5687 MB / 397.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/2.485, allocations: 27.08 kB / 397.4 MB, free: 14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/2.485, allocations: 322.5 kB / 397.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/2.485, allocations: 234.3 kB / 397.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/2.486, allocations: 1.25 kB / 397.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/2.486, allocations: 382.6 kB / 398.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008645/2.487, allocations: 343.9 kB / 398.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008747/2.488, allocations: 397.8 kB / 399 MB, free: 13.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/2.488, allocations: 378 kB / 399.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.488, allocations: 7.938 kB / 399.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003097/2.492, allocations: 1.127 MB / 400.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/2.492, allocations: 9.781 kB / 400.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.492, allocations: 0 / 400.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/2.493, allocations: 465.1 kB / 401 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009319/2.494, allocations: 104 kB / 401.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/2.507, allocations: 7.951 MB / 409.1 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/2.508, allocations: 15.52 kB / 409.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/2.508, allocations: 17 kB / 409.1 MB, free: 6.789 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.0002641/2.508, allocations: 129 kB / 409.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/2.508, allocations: 79.5 kB / 409.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/2.509, allocations: 91.62 kB / 409.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/2.509, allocations: 6.75 kB / 409.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/2.509, allocations: 2.344 kB / 409.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/2.509, allocations: 3.984 kB / 409.4 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/2.516, allocations: 2.323 MB / 411.7 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/2.516, allocations: 0 / 411.7 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/2.516, allocations: 88.47 kB / 411.8 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/2.518, allocations: 455.7 kB / 412.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/2.519, allocations: 7.328 kB / 412.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/2.531, allocations: 7.865 MB / 420.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/2.531, allocations: 4 kB / 420.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004589/2.535, allocations: 1.809 MB / 421.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005907/2.541, allocations: 2.76 MB / 424.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/2.542, allocations: 232.1 kB / 424.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/2.542, allocations: 11.98 kB / 424.9 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/2.543, allocations: 19.98 kB / 425 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/2.543, allocations: 48.56 kB / 425 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/2.543, allocations: 20 kB / 425 MB, free: 9.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0009694/2.544, allocations: 454.8 kB / 425.5 MB, free: 8.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002543/2.547, allocations: 224 kB / 425.7 MB, free: 8.422 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.0003162/2.547, allocations: 114.9 kB / 425.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003224/2.551, allocations: 1.31 MB / 427.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/2.551, allocations: 0 / 427.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/2.553, allocations: 0.9427 MB / 428.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/2.554, allocations: 158.2 kB / 428.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/2.561, allocations: 1.801 MB / 430 MB, free: 3.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/2.562, allocations: 1.298 MB / 431.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/2.562, allocations: 3.938 kB / 431.3 MB, free: 2.645 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat