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.953/1.953, allocations: 195.5 MB / 207.6 MB, free: 2.781 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.105e-05, allocations: 4 kB / 255.3 MB, free: 1.984 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 44.64 MB / 299.9 MB, free: 5.281 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.5063, allocations: 69.99 MB / 369.9 MB, free: 21.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5066, allocations: 63.06 kB / 370 MB, free: 21.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001827/0.5085, allocations: 0.5797 MB / 370.6 MB, free: 20.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5085, allocations: 1.062 kB / 370.6 MB, free: 20.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.5086, allocations: 4 kB / 370.6 MB, free: 20.91 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.0003015/0.5089, allocations: 329 kB / 370.9 MB, free: 20.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.5089, allocations: 9.375 kB / 370.9 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.509, allocations: 36.34 kB / 370.9 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.509, allocations: 7.141 kB / 370.9 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.5091, allocations: 165.6 kB / 371.1 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5092, allocations: 2.125 kB / 371.1 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.5092, allocations: 7.375 kB / 371.1 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.5093, allocations: 45.64 kB / 371.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5094, allocations: 4.5 kB / 371.1 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5094, allocations: 1.203 kB / 371.1 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5094, allocations: 1.031 kB / 371.2 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.5095, allocations: 14.14 kB / 371.2 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.5098, allocations: 244.3 kB / 371.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.51, allocations: 47.33 kB / 371.4 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.51, allocations: 25.11 kB / 371.5 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.5101, allocations: 6.766 kB / 371.5 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5101, allocations: 32.48 kB / 371.5 MB, free: 19.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.5101, allocations: 0 / 371.5 MB, free: 19.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000873/0.511, allocations: 498.3 kB / 372 MB, free: 19.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.5111, allocations: 57.66 kB / 372.1 MB, free: 19.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.5111, allocations: 88.97 kB / 372.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.5112, allocations: 34.36 kB / 372.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.5112, allocations: 81.44 kB / 372.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.5112, allocations: 29.86 kB / 372.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.5113, allocations: 4.188 kB / 372.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.5113, allocations: 315.7 kB / 372.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.5114, allocations: 16.84 kB / 372.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.5115, allocations: 30.44 kB / 372.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.5118, allocations: 203.8 kB / 372.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5118, allocations: 0.5 kB / 372.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002631/0.5121, allocations: 98.31 kB / 372.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5121, allocations: 6.078 kB / 372.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5121, allocations: 1.031 kB / 372.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.5123, allocations: 21.55 kB / 373 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5124, allocations: 12.56 kB / 373 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.5135, allocations: 1.286 MB / 374.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.5135, allocations: 5.188 kB / 374.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.5135, allocations: 2.406 kB / 374.3 MB, free: 17.35 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.0001184/0.5137, allocations: 111.9 kB / 374.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.5137, allocations: 7.312 kB / 374.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.5138, allocations: 9.453 kB / 374.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5138, allocations: 1.062 kB / 374.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5138, allocations: 1.938 kB / 374.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5138, allocations: 0.7031 kB / 374.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.5144, allocations: 370.1 kB / 374.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5144, allocations: 3.5 kB / 374.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.5145, allocations: 7.453 kB / 374.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.5146, allocations: 23.16 kB / 374.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5147, allocations: 2.438 kB / 374.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.5164, allocations: 1.288 MB / 376.1 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5164, allocations: 5.734 kB / 376.1 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.5168, allocations: 264.2 kB / 376.3 MB, free: 31.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.5168, allocations: 80.52 kB / 376.4 MB, free: 31.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.5169, allocations: 6.641 kB / 376.4 MB, free: 31.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.517, allocations: 4.812 kB / 376.4 MB, free: 31.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.517, allocations: 6.797 kB / 376.4 MB, free: 31.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.517, allocations: 4.188 kB / 376.4 MB, free: 31.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.233e-05/0.5171, allocations: 81.39 kB / 376.5 MB, free: 31.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5171, allocations: 0 / 376.5 MB, free: 31.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.5175, allocations: 14.14 kB / 376.5 MB, free: 31.2 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.000853/0.5184, allocations: 1.01 MB / 377.6 MB, free: 30.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004003/0.5188, allocations: 147 kB / 377.7 MB, free: 30.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5188, allocations: 0.9688 kB / 377.7 MB, free: 30.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.5191, allocations: 136.8 kB / 377.8 MB, free: 30.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.5193, allocations: 2.422 kB / 377.8 MB, free: 30.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.5198, allocations: 174.2 kB / 378 MB, free: 29.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5201, allocations: 0.6887 MB / 378.7 MB, free: 29.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.678e-05/0.5201, allocations: 10.3 kB / 378.7 MB, free: 29.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.5202, allocations: 14.25 kB / 378.7 MB, free: 29.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5202, allocations: 1.219 kB / 378.7 MB, free: 29.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.5433, allocations: 1.5 MB / 380.2 MB, free: 28.85 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.5437, allocations: 230.7 kB / 380.4 MB, free: 28.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.68, allocations: 0 / 380.4 MB, free: 28.55 MB / 330.7 MB