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.955/1.955, allocations: 195.5 MB / 202.7 MB, free: 6.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.212e-05, allocations: 4.109 kB / 249.7 MB, free: 5.152 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09368, allocations: 44.66 MB / 294.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.4739, allocations: 70.37 MB / 364.8 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4742, allocations: 75.11 kB / 364.8 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01112/0.4853, allocations: 2.759 MB / 367.6 MB, free: 26.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4854, allocations: 0 / 367.6 MB, free: 26.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.4854, allocations: 0 / 367.6 MB, free: 26.49 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.0004121/0.4858, allocations: 375.4 kB / 368 MB, free: 26.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4859, allocations: 8.25 kB / 368 MB, free: 26.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.4859, allocations: 10.78 kB / 368 MB, free: 26.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4861, allocations: 181.9 kB / 368.1 MB, free: 25.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4861, allocations: 2.75 kB / 368.2 MB, free: 25.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.4861, allocations: 13.44 kB / 368.2 MB, free: 25.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001795/0.4863, allocations: 50 kB / 368.2 MB, free: 25.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.4865, allocations: 77.44 kB / 368.3 MB, free: 25.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4865, allocations: 0 / 368.3 MB, free: 25.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4866, allocations: 1.375 kB / 368.3 MB, free: 25.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4866, allocations: 1.375 kB / 368.3 MB, free: 25.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.4872, allocations: 350.2 kB / 368.6 MB, free: 25.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.4874, allocations: 91.03 kB / 368.7 MB, free: 25.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.4875, allocations: 32.89 kB / 368.8 MB, free: 25.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.4875, allocations: 1.75 kB / 368.8 MB, free: 25.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.4875, allocations: 36.16 kB / 368.8 MB, free: 25.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.324e-06/0.4876, allocations: 7.984 kB / 368.8 MB, free: 25.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001175/0.4887, allocations: 0.6177 MB / 369.4 MB, free: 25.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.4888, allocations: 53.91 kB / 369.5 MB, free: 25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.4889, allocations: 100.9 kB / 369.6 MB, free: 24.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4889, allocations: 25.7 kB / 369.6 MB, free: 24.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.489, allocations: 113.2 kB / 369.7 MB, free: 24.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.489, allocations: 54.91 kB / 369.8 MB, free: 24.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.489, allocations: 3.938 kB / 369.8 MB, free: 24.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4892, allocations: 318.5 kB / 370.1 MB, free: 24.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.4893, allocations: 28.31 kB / 370.1 MB, free: 24.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.4894, allocations: 59.45 kB / 370.2 MB, free: 24.4 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.0007789/0.4902, allocations: 310.2 kB / 370.5 MB, free: 24.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4902, allocations: 0 / 370.5 MB, free: 24.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003286/0.4905, allocations: 142.9 kB / 370.6 MB, free: 24.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4905, allocations: 11.53 kB / 370.6 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4906, allocations: 0 / 370.6 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.4907, allocations: 31.48 kB / 370.6 MB, free: 24.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.4909, allocations: 24.89 kB / 370.7 MB, free: 24.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.4922, allocations: 1.387 MB / 372.1 MB, free: 22.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.4924, allocations: 0 / 372.1 MB, free: 22.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.4924, allocations: 3.844 kB / 372.1 MB, free: 22.85 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.0001236/0.4925, allocations: 110.4 kB / 372.2 MB, free: 22.74 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003115/0.4928, allocations: 141.1 kB / 372.3 MB, free: 22.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.4929, allocations: 9.188 kB / 372.3 MB, free: 22.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.4929, allocations: 13.34 kB / 372.3 MB, free: 22.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4929, allocations: 2.328 kB / 372.3 MB, free: 22.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.493, allocations: 0 / 372.3 MB, free: 22.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.493, allocations: 8.406 kB / 372.3 MB, free: 22.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008074/0.4938, allocations: 0.5446 MB / 372.9 MB, free: 22.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4938, allocations: 4 kB / 372.9 MB, free: 22.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.4941, allocations: 33.58 kB / 372.9 MB, free: 22.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.4942, allocations: 20.08 kB / 372.9 MB, free: 22.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4942, allocations: 5.516 kB / 372.9 MB, free: 22.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009907/0.4952, allocations: 1.219 MB / 374.2 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4952, allocations: 2.312 kB / 374.2 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.4957, allocations: 321.5 kB / 374.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.4957, allocations: 87.25 kB / 374.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.4958, allocations: 1.562 kB / 374.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.4959, allocations: 5.531 kB / 374.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.496, allocations: 10.75 kB / 374.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.496, allocations: 10.86 kB / 374.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.4961, allocations: 93.34 kB / 374.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4961, allocations: 0 / 374.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.4966, allocations: 25.53 kB / 374.7 MB, free: 20.59 MB / 314.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.0008943/0.4975, allocations: 1.058 MB / 375.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005274/0.498, allocations: 204.2 kB / 376 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4981, allocations: 0 / 376 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.4983, allocations: 155.4 kB / 376.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.4987, allocations: 15.52 kB / 376.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.4996, allocations: 333.8 kB / 376.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.4999, allocations: 0.7173 MB / 377.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.427e-05/0.5, allocations: 7.266 kB / 377.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.5001, allocations: 31.81 kB / 377.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5001, allocations: 0 / 377.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/0.5377, allocations: 2.154 MB / 379.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/0.5381, allocations: 203 kB / 379.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.773, allocations: 7.094 kB / 379.6 MB, free: 18.03 MB / 314.7 MB