Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.906/1.906, allocations: 195.5 MB / 207.6 MB, free: 2.852 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.301e-05/4.309e-05, allocations: 7.984 kB / 255.3 MB, free: 2 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09648, allocations: 44.66 MB / 299.9 MB, free: 5.285 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3864/0.4829, allocations: 70.11 MB / 370 MB, free: 20.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4832, allocations: 66.38 kB / 370.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002494/0.4857, allocations: 0.6682 MB / 370.8 MB, free: 20.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4858, allocations: 3.938 kB / 370.8 MB, free: 20.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.4858, allocations: 1.031 kB / 370.8 MB, free: 20.46 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.0003226/0.4861, allocations: 325.3 kB / 371.1 MB, free: 20.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.4862, allocations: 10.09 kB / 371.1 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.4863, allocations: 33.38 kB / 371.1 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.4863, allocations: 6.219 kB / 371.1 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.4864, allocations: 174.5 kB / 371.3 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4865, allocations: 1.812 kB / 371.3 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.4865, allocations: 7.406 kB / 371.3 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.4866, allocations: 46.92 kB / 371.4 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4867, allocations: 1.328 kB / 371.4 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4867, allocations: 0.75 kB / 371.4 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4867, allocations: 0.5 kB / 371.4 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.4868, allocations: 13.91 kB / 371.4 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.4871, allocations: 250 kB / 371.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.4873, allocations: 50.88 kB / 371.7 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.4874, allocations: 17.97 kB / 371.7 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.4874, allocations: 7.766 kB / 371.7 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.4874, allocations: 32.34 kB / 371.7 MB, free: 19.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.605e-06/0.4874, allocations: 0 / 371.7 MB, free: 19.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008702/0.4883, allocations: 499.2 kB / 372.2 MB, free: 19.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.4884, allocations: 53.75 kB / 372.3 MB, free: 18.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.4885, allocations: 93.47 kB / 372.4 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4885, allocations: 26.42 kB / 372.4 MB, free: 18.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.4885, allocations: 85.47 kB / 372.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.4886, allocations: 30.05 kB / 372.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.4886, allocations: 0.5625 kB / 372.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.4887, allocations: 321.5 kB / 372.8 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.4887, allocations: 15.67 kB / 372.8 MB, free: 18.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.4888, allocations: 26.09 kB / 372.8 MB, free: 18.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.4891, allocations: 205.8 kB / 373 MB, free: 18.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4891, allocations: 1.094 kB / 373 MB, free: 18.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001679/0.4893, allocations: 76 kB / 373.1 MB, free: 18.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4893, allocations: 5.062 kB / 373.1 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4893, allocations: 4.844 kB / 373.1 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4894, allocations: 1.375 kB / 373.1 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4896, allocations: 23.22 kB / 373.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4896, allocations: 3.703 kB / 373.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.4896, allocations: 12.56 kB / 373.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4897, allocations: 2.281 kB / 373.2 MB, free: 18.18 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: $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.0001291/0.4898, allocations: 108.1 kB / 373.3 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.4898, allocations: 7.141 kB / 373.3 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.4899, allocations: 13.45 kB / 373.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4899, allocations: 1.469 kB / 373.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.4899, allocations: 3.953 kB / 373.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4899, allocations: 3.359 kB / 373.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.4905, allocations: 363.2 kB / 373.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4905, allocations: 1.062 kB / 373.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.4906, allocations: 12.83 kB / 373.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.4908, allocations: 22.62 kB / 373.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4908, allocations: 2.312 kB / 373.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.4924, allocations: 1.285 MB / 375 MB, free: 32.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4925, allocations: 1.156 kB / 375 MB, free: 32.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.4929, allocations: 266 kB / 375.2 MB, free: 32.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.4929, allocations: 84.16 kB / 375.3 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.4929, allocations: 2.984 kB / 375.3 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.493, allocations: 4.406 kB / 375.3 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.4931, allocations: 6.891 kB / 375.3 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4931, allocations: 4.406 kB / 375.3 MB, free: 32.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.4931, allocations: 81.25 kB / 375.4 MB, free: 32.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4932, allocations: 4.062 kB / 375.4 MB, free: 32.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003309/0.4935, allocations: 8.766 kB / 375.4 MB, free: 32.04 MB / 330.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.0007516/0.4943, allocations: 1.006 MB / 376.4 MB, free: 31.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.4945, allocations: 39.5 kB / 376.5 MB, free: 31.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4945, allocations: 0 / 376.5 MB, free: 31.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.4948, allocations: 136.8 kB / 376.6 MB, free: 30.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.495, allocations: 12.28 kB / 376.6 MB, free: 30.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.4955, allocations: 163.1 kB / 376.8 MB, free: 30.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4958, allocations: 0.6885 MB / 377.5 MB, free: 30.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.013e-05/0.4959, allocations: 3.656 kB / 377.5 MB, free: 30.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.4959, allocations: 15.34 kB / 377.5 MB, free: 30.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4959, allocations: 4 kB / 377.5 MB, free: 30.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.5197, allocations: 1.406 MB / 378.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.5199, allocations: 248.2 kB / 379.1 MB, free: 29.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.714, allocations: 0 / 379.1 MB, free: 29.47 MB / 330.7 MB