Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_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.758/1.758, allocations: 171.2 MB / 178.1 MB, free: 6.699 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1228/1.881, allocations: 41.09 MB / 219.2 MB, free: 13.54 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/2.102, allocations: 38.76 MB / 258 MB, free: 5.215 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/2.237, allocations: 70.15 MB / 328.1 MB, free: 14.95 MB / 291.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/2.237, allocations: 75.89 kB / 328.2 MB, free: 14.88 MB / 291.1 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.2603/2.497, allocations: 16.81 MB / 345 MB, free: 70.03 MB / 291.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/2.497, allocations: 9.844 kB / 345 MB, free: 70.03 MB / 291.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/2.498, allocations: 126 kB / 345.2 MB, free: 69.97 MB / 291.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/2.5, allocations: 0.7239 MB / 345.9 MB, free: 69.68 MB / 291.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/2.5, allocations: 26.06 kB / 345.9 MB, free: 69.68 MB / 291.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/2.501, allocations: 50.84 kB / 346 MB, free: 69.68 MB / 291.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002803/2.503, allocations: 0.9856 MB / 346.9 MB, free: 69.68 MB / 291.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/2.506, allocations: 1.075 MB / 348 MB, free: 69.52 MB / 291.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/2.506, allocations: 3.188 kB / 348 MB, free: 69.52 MB / 291.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/2.506, allocations: 3.969 kB / 348 MB, free: 69.52 MB / 291.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/2.506, allocations: 28.16 kB / 348.1 MB, free: 69.52 MB / 291.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008892/2.515, allocations: 3.654 MB / 351.7 MB, free: 68.57 MB / 291.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/2.517, allocations: 492.3 kB / 352.2 MB, free: 68.55 MB / 291.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/2.519, allocations: 0.8668 MB / 353.1 MB, free: 68.35 MB / 291.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/2.519, allocations: 8.094 kB / 353.1 MB, free: 68.35 MB / 291.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/2.519, allocations: 48.19 kB / 353.1 MB, free: 68.3 MB / 291.1 MB Notification: Performance of pre-optimization done (n=71): time 3.427e-06/2.519, allocations: 3.469 kB / 353.1 MB, free: 68.3 MB / 291.1 MB Notification: Performance of matching and sorting (n=72): time 0.005557/2.525, allocations: 2.138 MB / 355.3 MB, free: 67.31 MB / 291.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/2.525, allocations: 64.59 kB / 355.3 MB, free: 67.24 MB / 291.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/2.526, allocations: 0.5728 MB / 355.9 MB, free: 67 MB / 291.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/2.526, allocations: 29.7 kB / 355.9 MB, free: 66.96 MB / 291.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/2.526, allocations: 318.3 kB / 356.2 MB, free: 66.73 MB / 291.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/2.527, allocations: 232.4 kB / 356.5 MB, free: 66.55 MB / 291.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/2.527, allocations: 0 / 356.5 MB, free: 66.55 MB / 291.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/2.527, allocations: 381.5 kB / 356.8 MB, free: 66.21 MB / 291.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008597/2.528, allocations: 344.9 kB / 357.2 MB, free: 66.09 MB / 291.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/2.529, allocations: 399 kB / 357.6 MB, free: 65.95 MB / 291.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/2.53, allocations: 379.4 kB / 357.9 MB, free: 65.82 MB / 291.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/2.53, allocations: 0 / 357.9 MB, free: 65.82 MB / 291.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003413/2.533, allocations: 1.134 MB / 359.1 MB, free: 65.41 MB / 291.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/2.533, allocations: 5 kB / 359.1 MB, free: 65.41 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/2.533, allocations: 4.562 kB / 359.1 MB, free: 65.4 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/2.536, allocations: 467.5 kB / 359.5 MB, free: 65.25 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/2.537, allocations: 100.6 kB / 359.6 MB, free: 65.25 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/2.549, allocations: 7.951 MB / 367.6 MB, free: 57.55 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/2.55, allocations: 15.19 kB / 367.6 MB, free: 57.54 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/2.55, allocations: 23.61 kB / 367.6 MB, free: 57.52 MB / 291.1 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.0002356/2.55, allocations: 117 kB / 367.7 MB, free: 57.4 MB / 291.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/2.55, allocations: 71.16 kB / 367.8 MB, free: 57.33 MB / 291.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/2.551, allocations: 94.17 kB / 367.9 MB, free: 57.24 MB / 291.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/2.551, allocations: 8 kB / 367.9 MB, free: 57.23 MB / 291.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/2.551, allocations: 0 / 367.9 MB, free: 57.23 MB / 291.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/2.551, allocations: 7.328 kB / 367.9 MB, free: 57.23 MB / 291.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006518/2.557, allocations: 2.334 MB / 370.2 MB, free: 55.28 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/2.557, allocations: 4 kB / 370.2 MB, free: 55.27 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/2.558, allocations: 79.14 kB / 370.3 MB, free: 55.21 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/2.56, allocations: 459 kB / 370.8 MB, free: 54.83 MB / 291.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/2.56, allocations: 7.312 kB / 370.8 MB, free: 54.83 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/2.57, allocations: 7.854 MB / 378.6 MB, free: 47.1 MB / 291.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.57, allocations: 0.6562 kB / 378.6 MB, free: 47.1 MB / 291.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00441/2.575, allocations: 1.811 MB / 380.4 MB, free: 45.44 MB / 291.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008156/2.583, allocations: 2.755 MB / 383.2 MB, free: 42.64 MB / 291.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008674/2.584, allocations: 244.1 kB / 383.4 MB, free: 42.38 MB / 291.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/2.584, allocations: 7.906 kB / 383.4 MB, free: 42.37 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/2.585, allocations: 19.97 kB / 383.5 MB, free: 42.35 MB / 291.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/2.586, allocations: 48.58 kB / 383.5 MB, free: 42.3 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/2.586, allocations: 30.81 kB / 383.5 MB, free: 42.28 MB / 291.1 MB Notification: Performance of sort global known variables: time 0.001175/2.587, allocations: 462.8 kB / 384 MB, free: 41.83 MB / 291.1 MB Notification: Performance of remove unused functions: time 0.003906/2.591, allocations: 216 kB / 384.2 MB, free: 41.62 MB / 291.1 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.0004203/2.592, allocations: 113.5 kB / 384.3 MB, free: 41.5 MB / 291.1 MB Notification: Performance of simCode: created initialization part: time 0.003981/2.596, allocations: 1.303 MB / 385.6 MB, free: 40.16 MB / 291.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/2.596, allocations: 0 / 385.6 MB, free: 40.16 MB / 291.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/2.597, allocations: 0.9582 MB / 386.6 MB, free: 39.16 MB / 291.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/2.599, allocations: 157.3 kB / 386.7 MB, free: 39.02 MB / 291.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/2.605, allocations: 1.811 MB / 388.5 MB, free: 37.2 MB / 291.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/2.606, allocations: 1.291 MB / 389.8 MB, free: 35.88 MB / 291.1 MB Notification: Performance of SimCode: time 1.162e-06/2.606, allocations: 0 / 389.8 MB, free: 35.88 MB / 291.1 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat