Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 2.019/2.019, allocations: 195.4 MB / 209.5 MB, free: 7.379 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.238e-05, allocations: 4 kB / 257.9 MB, free: 6.809 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3075, allocations: 44.67 MB / 302.6 MB, free: 12.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.4366, allocations: 71.07 MB / 373.7 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4369, allocations: 67.95 kB / 373.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00959/0.4465, allocations: 2.292 MB / 376 MB, free: 3.074 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4466, allocations: 0 / 376 MB, free: 3.074 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4466, allocations: 4 kB / 376 MB, free: 3.07 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.0005406/0.4471, allocations: 379.3 kB / 376.4 MB, free: 2.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4472, allocations: 8.031 kB / 376.4 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.872e-05/0.4473, allocations: 46.55 kB / 376.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.4473, allocations: 11.84 kB / 376.5 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.4475, allocations: 178.9 kB / 376.7 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.4475, allocations: 4.188 kB / 376.7 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.4476, allocations: 12 kB / 376.7 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.4479, allocations: 99.09 kB / 376.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4479, allocations: 0 / 376.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4479, allocations: 0 / 376.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.4479, allocations: 4 kB / 376.8 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.4481, allocations: 64.45 kB / 376.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007829/0.4489, allocations: 389.4 kB / 377.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.4492, allocations: 98.55 kB / 377.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.4492, allocations: 0 / 377.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.4493, allocations: 38.55 kB / 377.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.577e-06/0.4493, allocations: 0 / 377.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001583/0.4509, allocations: 0.6911 MB / 378 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4509, allocations: 51.41 kB / 378.1 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.4511, allocations: 113 kB / 378.2 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4511, allocations: 29.7 kB / 378.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.4512, allocations: 100.3 kB / 378.3 MB, free: 500 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.4513, allocations: 51.2 kB / 378.4 MB, free: 448 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.4513, allocations: 8 kB / 378.4 MB, free: 440 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4514, allocations: 326.8 kB / 378.7 MB, free: 104 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.4515, allocations: 24 kB / 378.7 MB, free: 80 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.4517, allocations: 62.55 kB / 378.8 MB, free: 8 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4518, allocations: 36.05 kB / 378.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4518, allocations: 0 / 378.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00042/0.4523, allocations: 170.2 kB / 379 MB, free: 15.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4523, allocations: 5.406 kB / 379 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4523, allocations: 7.953 kB / 379 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.4525, allocations: 24.84 kB / 379 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.4527, allocations: 23.98 kB / 379 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.4544, allocations: 1.46 MB / 380.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4546, allocations: 7.969 kB / 380.5 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.4546, allocations: 8 kB / 380.5 MB, free: 14.12 MB / 330.7 MB 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.0001425/0.4548, allocations: 121.8 kB / 380.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.4548, allocations: 11.97 kB / 380.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.4549, allocations: 16.84 kB / 380.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4549, allocations: 0 / 380.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4549, allocations: 0 / 380.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4549, allocations: 4.047 kB / 380.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.4559, allocations: 0.5518 MB / 381.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4559, allocations: 4 kB / 381.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.4561, allocations: 20 kB / 381.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.4563, allocations: 20.84 kB / 381.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4563, allocations: 4 kB / 381.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.4575, allocations: 1.276 MB / 382.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4575, allocations: 4.031 kB / 382.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.4581, allocations: 340.7 kB / 382.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.4582, allocations: 85.05 kB / 383 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.4582, allocations: 8 kB / 383 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4583, allocations: 3.938 kB / 383 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.4584, allocations: 16.05 kB / 383 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.4584, allocations: 8 kB / 383 MB, free: 11.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.4585, allocations: 95.22 kB / 383.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4585, allocations: 0 / 383.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00047/0.459, allocations: 32 kB / 383.1 MB, free: 11.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0009476/0.46, allocations: 1.076 MB / 384.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.4605, allocations: 226.9 kB / 384.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4605, allocations: 0 / 384.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.4608, allocations: 166.9 kB / 384.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.4612, allocations: 19.92 kB / 384.6 MB, free: 9.664 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.4633, allocations: 1.212 MB / 385.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.4637, allocations: 0.7124 MB / 386.5 MB, free: 7.645 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.4638, allocations: 12.64 kB / 386.5 MB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.4639, allocations: 31.42 kB / 386.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4639, allocations: 0 / 386.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.4871, allocations: 2.608 MB / 389.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/0.4875, allocations: 261.9 kB / 389.4 MB, free: 4.672 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.822, allocations: 3.953 kB / 389.4 MB, free: 4.668 MB / 330.7 MB