Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 2.141/2.141, allocations: 226.3 MB / 238.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.486e-05, allocations: 0 / 292 MB, free: 7.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 50.57 MB / 342.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5867, allocations: 75.3 MB / 417.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.587, allocations: 61.09 kB / 417.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001951/0.589, allocations: 0.602 MB / 418.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5891, allocations: 0 / 418.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.5891, allocations: 0.625 kB / 418.6 MB, free: 1.312 MB / 330.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.0003747/0.5895, allocations: 323.5 kB / 418.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5896, allocations: 12.03 kB / 418.9 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.5896, allocations: 38.62 kB / 418.9 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.5897, allocations: 7.859 kB / 418.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.5898, allocations: 163.1 kB / 419.1 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.5899, allocations: 4 kB / 419.1 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.5899, allocations: 10.66 kB / 419.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.5901, allocations: 45.75 kB / 419.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5901, allocations: 0 / 419.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5901, allocations: 3.5 kB / 419.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.5901, allocations: 7.938 kB / 419.2 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.5902, allocations: 12 kB / 419.2 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.5906, allocations: 248.1 kB / 419.4 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.5907, allocations: 50.31 kB / 419.5 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.5908, allocations: 20.61 kB / 419.5 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.5908, allocations: 4 kB / 419.5 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.5909, allocations: 34.56 kB / 419.5 MB, free: 224 kB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.5909, allocations: 0 / 419.5 MB, free: 224 kB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009279/0.5918, allocations: 0.4931 MB / 420 MB, free: 15.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.5919, allocations: 51.41 kB / 420.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.592, allocations: 96.75 kB / 420.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.592, allocations: 29.7 kB / 420.2 MB, free: 15.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.5921, allocations: 83.7 kB / 420.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.5921, allocations: 30.73 kB / 420.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.5921, allocations: 0 / 420.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5923, allocations: 318.4 kB / 420.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.5923, allocations: 11.25 kB / 420.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.5924, allocations: 31.91 kB / 420.6 MB, free: 15 MB / 346.7 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.5928, allocations: 202 kB / 420.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5928, allocations: 4 kB / 420.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002662/0.5931, allocations: 96.19 kB / 420.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5931, allocations: 7.984 kB / 420.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5931, allocations: 0 / 420.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.5933, allocations: 20.42 kB / 421 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5934, allocations: 11.98 kB / 421 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.5948, allocations: 1.294 MB / 422.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.5948, allocations: 3.625 kB / 422.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.5949, allocations: 0 / 422.3 MB, free: 13.26 MB / 346.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0001206/0.595, allocations: 116.6 kB / 422.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.595, allocations: 4 kB / 422.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.5951, allocations: 7.406 kB / 422.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5951, allocations: 0 / 422.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5951, allocations: 0 / 422.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5951, allocations: 3.984 kB / 422.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.5957, allocations: 371.3 kB / 422.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5958, allocations: 0 / 422.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.5959, allocations: 11.98 kB / 422.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.596, allocations: 24.8 kB / 422.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.596, allocations: 3 kB / 422.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.5973, allocations: 1.283 MB / 424.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5973, allocations: 0 / 424.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.5977, allocations: 259.3 kB / 424.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.5978, allocations: 80.44 kB / 424.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.5978, allocations: 8.047 kB / 424.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.5979, allocations: 4 kB / 424.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.5979, allocations: 19.25 kB / 424.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.5979, allocations: 4 kB / 424.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.928e-05/0.598, allocations: 75.28 kB / 424.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.598, allocations: 0 / 424.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.5984, allocations: 14.94 kB / 424.5 MB, free: 10.82 MB / 346.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.0007836/0.5992, allocations: 1.001 MB / 425.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.5996, allocations: 151.7 kB / 425.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5996, allocations: 0 / 425.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.5998, allocations: 137 kB / 425.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.6, allocations: 15.25 kB / 425.8 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.6005, allocations: 173.4 kB / 426 MB, free: 9.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6009, allocations: 0.6926 MB / 426.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.485e-05/0.6009, allocations: 4.188 kB / 426.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.6009, allocations: 14.88 kB / 426.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6009, allocations: 0 / 426.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.622, allocations: 1.505 MB / 428.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003806/0.6224, allocations: 243.8 kB / 428.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.009, allocations: 4 kB / 428.5 MB, free: 6.945 MB / 346.7 MB