Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_BasicComponents",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(ModelicaTest): time 2.677/2.677, allocations: 235 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2027/2.88, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/3.182, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/3.362, allocations: 83.96 MB / 438 MB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/3.363, allocations: 59.92 kB / 438.1 MB, free: 9.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.2776/3.64, allocations: 9.2 MB / 447.3 MB, free: 58.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/3.64, allocations: 14.03 kB / 447.3 MB, free: 58.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/3.641, allocations: 47.53 kB / 447.3 MB, free: 58.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/3.642, allocations: 306.2 kB / 447.6 MB, free: 58.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/3.642, allocations: 18.44 kB / 447.7 MB, free: 58.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/3.642, allocations: 27.66 kB / 447.7 MB, free: 58.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/3.643, allocations: 254.4 kB / 447.9 MB, free: 58.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/3.645, allocations: 372.5 kB / 448.3 MB, free: 58.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/3.645, allocations: 2.625 kB / 448.3 MB, free: 58.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/3.645, allocations: 0 / 448.3 MB, free: 58.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/3.645, allocations: 11.28 kB / 448.3 MB, free: 58.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/3.65, allocations: 1.625 MB / 449.9 MB, free: 57.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/3.65, allocations: 128.8 kB / 450.1 MB, free: 57.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/3.651, allocations: 107 kB / 450.2 MB, free: 57.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/3.651, allocations: 13.66 kB / 450.2 MB, free: 57.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/3.651, allocations: 35.16 kB / 450.2 MB, free: 57.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.787e-06/3.651, allocations: 0 / 450.2 MB, free: 57.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004623/3.655, allocations: 1.028 MB / 451.2 MB, free: 57.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/3.656, allocations: 80.8 kB / 451.3 MB, free: 57.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/3.656, allocations: 215.6 kB / 451.5 MB, free: 56.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/3.656, allocations: 25.7 kB / 451.6 MB, free: 56.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/3.656, allocations: 237.7 kB / 451.8 MB, free: 56.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/3.657, allocations: 115.8 kB / 451.9 MB, free: 56.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/3.657, allocations: 3.062 kB / 451.9 MB, free: 56.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/3.657, allocations: 350.6 kB / 452.2 MB, free: 56.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/3.657, allocations: 74.28 kB / 452.3 MB, free: 56.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/3.658, allocations: 178.7 kB / 452.5 MB, free: 56.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/3.659, allocations: 104.7 kB / 452.6 MB, free: 56.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/3.659, allocations: 3.938 kB / 452.6 MB, free: 56.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001841/3.661, allocations: 339 kB / 452.9 MB, free: 56.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/3.661, allocations: 6.453 kB / 452.9 MB, free: 56.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/3.661, allocations: 3.906 kB / 452.9 MB, free: 56.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/3.661, allocations: 31.72 kB / 453 MB, free: 56.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/3.663, allocations: 126.5 kB / 453.1 MB, free: 56.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/3.665, allocations: 1.268 MB / 454.4 MB, free: 54.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/3.666, allocations: 11.27 kB / 454.4 MB, free: 54.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/3.666, allocations: 19 kB / 454.4 MB, free: 54.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002088/3.666, allocations: 120.5 kB / 454.5 MB, free: 54.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/3.667, allocations: 27.31 kB / 454.5 MB, free: 54.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/3.667, allocations: 31.95 kB / 454.6 MB, free: 54.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/3.667, allocations: 6.688 kB / 454.6 MB, free: 54.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/3.667, allocations: 3.906 kB / 454.6 MB, free: 54.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/3.667, allocations: 7.938 kB / 454.6 MB, free: 54.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/3.669, allocations: 0.62 MB / 455.2 MB, free: 54.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/3.669, allocations: 0 / 455.2 MB, free: 54.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/3.67, allocations: 98.31 kB / 455.3 MB, free: 54.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000203/3.67, allocations: 27.52 kB / 455.3 MB, free: 54.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/3.67, allocations: 6.875 kB / 455.3 MB, free: 54.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/3.672, allocations: 1.252 MB / 456.6 MB, free: 53.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/3.672, allocations: 6.75 kB / 456.6 MB, free: 53.29 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001284/3.673, allocations: 0.5568 MB / 457.1 MB, free: 52.99 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001482/3.674, allocations: 1.049 MB / 458.2 MB, free: 52.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/3.675, allocations: 119.2 kB / 458.3 MB, free: 52.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/3.675, allocations: 3.188 kB / 458.3 MB, free: 52.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/3.676, allocations: 21.5 kB / 458.3 MB, free: 52.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/3.676, allocations: 16.62 kB / 458.4 MB, free: 52.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/3.676, allocations: 13.89 kB / 458.4 MB, free: 52.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002536/3.676, allocations: 164.6 kB / 458.5 MB, free: 52.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001923/3.678, allocations: 81.09 kB / 458.6 MB, free: 52.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/3.678, allocations: 109.4 kB / 458.7 MB, free: 52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009744/3.679, allocations: 334.9 kB / 459 MB, free: 51.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/3.679, allocations: 5.25 kB / 459 MB, free: 51.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/3.68, allocations: 213.9 kB / 459.3 MB, free: 51.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/3.68, allocations: 32.91 kB / 459.3 MB, free: 51.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/3.683, allocations: 0.646 MB / 459.9 MB, free: 51.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/3.683, allocations: 0.8594 MB / 460.8 MB, free: 50.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/3.683, allocations: 1.312 kB / 460.8 MB, free: 50.75 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.BasicComponents_res.mat does not exist to compare? outputFormat=mat