Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",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.7/1.7, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2221/1.922, allocations: 46.83 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/2.046, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/2.358, allocations: 75.33 MB / 369.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/2.358, allocations: 70.02 kB / 369.2 MB, free: 7.082 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.04496/2.403, allocations: 6.878 MB / 376.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/2.403, allocations: 11.53 kB / 376.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/2.403, allocations: 50.66 kB / 376.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006782/2.404, allocations: 298.9 kB / 376.5 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/2.404, allocations: 15.56 kB / 376.5 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/2.404, allocations: 19.84 kB / 376.5 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001427/2.406, allocations: 336.8 kB / 376.8 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/2.407, allocations: 367 kB / 377.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/2.407, allocations: 3.984 kB / 377.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/2.407, allocations: 7.875 kB / 377.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/2.407, allocations: 7.719 kB / 377.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/2.413, allocations: 1.361 MB / 378.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008017/2.414, allocations: 220 kB / 378.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/2.414, allocations: 175.2 kB / 379 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.97e-05/2.414, allocations: 19.7 kB / 379 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/2.414, allocations: 42.7 kB / 379 MB, free: 4.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 4.839e-06/2.414, allocations: 0 / 379 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.003176/2.418, allocations: 493.2 kB / 379.5 MB, free: 4.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/2.418, allocations: 158.1 kB / 379.7 MB, free: 4.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/2.418, allocations: 209.2 kB / 379.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.117e-05/2.418, allocations: 29.61 kB / 379.9 MB, free: 4.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/2.418, allocations: 181.9 kB / 380.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/2.419, allocations: 131.5 kB / 380.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/2.419, allocations: 0 / 380.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/2.419, allocations: 346.3 kB / 380.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/2.419, allocations: 115.2 kB / 380.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/2.42, allocations: 204.4 kB / 380.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/2.421, allocations: 139.5 kB / 381 MB, free: 19.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/2.421, allocations: 3.938 kB / 381 MB, free: 19.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004125/2.425, allocations: 0.6279 MB / 381.6 MB, free: 19.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/2.425, allocations: 13.59 kB / 381.6 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/2.425, allocations: 0 / 381.6 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/2.427, allocations: 263.2 kB / 381.9 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/2.428, allocations: 95.97 kB / 382 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/2.431, allocations: 1.344 MB / 383.3 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/2.432, allocations: 96.72 kB / 383.4 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/2.432, allocations: 15.25 kB / 383.4 MB, free: 18.39 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.0002538/2.433, allocations: 115.9 kB / 383.6 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/2.433, allocations: 34.7 kB / 383.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/2.437, allocations: 0.5979 MB / 384.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/2.437, allocations: 3.781 kB / 384.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/2.437, allocations: 3.984 kB / 384.2 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/2.437, allocations: 11.75 kB / 384.2 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/2.438, allocations: 393.4 kB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/2.438, allocations: 3.812 kB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009166/2.439, allocations: 78.38 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/2.441, allocations: 267.7 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.739e-05/2.441, allocations: 4 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/2.443, allocations: 1.358 MB / 386.3 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/2.444, allocations: 4.125 kB / 386.3 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004553/2.448, allocations: 0.8526 MB / 387.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005924/2.454, allocations: 1.414 MB / 388.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/2.454, allocations: 112.4 kB / 388.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/2.454, allocations: 7.75 kB / 388.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/2.455, allocations: 62.66 kB / 388.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/2.455, allocations: 19.62 kB / 388.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/2.455, allocations: 7.656 kB / 388.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002245/2.456, allocations: 167.5 kB / 388.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001393/2.457, allocations: 104.2 kB / 389 MB, free: 15.44 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.0002284/2.457, allocations: 110.2 kB / 389.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001081/2.458, allocations: 345 kB / 389.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.458, allocations: 7.969 kB / 389.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/2.459, allocations: 189.3 kB / 389.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/2.459, allocations: 32.33 kB / 389.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/2.461, allocations: 0.5687 MB / 390.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/2.462, allocations: 0.8357 MB / 391.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/2.462, allocations: 4 kB / 391.1 MB, free: 14.22 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat