Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.932/1.932, allocations: 195.5 MB / 202.7 MB, free: 6.332 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.112e-05, allocations: 0.9688 kB / 249.7 MB, free: 5.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.09982, allocations: 44.66 MB / 294.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5127, allocations: 69.3 MB / 363.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.513, allocations: 64.72 kB / 363.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002158/0.5152, allocations: 0.5685 MB / 364.3 MB, free: 26.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5152, allocations: 0 / 364.3 MB, free: 26.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.5152, allocations: 1.375 kB / 364.3 MB, free: 26.73 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.0002919/0.5155, allocations: 331.4 kB / 364.6 MB, free: 26.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.5156, allocations: 8.656 kB / 364.7 MB, free: 26.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.5156, allocations: 6.688 kB / 364.7 MB, free: 26.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5158, allocations: 170.2 kB / 364.8 MB, free: 26.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5158, allocations: 0 / 364.8 MB, free: 26.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.5158, allocations: 2.938 kB / 364.8 MB, free: 26.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.404e-05/0.5159, allocations: 13.23 kB / 364.8 MB, free: 26.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.173e-05/0.516, allocations: 43.98 kB / 364.9 MB, free: 26.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.516, allocations: 5.297 kB / 364.9 MB, free: 26.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5161, allocations: 5.312 kB / 364.9 MB, free: 26.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5161, allocations: 0 / 364.9 MB, free: 26.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.5165, allocations: 266.8 kB / 365.2 MB, free: 25.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.5166, allocations: 35.36 kB / 365.2 MB, free: 25.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.5166, allocations: 12.77 kB / 365.2 MB, free: 25.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.5166, allocations: 1.219 kB / 365.2 MB, free: 25.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.5167, allocations: 38.5 kB / 365.2 MB, free: 25.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.5167, allocations: 1.688 kB / 365.2 MB, free: 25.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002706/0.517, allocations: 58.25 kB / 365.3 MB, free: 25.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.517, allocations: 55.97 kB / 365.4 MB, free: 25.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/0.5171, allocations: 93.66 kB / 365.4 MB, free: 25.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.5171, allocations: 25.7 kB / 365.5 MB, free: 25.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.5171, allocations: 87.91 kB / 365.6 MB, free: 25.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.5172, allocations: 13.03 kB / 365.6 MB, free: 25.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.5172, allocations: 6.5 kB / 365.6 MB, free: 25.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.5173, allocations: 316.4 kB / 365.9 MB, free: 25.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.5173, allocations: 8.719 kB / 365.9 MB, free: 25.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.5173, allocations: 25.16 kB / 365.9 MB, free: 25.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.5174, allocations: 9.781 kB / 365.9 MB, free: 25.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5174, allocations: 1.25 kB / 365.9 MB, free: 25.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001611/0.5176, allocations: 63.45 kB / 366 MB, free: 25.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5176, allocations: 4.75 kB / 366 MB, free: 25.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5176, allocations: 3.25 kB / 366 MB, free: 25.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.5178, allocations: 21.7 kB / 366 MB, free: 25.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.5179, allocations: 8.094 kB / 366 MB, free: 25.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.519, allocations: 1.194 MB / 367.2 MB, free: 23.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.5191, allocations: 8.516 kB / 367.2 MB, free: 23.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.5191, allocations: 6.422 kB / 367.2 MB, free: 23.87 MB / 314.7 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.574e-05/0.5192, allocations: 109.9 kB / 367.3 MB, free: 23.76 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001724/0.5194, allocations: 70.59 kB / 367.4 MB, free: 23.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.5194, allocations: 5.172 kB / 367.4 MB, free: 23.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.5195, allocations: 9.812 kB / 367.4 MB, free: 23.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5195, allocations: 1.5 kB / 367.4 MB, free: 23.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.5195, allocations: 0 / 367.4 MB, free: 23.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5195, allocations: 1.469 kB / 367.4 MB, free: 23.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.5197, allocations: 137.4 kB / 367.6 MB, free: 23.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5197, allocations: 128 / 367.6 MB, free: 23.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.5198, allocations: 9.312 kB / 367.6 MB, free: 23.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-05/0.5199, allocations: 14 kB / 367.6 MB, free: 23.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.5199, allocations: 4 kB / 367.6 MB, free: 23.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.521, allocations: 1.208 MB / 368.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.521, allocations: 0 / 368.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.5212, allocations: 172.1 kB / 369 MB, free: 22.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.5213, allocations: 77.11 kB / 369 MB, free: 22.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.5213, allocations: 5.109 kB / 369 MB, free: 22.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.5214, allocations: 3.422 kB / 369.1 MB, free: 22.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.5215, allocations: 2.562 kB / 369.1 MB, free: 22.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.5215, allocations: 1.25 kB / 369.1 MB, free: 22.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.5215, allocations: 82.31 kB / 369.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5215, allocations: 0 / 369.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003286/0.5219, allocations: 5.844 kB / 369.1 MB, free: 21.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0005568/0.5224, allocations: 0.7069 MB / 369.8 MB, free: 21.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.5228, allocations: 136.1 kB / 370 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5228, allocations: 0 / 370 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.523, allocations: 119 kB / 370.1 MB, free: 21.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.5232, allocations: 0 / 370.1 MB, free: 21.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.5236, allocations: 136.7 kB / 370.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.5239, allocations: 0.6919 MB / 370.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.098e-05/0.524, allocations: 3.469 kB / 370.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.524, allocations: 7.438 kB / 370.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.524, allocations: 3.938 kB / 370.9 MB, free: 20.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.556, allocations: 0.9155 MB / 371.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002958/0.5564, allocations: 217.7 kB / 372.1 MB, free: 19.92 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.714, allocations: 3.094 kB / 372.1 MB, free: 19.92 MB / 314.7 MB