Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",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.675/1.675, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2347/1.91, allocations: 46.82 MB / 249.4 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/1.999, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/2.28, allocations: 75.34 MB / 369.3 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/2.28, allocations: 66.16 kB / 369.3 MB, free: 7.117 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.03068/2.311, allocations: 6.882 MB / 376.2 MB, free: 6.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/2.311, allocations: 7.75 kB / 376.2 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/2.311, allocations: 50.92 kB / 376.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/2.312, allocations: 292.8 kB / 376.5 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/2.312, allocations: 11.84 kB / 376.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/2.312, allocations: 24.06 kB / 376.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00107/2.313, allocations: 327.1 kB / 376.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009961/2.314, allocations: 377 kB / 377.3 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/2.314, allocations: 4.781 kB / 377.3 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/2.314, allocations: 3.906 kB / 377.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/2.314, allocations: 7.781 kB / 377.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/2.318, allocations: 1.365 MB / 378.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/2.319, allocations: 217.9 kB / 378.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/2.319, allocations: 174.6 kB / 379 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/2.319, allocations: 15.73 kB / 379 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/2.319, allocations: 44.64 kB / 379.1 MB, free: 5.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.566e-06/2.319, allocations: 4 kB / 379.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002329/2.322, allocations: 485.7 kB / 379.6 MB, free: 4.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/2.322, allocations: 169.2 kB / 379.7 MB, free: 4.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/2.322, allocations: 209.7 kB / 379.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/2.322, allocations: 25.7 kB / 380 MB, free: 4.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/2.322, allocations: 181.4 kB / 380.1 MB, free: 4.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/2.322, allocations: 130.3 kB / 380.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/2.322, allocations: 0 / 380.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/2.322, allocations: 339.2 kB / 380.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/2.323, allocations: 124.5 kB / 380.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/2.323, allocations: 197.3 kB / 380.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/2.324, allocations: 153.9 kB / 381.1 MB, free: 19.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.324, allocations: 0 / 381.1 MB, free: 19.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003051/2.327, allocations: 0.6308 MB / 381.7 MB, free: 19.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/2.327, allocations: 7.844 kB / 381.7 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/2.327, allocations: 3.656 kB / 381.7 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/2.328, allocations: 257.1 kB / 382 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/2.329, allocations: 85.56 kB / 382 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/2.331, allocations: 1.349 MB / 383.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/2.332, allocations: 98.22 kB / 383.5 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/2.332, allocations: 15.16 kB / 383.5 MB, free: 18.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001902/2.332, allocations: 116.5 kB / 383.6 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/2.332, allocations: 35.28 kB / 383.6 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/2.336, allocations: 0.6014 MB / 384.2 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/2.336, allocations: 3.938 kB / 384.2 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/2.336, allocations: 4 kB / 384.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/2.336, allocations: 7.891 kB / 384.3 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/2.337, allocations: 398.3 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/2.337, allocations: 0 / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/2.337, allocations: 70.42 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/2.339, allocations: 278.2 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/2.339, allocations: 4.125 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/2.341, allocations: 1.357 MB / 386.4 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.341, allocations: 3.938 kB / 386.4 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003441/2.344, allocations: 0.8551 MB / 387.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004117/2.348, allocations: 1.41 MB / 388.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/2.349, allocations: 115.8 kB / 388.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/2.349, allocations: 0 / 388.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008635/2.35, allocations: 62.42 kB / 388.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/2.35, allocations: 26.64 kB / 388.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/2.35, allocations: 11.5 kB / 388.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002348/2.35, allocations: 161.4 kB / 389 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001576/2.352, allocations: 104.6 kB / 389.1 MB, free: 15.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002375/2.352, allocations: 121.8 kB / 389.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/2.353, allocations: 335.8 kB / 389.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/2.353, allocations: 0 / 389.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006274/2.354, allocations: 203 kB / 389.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/2.354, allocations: 28.86 kB / 389.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/2.356, allocations: 0.5597 MB / 390.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/2.357, allocations: 0.8335 MB / 391.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/2.357, allocations: 0 / 391.2 MB, free: 14.25 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat