Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.92/1.92, allocations: 195.5 MB / 207.6 MB, free: 2.863 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.746e-05, allocations: 4 kB / 255.2 MB, free: 2.012 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 44.66 MB / 299.9 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.5312, allocations: 69.98 MB / 369.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.5314, allocations: 61.48 kB / 369.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001713/0.5331, allocations: 0.5742 MB / 370.5 MB, free: 20.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5332, allocations: 1.281 kB / 370.5 MB, free: 20.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.5332, allocations: 0 / 370.5 MB, free: 20.79 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.0002772/0.5335, allocations: 329.9 kB / 370.8 MB, free: 20.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5335, allocations: 14.78 kB / 370.9 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.5336, allocations: 35.77 kB / 370.9 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.5336, allocations: 5.688 kB / 370.9 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.959e-05/0.5337, allocations: 171.7 kB / 371.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5337, allocations: 1.906 kB / 371.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.5338, allocations: 7.172 kB / 371.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.5339, allocations: 42.12 kB / 371.1 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5339, allocations: 4.406 kB / 371.1 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.534, allocations: 0.5 kB / 371.1 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.534, allocations: 1 kB / 371.1 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.439e-05/0.5341, allocations: 17.08 kB / 371.1 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.5343, allocations: 244.7 kB / 371.4 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.5345, allocations: 59.56 kB / 371.4 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.5346, allocations: 17.8 kB / 371.5 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.5346, allocations: 0.5312 kB / 371.5 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.5346, allocations: 32.28 kB / 371.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.5346, allocations: 0.5312 kB / 371.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008356/0.5355, allocations: 0.5011 MB / 372 MB, free: 19.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.5355, allocations: 53.28 kB / 372 MB, free: 19.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.5356, allocations: 89.64 kB / 372.1 MB, free: 19.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.5356, allocations: 29.61 kB / 372.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.5356, allocations: 82.14 kB / 372.2 MB, free: 19.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.5357, allocations: 28.61 kB / 372.3 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.5357, allocations: 8.562 kB / 372.3 MB, free: 19.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.5358, allocations: 314.5 kB / 372.6 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.5358, allocations: 18.06 kB / 372.6 MB, free: 18.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.5359, allocations: 27.3 kB / 372.6 MB, free: 18.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.5362, allocations: 201.2 kB / 372.8 MB, free: 18.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5362, allocations: 0 / 372.8 MB, free: 18.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002535/0.5365, allocations: 101.3 kB / 372.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5365, allocations: 6.016 kB / 372.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5365, allocations: 0.5 kB / 372.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.5367, allocations: 22.27 kB / 372.9 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.5368, allocations: 15.86 kB / 373 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/0.5379, allocations: 1.289 MB / 374.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.5379, allocations: 0.9375 kB / 374.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5379, allocations: 4.5 kB / 374.3 MB, free: 17.23 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: 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.0001086/0.5381, allocations: 107.2 kB / 374.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.5381, allocations: 10.28 kB / 374.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.5381, allocations: 13.56 kB / 374.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5382, allocations: 1.688 kB / 374.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5382, allocations: 1.812 kB / 374.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5382, allocations: 0.7031 kB / 374.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.5387, allocations: 366.8 kB / 374.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5387, allocations: 9.406 kB / 374.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.5388, allocations: 7.922 kB / 374.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.5389, allocations: 28.02 kB / 374.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.539, allocations: 1.906 kB / 374.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.5406, allocations: 1.285 MB / 376.1 MB, free: 31.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5406, allocations: 8.391 kB / 376.1 MB, free: 31.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.541, allocations: 260.4 kB / 376.3 MB, free: 31.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.5411, allocations: 83.16 kB / 376.4 MB, free: 31.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.5411, allocations: 6.203 kB / 376.4 MB, free: 31.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.5412, allocations: 1.094 kB / 376.4 MB, free: 31.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.5412, allocations: 11.16 kB / 376.4 MB, free: 31.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.5412, allocations: 3.641 kB / 376.4 MB, free: 31.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.575e-05/0.5413, allocations: 82.88 kB / 376.5 MB, free: 31.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5413, allocations: 4 kB / 376.5 MB, free: 31.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.5416, allocations: 13.59 kB / 376.5 MB, free: 31.07 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.0007315/0.5424, allocations: 0.9918 MB / 377.5 MB, free: 30.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.5428, allocations: 161.9 kB / 377.7 MB, free: 30.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5428, allocations: 0 / 377.7 MB, free: 30.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.5431, allocations: 150.5 kB / 377.8 MB, free: 29.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.5433, allocations: 3.906 kB / 377.8 MB, free: 29.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.5437, allocations: 174.9 kB / 378 MB, free: 29.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.544, allocations: 0.6877 MB / 378.7 MB, free: 29.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.613e-05/0.5441, allocations: 11.41 kB / 378.7 MB, free: 29.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.5441, allocations: 11.45 kB / 378.7 MB, free: 29.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5441, allocations: 0 / 378.7 MB, free: 29.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.5682, allocations: 1.511 MB / 380.2 MB, free: 28.71 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.5685, allocations: 232 kB / 380.5 MB, free: 28.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.739, allocations: 1.125 kB / 380.5 MB, free: 28.41 MB / 330.7 MB