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.981/1.981, allocations: 195.4 MB / 209.5 MB, free: 7.379 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.139e-05, allocations: 4 kB / 257.9 MB, free: 6.797 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3086, allocations: 44.66 MB / 302.6 MB, free: 12.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4545, allocations: 70.02 MB / 372.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/0.4549, allocations: 67.95 kB / 372.7 MB, free: 6.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002327/0.4572, allocations: 0.5695 MB / 373.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4573, allocations: 4 kB / 373.3 MB, free: 5.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.4573, allocations: 0 / 373.3 MB, free: 5.855 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.0004628/0.4578, allocations: 335.4 kB / 373.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.4578, allocations: 8.031 kB / 373.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.4579, allocations: 30.56 kB / 373.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.458, allocations: 7.906 kB / 373.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.4581, allocations: 163 kB / 373.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4582, allocations: 4 kB / 373.8 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.4582, allocations: 4 kB / 373.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.4584, allocations: 53.61 kB / 373.9 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4584, allocations: 0 / 373.9 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4585, allocations: 7.938 kB / 373.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4585, allocations: 0 / 373.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.4586, allocations: 8 kB / 373.9 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.4592, allocations: 290.6 kB / 374.2 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.4594, allocations: 50.56 kB / 374.2 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.4594, allocations: 0 / 374.2 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.4595, allocations: 30.56 kB / 374.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/0.4595, allocations: 0 / 374.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006533/0.4601, allocations: 163.6 kB / 374.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.4602, allocations: 59.36 kB / 374.5 MB, free: 4.449 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4603, allocations: 105.2 kB / 374.6 MB, free: 4.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.4604, allocations: 25.7 kB / 374.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.4605, allocations: 84.08 kB / 374.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.4605, allocations: 11.81 kB / 374.7 MB, free: 4.211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.4605, allocations: 4 kB / 374.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4607, allocations: 314.8 kB / 375 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.4608, allocations: 7.984 kB / 375 MB, free: 3.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.4608, allocations: 21.72 kB / 375 MB, free: 3.855 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.4609, allocations: 12 kB / 375 MB, free: 3.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4609, allocations: 0 / 375 MB, free: 3.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002587/0.4612, allocations: 74.47 kB / 375.1 MB, free: 3.762 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4612, allocations: 4 kB / 375.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4613, allocations: 4 kB / 375.1 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.4615, allocations: 20.84 kB / 375.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.4616, allocations: 12.08 kB / 375.1 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.4634, allocations: 1.256 MB / 376.4 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.4635, allocations: 4 kB / 376.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4635, allocations: 256 / 376.4 MB, free: 2.328 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 0.0001394/0.4637, allocations: 117.8 kB / 376.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.4637, allocations: 0 / 376.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.4638, allocations: 7.5 kB / 376.5 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4638, allocations: 7.953 kB / 376.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4638, allocations: 0 / 376.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4638, allocations: 0 / 376.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.4641, allocations: 169.6 kB / 376.7 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4642, allocations: 3.938 kB / 376.7 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.756e-05/0.4643, allocations: 4 kB / 376.7 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001515/0.4644, allocations: 24.75 kB / 376.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4645, allocations: 0 / 376.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.466, allocations: 1.261 MB / 378 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.466, allocations: 0 / 378 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.4664, allocations: 176.3 kB / 378.2 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.4665, allocations: 81.14 kB / 378.2 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.4665, allocations: 7.953 kB / 378.3 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.4667, allocations: 4.25 kB / 378.3 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4667, allocations: 7.984 kB / 378.3 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.4667, allocations: 0 / 378.3 MB, free: 236 kB / 314.7 MB Notification: Performance of sorting global known variables: time 6.043e-05/0.4668, allocations: 75.28 kB / 378.3 MB, free: 160 kB / 314.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.4668, allocations: 4 kB / 378.3 MB, free: 156 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.000545/0.4674, allocations: 8 kB / 378.3 MB, free: 148 kB / 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.0007953/0.4682, allocations: 0.7133 MB / 379.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.4687, allocations: 142.6 kB / 379.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4687, allocations: 0 / 379.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.469, allocations: 122.7 kB / 379.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.4693, allocations: 128 / 379.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4705, allocations: 0.5762 MB / 379.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.4709, allocations: 0.6887 MB / 380.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.107e-05/0.471, allocations: 7.984 kB / 380.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.471, allocations: 11.44 kB / 380.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4711, allocations: 0 / 380.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.5033, allocations: 1.341 MB / 381.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003765/0.5038, allocations: 272.2 kB / 382.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.766, allocations: 0 / 382.2 MB, free: 12.1 MB / 330.7 MB