Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingRectifier",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.786/1.786, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2319/2.018, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/2.115, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/2.392, allocations: 68.18 MB / 326.2 MB, free: 3.824 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/2.392, allocations: 72.92 kB / 326.3 MB, free: 3.785 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0196/2.412, allocations: 4.185 MB / 330.4 MB, free: 208 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/2.412, allocations: 12 kB / 330.5 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/2.412, allocations: 23.72 kB / 330.5 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/2.413, allocations: 227.1 kB / 330.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/2.413, allocations: 11.91 kB / 330.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/2.413, allocations: 14.52 kB / 330.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004688/2.413, allocations: 133.2 kB / 330.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/2.414, allocations: 190.6 kB / 331 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/2.414, allocations: 0 / 331 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/2.414, allocations: 0 / 331 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/2.414, allocations: 8 kB / 331.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/2.416, allocations: 0.8782 MB / 331.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/2.417, allocations: 102.8 kB / 332 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/2.417, allocations: 85.69 kB / 332.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/2.417, allocations: 0 / 332.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/2.417, allocations: 34.56 kB / 332.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/2.417, allocations: 0 / 332.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.001104/2.418, allocations: 204.7 kB / 332.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/2.418, allocations: 55.03 kB / 332.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/2.419, allocations: 155.6 kB / 332.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/2.419, allocations: 25.7 kB / 332.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/2.419, allocations: 141.3 kB / 332.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/2.419, allocations: 65.91 kB / 332.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/2.419, allocations: 0 / 332.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/2.419, allocations: 330.7 kB / 333.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/2.419, allocations: 48 kB / 333.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/2.419, allocations: 78.34 kB / 333.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/2.42, allocations: 71.64 kB / 333.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.42, allocations: 0 / 333.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008787/2.421, allocations: 226 kB / 333.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/2.421, allocations: 4 kB / 333.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/2.421, allocations: 4 kB / 333.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/2.422, allocations: 110.6 kB / 333.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/2.422, allocations: 39.97 kB / 333.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009792/2.423, allocations: 0.6412 MB / 334.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/2.423, allocations: 23.25 kB / 334.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/2.424, allocations: 4 kB / 334.3 MB, free: 12.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001289/2.424, allocations: 105 kB / 334.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/2.424, allocations: 19.81 kB / 334.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/2.425, allocations: 210.6 kB / 334.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/2.425, allocations: 4 kB / 334.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/2.425, allocations: 3.906 kB / 334.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/2.425, allocations: 0 / 334.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/2.426, allocations: 0.5514 MB / 335.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/2.426, allocations: 0 / 335.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/2.427, allocations: 27.98 kB / 335.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009478/2.428, allocations: 114 kB / 335.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/2.428, allocations: 3.312 kB / 335.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009672/2.429, allocations: 0.6467 MB / 336 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/2.429, allocations: 4 kB / 336 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001176/2.43, allocations: 383.3 kB / 336.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00148/2.431, allocations: 0.8177 MB / 337.2 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/2.432, allocations: 107.2 kB / 337.3 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/2.432, allocations: 8.062 kB / 337.3 MB, free: 9.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/2.432, allocations: 11.84 kB / 337.3 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/2.432, allocations: 15.48 kB / 337.4 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/2.432, allocations: 7.984 kB / 337.4 MB, free: 9.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001538/2.432, allocations: 125.4 kB / 337.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001476/2.434, allocations: 59.78 kB / 337.5 MB, free: 9.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002825/2.434, allocations: 115.2 kB / 337.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006167/2.435, allocations: 134.4 kB / 337.8 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/2.435, allocations: 0 / 337.8 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/2.435, allocations: 69.61 kB / 337.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/2.435, allocations: 29.36 kB / 337.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/2.437, allocations: 376.2 kB / 338.3 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/2.437, allocations: 0.7739 MB / 339 MB, free: 8.148 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/2.437, allocations: 0 / 339 MB, free: 8.148 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat