Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",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.826/1.826, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1489/1.975, allocations: 46.98 MB / 249.4 MB, free: 14.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/2.241, allocations: 44.64 MB / 294 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/2.37, allocations: 69.36 MB / 363.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/2.371, allocations: 62.59 kB / 363.4 MB, free: 11.88 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.00282/2.374, allocations: 0.6803 MB / 364.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/2.374, allocations: 8 kB / 364.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/2.374, allocations: 7.906 kB / 364.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/2.374, allocations: 170.9 kB / 364.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/2.374, allocations: 0 / 364.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/2.374, allocations: 4 kB / 364.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.498e-05/2.374, allocations: 19.98 kB / 364.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/2.374, allocations: 41.61 kB / 364.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/2.374, allocations: 0 / 364.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/2.374, allocations: 0 / 364.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/2.374, allocations: 0 / 364.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/2.375, allocations: 221.4 kB / 364.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/2.375, allocations: 41.72 kB / 364.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/2.375, allocations: 16.86 kB / 364.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/2.375, allocations: 0 / 364.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/2.375, allocations: 38.67 kB / 364.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/2.375, allocations: 3.938 kB / 364.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009554/2.376, allocations: 466.4 kB / 365.1 MB, free: 9.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/2.376, allocations: 59.41 kB / 365.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/2.376, allocations: 92.92 kB / 365.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/2.376, allocations: 25.7 kB / 365.3 MB, free: 9.746 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/2.376, allocations: 88.14 kB / 365.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/2.376, allocations: 27.56 kB / 365.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/2.376, allocations: 0 / 365.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/2.376, allocations: 314.8 kB / 365.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/2.376, allocations: 12 kB / 365.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/2.376, allocations: 37.66 kB / 365.8 MB, free: 9.258 MB / 314.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.v1 = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.x1 = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/2.377, allocations: 206.4 kB / 366 MB, free: 9.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/2.377, allocations: 0 / 366 MB, free: 9.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/2.377, allocations: 69.59 kB / 366 MB, free: 8.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/2.377, allocations: 4 kB / 366 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/2.377, allocations: 0 / 366 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/2.377, allocations: 0 / 366 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/2.377, allocations: 27.92 kB / 366.1 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/2.377, allocations: 4 kB / 366.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/2.377, allocations: 240 / 366.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/2.377, allocations: 0 / 366.1 MB, free: 8.91 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: $DER.v1 = 0.0 $DER.x1 = 0.0 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 (10): * Single equations (assignments): 10 * 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.0001038/2.377, allocations: 112.7 kB / 366.2 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/2.378, allocations: 3.984 kB / 366.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/2.378, allocations: 12.06 kB / 366.2 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/2.378, allocations: 0 / 366.2 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/2.378, allocations: 7.906 kB / 366.2 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/2.378, allocations: 3.984 kB / 366.2 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/2.378, allocations: 330.4 kB / 366.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/2.378, allocations: 0 / 366.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/2.378, allocations: 8 kB / 366.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/2.378, allocations: 24.94 kB / 366.6 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/2.379, allocations: 4 kB / 366.6 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/2.38, allocations: 1.237 MB / 367.8 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.38, allocations: 0 / 367.8 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003674/2.38, allocations: 252.1 kB / 368.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005776/2.381, allocations: 0.6409 MB / 368.7 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/2.381, allocations: 81.02 kB / 368.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/2.381, allocations: 7.938 kB / 368.8 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/2.381, allocations: 0 / 368.8 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/2.381, allocations: 7.984 kB / 368.8 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/2.381, allocations: 0 / 368.8 MB, free: 5.898 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.974e-05/2.381, allocations: 87.41 kB / 368.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00116/2.382, allocations: 12.06 kB / 368.9 MB, free: 5.801 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/2.383, allocations: 103.1 kB / 369 MB, free: 5.688 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/2.383, allocations: 32 kB / 369 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/2.383, allocations: 0 / 369 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003585/2.383, allocations: 133.6 kB / 369.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/2.383, allocations: 7.906 kB / 369.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/2.384, allocations: 127.4 kB / 369.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/2.384, allocations: 0.697 MB / 370 MB, free: 4.633 MB / 314.7 MB Notification: Performance of SimCode: time 1.452e-06/2.384, allocations: 4 kB / 370 MB, free: 4.629 MB / 314.7 MB