Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.937/1.937, allocations: 195.5 MB / 202.7 MB, free: 6.332 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.5e-05, allocations: 0 / 249.7 MB, free: 5.133 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.0987, allocations: 44.67 MB / 294.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5197, allocations: 69.42 MB / 363.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.52, allocations: 66.41 kB / 363.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003327/0.5234, allocations: 0.6668 MB / 364.5 MB, free: 26.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5234, allocations: 0 / 364.5 MB, free: 26.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.5235, allocations: 5.375 kB / 364.5 MB, free: 26.48 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.0003474/0.5238, allocations: 320.6 kB / 364.9 MB, free: 26.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.5239, allocations: 11.47 kB / 364.9 MB, free: 26.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.524, allocations: 5.406 kB / 364.9 MB, free: 26.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.5241, allocations: 172.5 kB / 365 MB, free: 25.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5241, allocations: 1.5 kB / 365 MB, free: 25.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.5242, allocations: 9.531 kB / 365.1 MB, free: 25.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.338e-05/0.5243, allocations: 14.56 kB / 365.1 MB, free: 25.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.5244, allocations: 44.02 kB / 365.1 MB, free: 25.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5244, allocations: 0 / 365.1 MB, free: 25.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5244, allocations: 0 / 365.1 MB, free: 25.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.5245, allocations: 1.406 kB / 365.1 MB, free: 25.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.5248, allocations: 222.9 kB / 365.3 MB, free: 25.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.525, allocations: 44.16 kB / 365.4 MB, free: 25.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.5251, allocations: 22.08 kB / 365.4 MB, free: 25.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.5251, allocations: 4 kB / 365.4 MB, free: 25.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.5251, allocations: 31.94 kB / 365.4 MB, free: 25.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.5251, allocations: 0 / 365.4 MB, free: 25.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009201/0.5261, allocations: 477 kB / 365.9 MB, free: 25.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.5261, allocations: 56.78 kB / 366 MB, free: 25.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.5262, allocations: 98.8 kB / 366 MB, free: 24.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.5263, allocations: 25.7 kB / 366.1 MB, free: 24.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.5263, allocations: 81.52 kB / 366.2 MB, free: 24.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.5264, allocations: 32.78 kB / 366.2 MB, free: 24.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.5264, allocations: 0 / 366.2 MB, free: 24.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5266, allocations: 314.1 kB / 366.5 MB, free: 24.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.5267, allocations: 16.86 kB / 366.5 MB, free: 24.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.5268, allocations: 31.97 kB / 366.5 MB, free: 24.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.5272, allocations: 199.2 kB / 366.7 MB, free: 24.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5272, allocations: 0 / 366.7 MB, free: 24.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002217/0.5274, allocations: 67.8 kB / 366.8 MB, free: 24.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.5275, allocations: 7.609 kB / 366.8 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5275, allocations: 0 / 366.8 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5275, allocations: 1.281 kB / 366.8 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.5277, allocations: 19.14 kB / 366.8 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5278, allocations: 6.734 kB / 366.8 MB, free: 24.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.5278, allocations: 3.953 kB / 366.8 MB, free: 24.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.5279, allocations: 3.094 kB / 366.8 MB, free: 24.26 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.528, allocations: 109.3 kB / 366.9 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002881/0.5283, allocations: 91.23 kB / 367 MB, free: 24.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.5284, allocations: 5.328 kB / 367 MB, free: 24.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.5285, allocations: 10.86 kB / 367.1 MB, free: 24.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5285, allocations: 5.281 kB / 367.1 MB, free: 24.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5285, allocations: 0 / 367.1 MB, free: 24.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5285, allocations: 1.656 kB / 367.1 MB, free: 24.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.5292, allocations: 333.1 kB / 367.4 MB, free: 23.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5293, allocations: 1.594 kB / 367.4 MB, free: 23.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5294, allocations: 10.02 kB / 367.4 MB, free: 23.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.5296, allocations: 25.03 kB / 367.4 MB, free: 23.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.5296, allocations: 1.75 kB / 367.4 MB, free: 23.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.5312, allocations: 1.243 MB / 368.7 MB, free: 22.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5312, allocations: 0 / 368.7 MB, free: 22.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.5317, allocations: 256.7 kB / 368.9 MB, free: 22.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.5317, allocations: 82.92 kB / 369 MB, free: 22.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.5318, allocations: 3.812 kB / 369 MB, free: 22.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.5319, allocations: 0 / 369 MB, free: 22.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.532, allocations: 7.203 kB / 369 MB, free: 22.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.532, allocations: 3.75 kB / 369 MB, free: 22.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.5321, allocations: 75.28 kB / 369.1 MB, free: 22.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5321, allocations: 3.875 kB / 369.1 MB, free: 22.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006164/0.5327, allocations: 11.72 kB / 369.1 MB, free: 22.16 MB / 314.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.0009416/0.5337, allocations: 1.001 MB / 370.1 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.5339, allocations: 36.05 kB / 370.1 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5339, allocations: 0 / 370.1 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.5343, allocations: 132.3 kB / 370.3 MB, free: 21.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.5346, allocations: 5.703 kB / 370.3 MB, free: 21.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.5353, allocations: 159.9 kB / 370.4 MB, free: 20.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.5357, allocations: 0.6874 MB / 371.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.287e-05/0.5358, allocations: 6.125 kB / 371.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.5358, allocations: 14.81 kB / 371.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5359, allocations: 0 / 371.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06414/0.6, allocations: 1.023 MB / 372.2 MB, free: 20.17 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004146/0.6005, allocations: 230.8 kB / 372.4 MB, free: 19.87 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.758, allocations: 0 / 372.4 MB, free: 19.87 MB / 314.7 MB