Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_2_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.875/1.875, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2621/2.137, allocations: 46.84 MB / 249.3 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/2.234, allocations: 44.51 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3054/2.54, allocations: 73.09 MB / 366.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/2.54, allocations: 66.95 kB / 367 MB, free: 6.914 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.01774/2.558, allocations: 4.181 MB / 371.2 MB, free: 6.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/2.558, allocations: 7.75 kB / 371.2 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/2.558, allocations: 36.77 kB / 371.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/2.558, allocations: 232.1 kB / 371.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/2.558, allocations: 7.844 kB / 371.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/2.558, allocations: 12.86 kB / 371.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004003/2.559, allocations: 126.4 kB / 371.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/2.559, allocations: 181.1 kB / 371.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/2.559, allocations: 0 / 371.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/2.559, allocations: 0 / 371.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/2.559, allocations: 5.406 kB / 371.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/2.561, allocations: 0.8834 MB / 372.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/2.562, allocations: 89.09 kB / 372.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/2.562, allocations: 88.47 kB / 372.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/2.562, allocations: 0 / 372.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/2.562, allocations: 39.62 kB / 372.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.746e-06/2.562, allocations: 0 / 372.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009215/2.563, allocations: 205.2 kB / 373.1 MB, free: 5.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/2.563, allocations: 52.25 kB / 373.1 MB, free: 5.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/2.563, allocations: 152.6 kB / 373.3 MB, free: 21.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/2.563, allocations: 25.7 kB / 373.3 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/2.563, allocations: 140.1 kB / 373.4 MB, free: 20.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/2.563, allocations: 62.33 kB / 373.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/2.563, allocations: 0 / 373.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/2.563, allocations: 324.7 kB / 373.8 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/2.564, allocations: 42.89 kB / 373.9 MB, free: 20.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/2.564, allocations: 65.05 kB / 373.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/2.564, allocations: 66.78 kB / 374 MB, free: 20.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.564, allocations: 0.5156 kB / 374 MB, free: 20.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008016/2.565, allocations: 222 kB / 374.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/2.565, allocations: 3.875 kB / 374.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/2.565, allocations: 3.875 kB / 374.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009467/2.566, allocations: 103.3 kB / 374.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/2.566, allocations: 42.81 kB / 374.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008516/2.567, allocations: 0.6243 MB / 375 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/2.567, allocations: 17.45 kB / 375 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/2.567, allocations: 12.48 kB / 375 MB, free: 19.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.0001238/2.567, allocations: 120.6 kB / 375.1 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/2.568, allocations: 19.59 kB / 375.1 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/2.568, allocations: 209.9 kB / 375.3 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/2.568, allocations: 3.906 kB / 375.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/2.568, allocations: 0 / 375.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/2.568, allocations: 1.547 kB / 375.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/2.57, allocations: 0.5502 MB / 375.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/2.57, allocations: 0 / 375.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/2.57, allocations: 28.45 kB / 375.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008876/2.571, allocations: 115.4 kB / 376 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/2.571, allocations: 4.766 kB / 376 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008452/2.572, allocations: 0.6469 MB / 376.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/2.572, allocations: 4 kB / 376.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001026/2.573, allocations: 387.1 kB / 377.1 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001276/2.574, allocations: 0.8254 MB / 377.9 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/2.574, allocations: 108.5 kB / 378 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/2.575, allocations: 4.719 kB / 378 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/2.575, allocations: 9.688 kB / 378 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/2.575, allocations: 11.41 kB / 378 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/2.575, allocations: 4.75 kB / 378 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001458/2.575, allocations: 120.6 kB / 378.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001316/2.576, allocations: 63.94 kB / 378.2 MB, free: 18 MB / 314.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.0002269/2.577, allocations: 120.2 kB / 378.3 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005103/2.577, allocations: 121.7 kB / 378.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.577, allocations: 0 / 378.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/2.577, allocations: 72.38 kB / 378.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/2.578, allocations: 28.77 kB / 378.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/2.579, allocations: 370.2 kB / 378.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/2.58, allocations: 0.7682 MB / 379.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/2.58, allocations: 0 / 379.7 MB, free: 16.96 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat