Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",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.795/1.795, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1509/1.946, allocations: 46.97 MB / 249.4 MB, free: 14.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/2.187, allocations: 44.65 MB / 294 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/2.345, allocations: 70.3 MB / 364.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/2.345, allocations: 59.97 kB / 364.4 MB, free: 10.93 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.01286/2.358, allocations: 2.835 MB / 367.2 MB, free: 8.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/2.358, allocations: 8 kB / 367.2 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/2.358, allocations: 7.906 kB / 367.2 MB, free: 8.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/2.359, allocations: 182.8 kB / 367.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/2.359, allocations: 4 kB / 367.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/2.359, allocations: 8 kB / 367.4 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002079/2.359, allocations: 52.36 kB / 367.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/2.359, allocations: 82.83 kB / 367.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/2.359, allocations: 3.938 kB / 367.5 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/2.359, allocations: 0 / 367.5 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/2.359, allocations: 4 kB / 367.6 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/2.36, allocations: 349.7 kB / 367.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/2.36, allocations: 81.55 kB / 368 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/2.36, allocations: 32.8 kB / 368 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/2.36, allocations: 4 kB / 368 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/2.36, allocations: 38.5 kB / 368 MB, free: 7.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.685e-06/2.36, allocations: 0 / 368 MB, free: 7.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.00151/2.362, allocations: 0.6086 MB / 368.7 MB, free: 6.383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/2.362, allocations: 51.41 kB / 368.7 MB, free: 6.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/2.362, allocations: 101.4 kB / 368.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/2.362, allocations: 29.7 kB / 368.8 MB, free: 6.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/2.362, allocations: 103.8 kB / 368.9 MB, free: 6.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/2.362, allocations: 59.2 kB / 369 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/2.362, allocations: 0 / 369 MB, free: 6.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/2.363, allocations: 322.8 kB / 369.3 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/2.363, allocations: 24.19 kB / 369.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/2.363, allocations: 53.69 kB / 369.4 MB, free: 5.609 MB / 314.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + -0.5 * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/2.364, allocations: 318 kB / 369.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/2.364, allocations: 8 kB / 369.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004365/2.364, allocations: 138.4 kB / 369.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/2.364, allocations: 4 kB / 369.8 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/2.364, allocations: 0 / 369.8 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/2.364, allocations: 36.83 kB / 369.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/2.365, allocations: 23.94 kB / 369.9 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/2.366, allocations: 1.376 MB / 371.3 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/2.366, allocations: 0 / 371.3 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/2.366, allocations: 4 kB / 371.3 MB, free: 3.543 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: mass2.v = $START.mass2.v mass1.s = $START.mass1.s Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/2.367, allocations: 116.9 kB / 371.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/2.367, allocations: 12.19 kB / 371.4 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/2.367, allocations: 12.56 kB / 371.4 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/2.367, allocations: 4 kB / 371.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.367, allocations: 0 / 371.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/2.367, allocations: 3.938 kB / 371.4 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009884/2.368, allocations: 0.5494 MB / 372 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/2.368, allocations: 0 / 372 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/2.368, allocations: 28.17 kB / 372 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/2.368, allocations: 24.84 kB / 372 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/2.368, allocations: 8.094 kB / 372 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/2.37, allocations: 1.221 MB / 373.3 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/2.37, allocations: 8.016 kB / 373.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005604/2.37, allocations: 321 kB / 373.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007665/2.371, allocations: 0.7248 MB / 374.3 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/2.371, allocations: 81.02 kB / 374.4 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/2.371, allocations: 4 kB / 374.4 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/2.371, allocations: 7.922 kB / 374.4 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/2.371, allocations: 7.938 kB / 374.4 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/2.371, allocations: 8 kB / 374.4 MB, free: 100 kB / 314.7 MB Notification: Performance of sort global known variables: time 6.779e-05/2.371, allocations: 91.27 kB / 374.5 MB, free: 8 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.001374/2.373, allocations: 32.02 kB / 374.5 MB, free: 15.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0001806/2.373, allocations: 95.25 kB / 374.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006234/2.374, allocations: 197.9 kB / 374.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.374, allocations: 0 / 374.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/2.374, allocations: 155.3 kB / 375 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/2.374, allocations: 19.92 kB / 375 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008338/2.375, allocations: 279.8 kB / 375.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/2.376, allocations: 0.7286 MB / 376 MB, free: 14.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/2.376, allocations: 0 / 376 MB, free: 14.43 MB / 330.7 MB