Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",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.685/1.685, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1414/1.826, allocations: 46.97 MB / 249.4 MB, free: 14.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/2.067, allocations: 44.65 MB / 294 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/2.198, allocations: 69.25 MB / 363.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/2.199, allocations: 67.97 kB / 363.3 MB, free: 11.97 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.002156/2.201, allocations: 0.5906 MB / 363.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/2.201, allocations: 8 kB / 363.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/2.201, allocations: 7.906 kB / 363.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/2.201, allocations: 163.1 kB / 364.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/2.201, allocations: 4 kB / 364.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/2.201, allocations: 4 kB / 364.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.85e-05/2.201, allocations: 8 kB / 364.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/2.201, allocations: 49.53 kB / 364.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/2.201, allocations: 0 / 364.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/2.201, allocations: 0 / 364.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/2.201, allocations: 4 kB / 364.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/2.202, allocations: 225.5 kB / 364.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/2.202, allocations: 33.72 kB / 364.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/2.202, allocations: 16.98 kB / 364.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/2.202, allocations: 0 / 364.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/2.202, allocations: 30.56 kB / 364.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/2.202, allocations: 4 kB / 364.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009306/2.203, allocations: 486 kB / 364.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/2.203, allocations: 51.41 kB / 365 MB, free: 10.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/2.203, allocations: 96.94 kB / 365.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/2.203, allocations: 25.7 kB / 365.1 MB, free: 9.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/2.203, allocations: 80.14 kB / 365.2 MB, free: 9.844 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/2.203, allocations: 31.55 kB / 365.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/2.203, allocations: 0 / 365.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/2.203, allocations: 318.8 kB / 365.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/2.203, allocations: 12 kB / 365.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/2.204, allocations: 33.66 kB / 365.6 MB, free: 9.441 MB / 314.7 MB Notification: The following equation is consistent and got removed from the initialization problem: x1 = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: v1 = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/2.204, allocations: 198.5 kB / 365.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/2.204, allocations: 0 / 365.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002808/2.204, allocations: 94.36 kB / 365.9 MB, free: 9.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/2.204, allocations: 4 kB / 365.9 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/2.204, allocations: 4 kB / 365.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/2.205, allocations: 20.84 kB / 365.9 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/2.205, allocations: 8 kB / 365.9 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/2.206, allocations: 1.24 MB / 367.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/2.206, allocations: 0 / 367.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/2.206, allocations: 0 / 367.1 MB, free: 7.715 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: x1 = 0.0 v1 = 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 (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001286/2.206, allocations: 112.7 kB / 367.2 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/2.206, allocations: 0 / 367.2 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/2.206, allocations: 12.06 kB / 367.3 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/2.206, allocations: 4.062 kB / 367.3 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/2.207, allocations: 0.6875 kB / 367.3 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/2.207, allocations: 3.906 kB / 367.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/2.207, allocations: 338.4 kB / 367.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/2.207, allocations: 4.062 kB / 367.6 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/2.207, allocations: 8.094 kB / 367.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/2.207, allocations: 25.03 kB / 367.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/2.207, allocations: 4 kB / 367.6 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/2.209, allocations: 1.225 MB / 368.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/2.209, allocations: 0 / 368.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000374/2.209, allocations: 256 kB / 369.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000549/2.21, allocations: 0.6332 MB / 369.7 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/2.21, allocations: 85.02 kB / 369.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/2.21, allocations: 7.938 kB / 369.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/2.21, allocations: 0 / 369.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/2.21, allocations: 4 kB / 369.8 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/2.21, allocations: 0 / 369.8 MB, free: 4.711 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.38e-05/2.21, allocations: 87.33 kB / 369.9 MB, free: 4.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001175/2.211, allocations: 8 kB / 369.9 MB, free: 4.617 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.0001497/2.211, allocations: 95.25 kB / 370 MB, free: 4.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004056/2.212, allocations: 149.7 kB / 370.2 MB, free: 4.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/2.212, allocations: 3.938 kB / 370.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/2.212, allocations: 130 kB / 370.3 MB, free: 4.219 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/2.212, allocations: 7.906 kB / 370.3 MB, free: 4.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/2.213, allocations: 123.2 kB / 370.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/2.213, allocations: 0.7005 MB / 371.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/2.213, allocations: 3.938 kB / 371.1 MB, free: 3.332 MB / 314.7 MB