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.937/1.937, allocations: 195.5 MB / 207.6 MB, free: 2.773 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.633e-05, allocations: 4 kB / 255.2 MB, free: 2 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09745, allocations: 44.67 MB / 299.9 MB, free: 5.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5243, allocations: 69.96 MB / 369.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5246, allocations: 63.91 kB / 369.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002615/0.5272, allocations: 0.5695 MB / 370.5 MB, free: 20.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5273, allocations: 1.156 kB / 370.5 MB, free: 20.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.5273, allocations: 0 / 370.5 MB, free: 20.88 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.0003624/0.5277, allocations: 328.6 kB / 370.8 MB, free: 20.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/0.5278, allocations: 10.36 kB / 370.8 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.5278, allocations: 37 kB / 370.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.5279, allocations: 5.906 kB / 370.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.528, allocations: 167.4 kB / 371 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.5281, allocations: 5.406 kB / 371 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.5281, allocations: 7.812 kB / 371.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.5283, allocations: 45.83 kB / 371.1 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5284, allocations: 0.5 kB / 371.1 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.5284, allocations: 1.688 kB / 371.1 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5284, allocations: 0.5312 kB / 371.1 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.5285, allocations: 16.06 kB / 371.1 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006221/0.5292, allocations: 293.1 kB / 371.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.5294, allocations: 45.77 kB / 371.4 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.5295, allocations: 14.05 kB / 371.5 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.5295, allocations: 0.8125 kB / 371.5 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.5295, allocations: 31.73 kB / 371.5 MB, free: 19.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.5296, allocations: 4.625 kB / 371.5 MB, free: 19.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004856/0.5301, allocations: 69.3 kB / 371.6 MB, free: 19.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.5301, allocations: 56.52 kB / 371.6 MB, free: 19.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.5303, allocations: 89.94 kB / 371.7 MB, free: 19.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5303, allocations: 26.2 kB / 371.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.5304, allocations: 90.28 kB / 371.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.5304, allocations: 11.19 kB / 371.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.5305, allocations: 4.125 kB / 371.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.5306, allocations: 319.2 kB / 372.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.5306, allocations: 8.281 kB / 372.2 MB, free: 19.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.5307, allocations: 23.34 kB / 372.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.807e-05/0.5308, allocations: 8.359 kB / 372.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5309, allocations: 0.5312 kB / 372.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003717/0.5313, allocations: 76.02 kB / 372.3 MB, free: 19.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.5313, allocations: 4.938 kB / 372.3 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.5313, allocations: 4.812 kB / 372.3 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.5316, allocations: 18.78 kB / 372.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.5317, allocations: 6.828 kB / 372.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.5331, allocations: 1.253 MB / 373.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.5332, allocations: 1.703 kB / 373.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5332, allocations: 6.219 kB / 373.6 MB, free: 17.89 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 8.899e-05/0.5333, allocations: 104 kB / 373.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.5334, allocations: 1.219 kB / 373.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.5334, allocations: 11.88 kB / 373.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5335, allocations: 10.25 kB / 373.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5335, allocations: 0.5 kB / 373.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5335, allocations: 1.188 kB / 373.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.5337, allocations: 160.9 kB / 373.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5338, allocations: 0.625 kB / 373.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.5339, allocations: 7.406 kB / 373.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.534, allocations: 22.36 kB / 373.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.534, allocations: 5.859 kB / 373.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.5359, allocations: 1.248 MB / 375.1 MB, free: 32.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.5359, allocations: 0 / 375.1 MB, free: 32.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.5362, allocations: 173.2 kB / 375.3 MB, free: 32.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.5363, allocations: 83.23 kB / 375.4 MB, free: 32.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.5363, allocations: 6.062 kB / 375.4 MB, free: 32.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.5364, allocations: 0 / 375.4 MB, free: 32.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.5364, allocations: 15.77 kB / 375.4 MB, free: 32.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.5364, allocations: 1.938 kB / 375.4 MB, free: 32.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.5365, allocations: 78.62 kB / 375.5 MB, free: 31.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5365, allocations: 1.438 kB / 375.5 MB, free: 31.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.5368, allocations: 9.375 kB / 375.5 MB, free: 31.96 MB / 330.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.0005708/0.5374, allocations: 0.7033 MB / 376.2 MB, free: 31.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.5377, allocations: 146.4 kB / 376.3 MB, free: 31.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5378, allocations: 0 / 376.3 MB, free: 31.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.538, allocations: 123.8 kB / 376.5 MB, free: 31.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.5381, allocations: 4.469 kB / 376.5 MB, free: 31.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.5385, allocations: 134.7 kB / 376.6 MB, free: 30.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.5388, allocations: 0.6839 MB / 377.3 MB, free: 30.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.5389, allocations: 5.703 kB / 377.3 MB, free: 30.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.5389, allocations: 12.62 kB / 377.3 MB, free: 30.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5389, allocations: 0.9688 kB / 377.3 MB, free: 30.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.5576, allocations: 1.336 MB / 378.6 MB, free: 29.92 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.558, allocations: 235.5 kB / 378.9 MB, free: 29.6 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.686, allocations: 3.906 kB / 378.9 MB, free: 29.59 MB / 330.7 MB