Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.842/1.842, allocations: 195.5 MB / 207.6 MB, free: 2.777 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.53e-05, allocations: 4 kB / 255.2 MB, free: 1.996 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 44.66 MB / 299.9 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.5699, allocations: 71.04 MB / 370.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5702, allocations: 65 kB / 371 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.5817, allocations: 2.78 MB / 373.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5818, allocations: 0 / 373.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.5818, allocations: 1.344 kB / 373.8 MB, free: 15.04 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.0004348/0.5822, allocations: 377.2 kB / 374.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5823, allocations: 9.25 kB / 374.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.5823, allocations: 47.22 kB / 374.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5824, allocations: 11.38 kB / 374.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.5825, allocations: 186.9 kB / 374.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.5825, allocations: 7.938 kB / 374.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.5826, allocations: 8.844 kB / 374.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.5828, allocations: 91.56 kB / 374.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5828, allocations: 1 kB / 374.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.5829, allocations: 4.656 kB / 374.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.5829, allocations: 2.281 kB / 374.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.5831, allocations: 54.42 kB / 374.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.5837, allocations: 386.1 kB / 374.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.584, allocations: 98.22 kB / 375 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.5841, allocations: 40.53 kB / 375.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.5841, allocations: 1.156 kB / 375.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.5841, allocations: 31.69 kB / 375.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.605e-06/0.5841, allocations: 1.125 kB / 375.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001282/0.5854, allocations: 0.6593 MB / 375.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.5855, allocations: 61.72 kB / 375.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.5856, allocations: 109.6 kB / 375.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.5856, allocations: 26.7 kB / 376 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.5857, allocations: 100.9 kB / 376.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.5857, allocations: 56.64 kB / 376.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.5857, allocations: 4.781 kB / 376.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.5858, allocations: 323.8 kB / 376.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.319e-05/0.5859, allocations: 31.72 kB / 376.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.586, allocations: 64.11 kB / 376.5 MB, free: 12.86 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.0008295/0.5869, allocations: 314.6 kB / 376.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5869, allocations: 1.062 kB / 376.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003955/0.5873, allocations: 164.2 kB / 377 MB, free: 12.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5873, allocations: 4.25 kB / 377 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5874, allocations: 1.906 kB / 377 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.5875, allocations: 29.86 kB / 377 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.5877, allocations: 24.2 kB / 377.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.589, allocations: 1.44 MB / 378.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.5891, allocations: 4.938 kB / 378.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.5891, allocations: 8.25 kB / 378.5 MB, free: 11.25 MB / 314.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0004857/0.5896, allocations: 118.6 kB / 378.6 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.5897, allocations: 13.36 kB / 378.6 MB, free: 27.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.5897, allocations: 13.12 kB / 378.7 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5898, allocations: 4.359 kB / 378.7 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5898, allocations: 1.219 kB / 378.7 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5898, allocations: 3.938 kB / 378.7 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.5907, allocations: 0.5923 MB / 379.3 MB, free: 26.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5907, allocations: 5 kB / 379.3 MB, free: 26.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.591, allocations: 30.05 kB / 379.3 MB, free: 26.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.5911, allocations: 19.39 kB / 379.3 MB, free: 26.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5911, allocations: 5.781 kB / 379.3 MB, free: 26.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.5922, allocations: 1.277 MB / 380.6 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5922, allocations: 5.109 kB / 380.6 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.5927, allocations: 334.5 kB / 380.9 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.5928, allocations: 84.64 kB / 381 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.5928, allocations: 7.641 kB / 381 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.5929, allocations: 1.312 kB / 381 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.593, allocations: 13.61 kB / 381 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.593, allocations: 4.031 kB / 381 MB, free: 25.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.676e-05/0.5931, allocations: 96.39 kB / 381.1 MB, free: 24.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5931, allocations: 0 / 381.1 MB, free: 24.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00042/0.5935, allocations: 35.56 kB / 381.2 MB, free: 24.95 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.0008909/0.5944, allocations: 1.074 MB / 382.2 MB, free: 23.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.595, allocations: 226.5 kB / 382.5 MB, free: 23.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.595, allocations: 0 / 382.5 MB, free: 23.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.5953, allocations: 168.6 kB / 382.6 MB, free: 23.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.5956, allocations: 15.7 kB / 382.6 MB, free: 23.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.5964, allocations: 349.1 kB / 383 MB, free: 23.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5968, allocations: 0.7083 MB / 383.7 MB, free: 22.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.794e-05/0.5969, allocations: 13.48 kB / 383.7 MB, free: 22.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.597, allocations: 34.25 kB / 383.7 MB, free: 22.78 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.597, allocations: 0 / 383.7 MB, free: 22.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.6197, allocations: 2.637 MB / 386.4 MB, free: 22.39 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.62, allocations: 221.4 kB / 386.6 MB, free: 22.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.765, allocations: 0 / 386.6 MB, free: 22.13 MB / 330.7 MB