Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Graetz",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.638/1.638, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2295/1.868, allocations: 46.83 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/1.958, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/2.244, allocations: 81.31 MB / 375.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/2.245, allocations: 68.8 kB / 375.2 MB, free: 7.109 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.1582/2.403, allocations: 36.95 MB / 412.2 MB, free: 8.953 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/2.403, allocations: 8 kB / 412.2 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/2.403, allocations: 130.4 kB / 412.3 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/2.405, allocations: 0.7173 MB / 413 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/2.405, allocations: 4 kB / 413 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/2.405, allocations: 20.66 kB / 413 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006885/2.406, allocations: 196.7 kB / 413.2 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/2.407, allocations: 267 kB / 413.5 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/2.407, allocations: 0 / 413.5 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/2.407, allocations: 0 / 413.5 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/2.407, allocations: 11.94 kB / 413.5 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/2.411, allocations: 1.132 MB / 414.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/2.411, allocations: 202.5 kB / 414.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/2.412, allocations: 288.8 kB / 415.1 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002252/2.414, allocations: 1.269 MB / 416.4 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/2.414, allocations: 38.47 kB / 416.4 MB, free: 4.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.587e-06/2.414, allocations: 0 / 416.4 MB, free: 4.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.004608/2.419, allocations: 1.155 MB / 417.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/2.419, allocations: 110.8 kB / 417.7 MB, free: 3.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/2.421, allocations: 0.7128 MB / 418.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/2.421, allocations: 29.7 kB / 418.4 MB, free: 2.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/2.421, allocations: 197.6 kB / 418.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/2.421, allocations: 130.1 kB / 418.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/2.421, allocations: 0 / 418.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/2.422, allocations: 317.9 kB / 419.1 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/2.422, allocations: 100.3 kB / 419.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/2.422, allocations: 134.8 kB / 419.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/2.423, allocations: 135.9 kB / 419.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.423, allocations: 0 / 419.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001773/2.425, allocations: 481.2 kB / 419.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/2.425, allocations: 4 kB / 419.9 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.571e-05/2.425, allocations: 15.98 kB / 419.9 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/2.425, allocations: 65.69 kB / 420 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/2.426, allocations: 43.95 kB / 420 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/2.43, allocations: 2.863 MB / 422.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/2.431, allocations: 20.05 kB / 422.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/2.431, allocations: 16.06 kB / 422.9 MB, free: 13.71 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.0002476/2.431, allocations: 150.5 kB / 423.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/2.432, allocations: 118.5 kB / 423.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/2.435, allocations: 0.674 MB / 423.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/2.435, allocations: 4 kB / 423.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/2.435, allocations: 3.938 kB / 423.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/2.435, allocations: 11.89 kB / 423.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/2.436, allocations: 0.5588 MB / 424.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-05/2.437, allocations: 11.98 kB / 424.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/2.437, allocations: 39.91 kB / 424.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003658/2.437, allocations: 65.69 kB / 424.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/2.437, allocations: 11.98 kB / 424.6 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/2.441, allocations: 2.873 MB / 427.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/2.441, allocations: 0 / 427.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002459/2.444, allocations: 0.7675 MB / 428.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00308/2.447, allocations: 1.329 MB / 429.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008752/2.448, allocations: 287.5 kB / 429.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/2.448, allocations: 4 kB / 429.8 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/2.449, allocations: 11.98 kB / 429.8 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/2.449, allocations: 27.88 kB / 429.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/2.449, allocations: 16 kB / 429.9 MB, free: 6.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.00126/2.45, allocations: 0.5477 MB / 430.4 MB, free: 5.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002597/2.453, allocations: 259.7 kB / 430.7 MB, free: 5.594 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.001272/2.454, allocations: 436.4 kB / 431.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001632/2.456, allocations: 0.6367 MB / 431.7 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/2.456, allocations: 0 / 431.7 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/2.457, allocations: 0.5351 MB / 432.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/2.458, allocations: 76.56 kB / 432.3 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/2.462, allocations: 1.061 MB / 433.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/2.463, allocations: 1.063 MB / 434.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/2.463, allocations: 0 / 434.5 MB, free: 1.66 MB / 330.7 MB