Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_Graetz",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.745/1.745, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2233/1.968, allocations: 46.82 MB / 249.4 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/2.058, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/2.355, allocations: 81.3 MB / 375.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/2.356, allocations: 66.09 kB / 375.3 MB, free: 7.02 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.1563/2.512, allocations: 36.95 MB / 412.2 MB, free: 8.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/2.512, allocations: 8 kB / 412.2 MB, free: 8.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/2.512, allocations: 130.4 kB / 412.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/2.514, allocations: 0.7243 MB / 413.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/2.514, allocations: 11.94 kB / 413.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/2.514, allocations: 20.89 kB / 413.1 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006781/2.515, allocations: 190.9 kB / 413.3 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/2.516, allocations: 264 kB / 413.6 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/2.516, allocations: 0 / 413.6 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/2.516, allocations: 3.984 kB / 413.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/2.516, allocations: 12 kB / 413.6 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/2.519, allocations: 1.133 MB / 414.7 MB, free: 6.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/2.519, allocations: 206.5 kB / 414.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/2.52, allocations: 283.9 kB / 415.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/2.523, allocations: 1.27 MB / 416.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/2.523, allocations: 34.47 kB / 416.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.657e-06/2.523, allocations: 8 kB / 416.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.004255/2.527, allocations: 1.154 MB / 417.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/2.527, allocations: 110.8 kB / 417.8 MB, free: 3.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/2.529, allocations: 0.7128 MB / 418.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/2.529, allocations: 25.7 kB / 418.5 MB, free: 2.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/2.529, allocations: 193.6 kB / 418.7 MB, free: 2.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/2.529, allocations: 126.1 kB / 418.8 MB, free: 2.039 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/2.529, allocations: 0 / 418.8 MB, free: 2.039 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/2.529, allocations: 321.9 kB / 419.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/2.53, allocations: 104.3 kB / 419.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/2.53, allocations: 130.8 kB / 419.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/2.531, allocations: 135.9 kB / 419.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.531, allocations: 0 / 419.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001666/2.532, allocations: 477.8 kB / 420 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/2.532, allocations: 4 kB / 420 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-05/2.532, allocations: 15.98 kB / 420 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/2.533, allocations: 69.69 kB / 420 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/2.533, allocations: 47.91 kB / 420.1 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/2.537, allocations: 2.873 MB / 423 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/2.538, allocations: 8 kB / 423 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/2.538, allocations: 15.98 kB / 423 MB, free: 13.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002215/2.538, allocations: 150.7 kB / 423.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/2.538, allocations: 118.5 kB / 423.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/2.541, allocations: 0.6782 MB / 423.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/2.541, allocations: 7.938 kB / 423.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/2.541, allocations: 4 kB / 423.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/2.541, allocations: 3.906 kB / 423.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/2.543, allocations: 0.5581 MB / 424.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.684e-05/2.543, allocations: 12 kB / 424.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/2.543, allocations: 39.91 kB / 424.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/2.544, allocations: 73.61 kB / 424.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/2.544, allocations: 12 kB / 424.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/2.547, allocations: 2.87 MB / 427.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.547, allocations: 192 / 427.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002371/2.549, allocations: 0.7711 MB / 428.3 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002889/2.552, allocations: 1.326 MB / 429.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000775/2.553, allocations: 287.4 kB / 429.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/2.553, allocations: 4 kB / 429.9 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/2.554, allocations: 8.062 kB / 429.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/2.554, allocations: 31.88 kB / 429.9 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/2.554, allocations: 19.98 kB / 429.9 MB, free: 6.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001182/2.555, allocations: 0.5438 MB / 430.5 MB, free: 5.734 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002449/2.558, allocations: 259.7 kB / 430.7 MB, free: 5.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/2.559, allocations: 431.7 kB / 431.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/2.561, allocations: 0.6406 MB / 431.8 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.561, allocations: 0 / 431.8 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000943/2.562, allocations: 0.5272 MB / 432.3 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/2.562, allocations: 80.75 kB / 432.4 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/2.566, allocations: 1.061 MB / 433.5 MB, free: 2.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009616/2.567, allocations: 1.06 MB / 434.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/2.567, allocations: 0 / 434.5 MB, free: 1.559 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.Graetz_res.mat does not exist to compare? outputFormat=mat