Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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(ModelicaTestOverdetermined): time 1.757/1.757, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1282/1.885, allocations: 46.98 MB / 249.4 MB, free: 14.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/2.193, allocations: 44.65 MB / 294 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/2.372, allocations: 69.3 MB / 363.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/2.372, allocations: 59.97 kB / 363.4 MB, free: 11.96 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003371/2.375, allocations: 0.6296 MB / 364 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/2.375, allocations: 12 kB / 364 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/2.375, allocations: 3.906 kB / 364 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/2.376, allocations: 163 kB / 364.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/2.376, allocations: 4 kB / 364.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/2.376, allocations: 0 / 364.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001124/2.376, allocations: 19.92 kB / 364.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/2.376, allocations: 41.61 kB / 364.2 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/2.376, allocations: 3.984 kB / 364.2 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/2.376, allocations: 0 / 364.2 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/2.376, allocations: 4 kB / 364.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/2.377, allocations: 263 kB / 364.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/2.377, allocations: 33.77 kB / 364.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/2.377, allocations: 12.86 kB / 364.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/2.377, allocations: 3.938 kB / 364.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/2.377, allocations: 30.56 kB / 364.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.059e-06/2.377, allocations: 0 / 364.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004061/2.377, allocations: 66.47 kB / 364.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/2.378, allocations: 55.41 kB / 364.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/2.378, allocations: 92.98 kB / 364.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/2.378, allocations: 25.7 kB / 364.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/2.378, allocations: 88.14 kB / 364.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/2.378, allocations: 11.81 kB / 364.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/2.378, allocations: 0 / 364.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/2.378, allocations: 314.8 kB / 365.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/2.378, allocations: 12 kB / 365.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/2.378, allocations: 17.72 kB / 365.3 MB, free: 9.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/2.378, allocations: 11.84 kB / 365.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/2.378, allocations: 4 kB / 365.3 MB, free: 9.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002044/2.379, allocations: 57.69 kB / 365.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/2.379, allocations: 4 kB / 365.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/2.379, allocations: 0 / 365.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/2.379, allocations: 4 kB / 365.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/2.379, allocations: 11.98 kB / 365.3 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/2.379, allocations: 4 kB / 365.3 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/2.379, allocations: 7.844 kB / 365.4 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/2.379, allocations: 0 / 365.4 MB, free: 9.762 MB / 314.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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/2.379, allocations: 116.7 kB / 365.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/2.379, allocations: 0 / 365.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/2.379, allocations: 7.594 kB / 365.5 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/2.379, allocations: 0 / 365.5 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/2.379, allocations: 0 / 365.5 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/2.379, allocations: 7.984 kB / 365.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/2.38, allocations: 134.2 kB / 365.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/2.38, allocations: 128 / 365.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/2.38, allocations: 15.92 kB / 365.6 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/2.38, allocations: 20.86 kB / 365.6 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/2.38, allocations: 3.906 kB / 365.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/2.382, allocations: 1.198 MB / 366.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.382, allocations: 0 / 366.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003705/2.383, allocations: 168.6 kB / 367 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005567/2.383, allocations: 0.5516 MB / 367.6 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/2.383, allocations: 81.05 kB / 367.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/2.383, allocations: 0 / 367.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/2.384, allocations: 0 / 367.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/2.384, allocations: 7.938 kB / 367.7 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/2.384, allocations: 4.078 kB / 367.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.997e-05/2.384, allocations: 79.28 kB / 367.7 MB, free: 7.152 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002397/2.386, allocations: 7.906 kB / 367.7 MB, free: 7.145 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002477/2.386, allocations: 99.31 kB / 367.8 MB, free: 7.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/2.387, allocations: 16 kB / 367.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/2.387, allocations: 0 / 367.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/2.387, allocations: 121.6 kB / 368 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/2.387, allocations: 3.984 kB / 368 MB, free: 6.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/2.388, allocations: 96.77 kB / 368.1 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/2.388, allocations: 0.6931 MB / 368.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/2.388, allocations: 0 / 368.8 MB, free: 6.059 MB / 314.7 MB