Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.433/2.433, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.412e-05/4.432e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4212, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.6088, allocations: 99.77 MB / 459.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.6091, allocations: 79.95 kB / 459.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3378/0.947, allocations: 76.34 MB / 0.5235 GB, free: 220 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.947, allocations: 4 kB / 0.5235 GB, free: 216 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002472/0.9473, allocations: 67.94 kB / 0.5236 GB, free: 148 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.3406/1.288, allocations: 3.587 MB / 0.5271 GB, free: 104.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/1.288, allocations: 9.094 kB / 0.5271 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003023/1.291, allocations: 0.6645 MB / 0.5277 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03344/1.324, allocations: 4.324 MB / 0.532 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/1.343, allocations: 4.463 MB / 0.5363 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004569/1.343, allocations: 273.7 kB / 0.5366 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002405/1.346, allocations: 366.8 kB / 0.5369 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03529/1.381, allocations: 9.034 MB / 0.5458 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003704/1.381, allocations: 62.22 kB / 0.5458 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0019/1.383, allocations: 181.2 kB / 0.546 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002777/1.386, allocations: 0.8836 MB / 0.5468 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/1.413, allocations: 7.042 MB / 0.5537 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06658/1.48, allocations: 44.06 MB / 0.5967 GB, free: 67.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.494, allocations: 3.459 MB / 0.6001 GB, free: 65.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/1.498, allocations: 1.584 MB / 0.6017 GB, free: 65.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01606/1.514, allocations: 7.198 MB / 0.6087 GB, free: 61.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/1.514, allocations: 52.59 kB / 0.6088 GB, free: 61.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 6.021e-06/1.514, allocations: 0 / 0.6088 GB, free: 61.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=184): time 0.0915/1.606, allocations: 17.05 MB / 0.6254 GB, free: 52.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/1.606, allocations: 205 kB / 0.6256 GB, free: 52.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00595/1.612, allocations: 3.27 MB / 0.6288 GB, free: 49.56 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004228/1.612, allocations: 49.7 kB / 0.6288 GB, free: 49.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.614, allocations: 2.819 MB / 0.6316 GB, free: 46.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008771/1.615, allocations: 0.7028 MB / 0.6323 GB, free: 46.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/1.615, allocations: 116 kB / 0.6324 GB, free: 46.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003174/1.616, allocations: 0.5544 MB / 0.6329 GB, free: 45.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/1.62, allocations: 1.941 MB / 0.6348 GB, free: 44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00593/1.626, allocations: 5.438 MB / 0.6401 GB, free: 37.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00662/1.633, allocations: 3.236 MB / 0.6433 GB, free: 34.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.553e-05/1.633, allocations: 36 kB / 0.6433 GB, free: 34.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02721/1.66, allocations: 8.606 MB / 0.6517 GB, free: 26.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.644e-05/1.66, allocations: 56 kB / 0.6518 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.66, allocations: 124 kB / 0.6519 GB, free: 26.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008801/1.669, allocations: 1.543 MB / 0.6534 GB, free: 25.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00759/1.677, allocations: 1.286 MB / 0.6547 GB, free: 24.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/1.697, allocations: 8.945 MB / 0.6634 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006969/1.704, allocations: 311.5 kB / 0.6637 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.706, allocations: 360 kB / 0.664 GB, free: 14.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 687 * Array equations: 3 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001128/1.707, allocations: 0.5475 MB / 0.6646 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008191/1.708, allocations: 327.8 kB / 0.6649 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.722, allocations: 3.809 MB / 0.6686 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/1.722, allocations: 20 kB / 0.6686 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.722, allocations: 8 kB / 0.6686 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/1.722, allocations: 11.97 kB / 0.6687 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04158/1.764, allocations: 7.997 MB / 0.6765 GB, free: 1.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/1.764, allocations: 7.938 kB / 0.6765 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.767, allocations: 235.7 kB / 0.6767 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008073/1.775, allocations: 1.232 MB / 0.6779 GB, free: 492 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004115/1.775, allocations: 31.98 kB / 0.6779 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/1.796, allocations: 7.278 MB / 0.685 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.796, allocations: 4.031 kB / 0.685 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/1.817, allocations: 6.156 MB / 0.6911 GB, free: 2.852 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/1.82, allocations: 0.5981 MB / 0.6916 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009589/1.821, allocations: 35.98 kB / 0.6917 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/1.824, allocations: 99.73 kB / 0.6918 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004524/1.824, allocations: 101.2 kB / 0.6919 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/1.824, allocations: 47.98 kB / 0.6919 GB, free: 1.957 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005894/1.83, allocations: 2.269 MB / 0.6941 GB, free: 15.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.83, allocations: 0 / 0.6941 GB, free: 15.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007062/1.838, allocations: 0.9687 MB / 0.6951 GB, free: 14.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * Array equations: 3 * 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02199/1.86, allocations: 6.981 MB / 0.7019 GB, free: 7.707 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01243/1.872, allocations: 4.696 MB / 0.7065 GB, free: 3.027 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.872, allocations: 0 / 0.7065 GB, free: 3.027 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004226/1.876, allocations: 1.567 MB / 0.708 GB, free: 1.453 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/1.88, allocations: 363.4 kB / 0.7083 GB, free: 1.109 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3601/2.24, allocations: 7.977 MB / 0.7161 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008053/2.248, allocations: 3.031 MB / 0.7191 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009469/2.257, allocations: 1.809 MB / 0.7209 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004312/2.262, allocations: 1.646 MB / 0.7225 GB, free: 121.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.432e-06/2.262, allocations: 0 / 0.7225 GB, free: 121.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/2.429, allocations: 73.8 MB / 0.7945 GB, free: 93.46 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/2.429, allocations: 172.2 kB / 0.7947 GB, free: 93.24 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.034/7.464, allocations: 4 kB / 0.7947 GB, free: 93.24 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat