Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.966/1.966, allocations: 195.4 MB / 209.5 MB, free: 8.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/3.985e-05, allocations: 4 kB / 257.9 MB, free: 7.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3206, allocations: 44.66 MB / 302.6 MB, free: 12.44 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4485, allocations: 71.1 MB / 373.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4489, allocations: 67.95 kB / 373.8 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.4605, allocations: 2.789 MB / 376.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4606, allocations: 0 / 376.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4606, allocations: 4 kB / 376.6 MB, free: 2.762 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000517/0.4611, allocations: 375.3 kB / 376.9 MB, free: 2.344 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4612, allocations: 15.97 kB / 376.9 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.863e-05/0.4613, allocations: 38.56 kB / 377 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.4613, allocations: 15.91 kB / 377 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.4615, allocations: 190.7 kB / 377.2 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.4615, allocations: 4.188 kB / 377.2 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.4616, allocations: 8 kB / 377.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.4619, allocations: 93.97 kB / 377.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4619, allocations: 0 / 377.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.4619, allocations: 4 kB / 377.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4619, allocations: 0 / 377.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.4621, allocations: 56.53 kB / 377.4 MB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.4629, allocations: 385.4 kB / 377.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.4632, allocations: 98.55 kB / 377.8 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.4632, allocations: 7.938 kB / 377.8 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.4632, allocations: 34.56 kB / 377.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.4633, allocations: 0 / 377.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001556/0.4648, allocations: 0.6736 MB / 378.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.4649, allocations: 55.41 kB / 378.6 MB, free: 468 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.465, allocations: 114.1 kB / 378.7 MB, free: 348 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.4651, allocations: 29.7 kB / 378.7 MB, free: 312 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.4652, allocations: 100.3 kB / 378.8 MB, free: 204 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.4653, allocations: 59.19 kB / 378.9 MB, free: 144 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.4653, allocations: 4 kB / 378.9 MB, free: 140 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4655, allocations: 326.8 kB / 379.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.4656, allocations: 32.17 kB / 379.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4657, allocations: 59.11 kB / 379.3 MB, free: 15.71 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.4667, allocations: 318.1 kB / 379.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4667, allocations: 0 / 379.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004357/0.4671, allocations: 166.3 kB / 379.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4672, allocations: 4 kB / 379.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4672, allocations: 7.938 kB / 379.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.4674, allocations: 24.84 kB / 379.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4676, allocations: 31.88 kB / 379.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.4693, allocations: 1.453 MB / 381.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.4695, allocations: 4 kB / 381.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.4695, allocations: 8.031 kB / 381.3 MB, free: 13.52 MB / 330.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.s = $START.mass1.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.4697, allocations: 129.9 kB / 381.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.4698, allocations: 15.8 kB / 381.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.4698, allocations: 16.84 kB / 381.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4698, allocations: 0 / 381.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4699, allocations: 0 / 381.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4699, allocations: 4 kB / 381.5 MB, free: 13.35 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4709, allocations: 0.5909 MB / 382.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.4709, allocations: 4 kB / 382.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.4712, allocations: 27.98 kB / 382.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.4713, allocations: 16.84 kB / 382.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.4714, allocations: 8 kB / 382.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.4725, allocations: 1.276 MB / 383.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4726, allocations: 3.953 kB / 383.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.4731, allocations: 346.7 kB / 383.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.4732, allocations: 81.02 kB / 383.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.4733, allocations: 4 kB / 383.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.4734, allocations: 8.062 kB / 383.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.4735, allocations: 15.92 kB / 383.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4735, allocations: 4 kB / 383.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.034e-05/0.4736, allocations: 95.7 kB / 383.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4736, allocations: 0 / 383.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004701/0.4741, allocations: 32 kB / 384 MB, free: 10.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0009348/0.475, allocations: 1.076 MB / 385 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.4756, allocations: 242.4 kB / 385.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4757, allocations: 0 / 385.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.4759, allocations: 166.6 kB / 385.4 MB, free: 9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.4763, allocations: 20.5 kB / 385.5 MB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.4784, allocations: 1.211 MB / 386.7 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4787, allocations: 0.7163 MB / 387.4 MB, free: 6.957 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.519e-05/0.4788, allocations: 12.66 kB / 387.4 MB, free: 6.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.4789, allocations: 27.42 kB / 387.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4789, allocations: 0 / 387.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.5046, allocations: 2.655 MB / 390.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000386/0.5051, allocations: 254.4 kB / 390.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.769, allocations: 0 / 390.3 MB, free: 3.953 MB / 330.7 MB