Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.289e-05/4.331e-05, allocations: 4 kB / 273.1 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5758, allocations: 92.94 MB / 414.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5762, allocations: 71.97 kB / 414.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3725/0.9487, allocations: 76.3 MB / 491.2 MB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.9487, allocations: 0 / 491.2 MB, free: 15.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002669/0.949, allocations: 68 kB / 491.2 MB, free: 15.73 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01538/0.9644, allocations: 3.581 MB / 494.8 MB, free: 12.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.9645, allocations: 12.03 kB / 494.8 MB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003139/0.9676, allocations: 0.6637 MB / 495.5 MB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03421/1.002, allocations: 4.328 MB / 499.8 MB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01963/1.022, allocations: 4.452 MB / 0.4924 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004488/1.022, allocations: 267.1 kB / 0.4927 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/1.024, allocations: 367.8 kB / 0.4931 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3187/1.343, allocations: 9.07 MB / 0.5019 GB, free: 97.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/1.343, allocations: 62.89 kB / 0.502 GB, free: 97.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/1.345, allocations: 180.8 kB / 0.5021 GB, free: 97.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/1.347, allocations: 0.8812 MB / 0.503 GB, free: 97.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/1.371, allocations: 7.206 MB / 0.51 GB, free: 97.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0603/1.431, allocations: 44.05 MB / 0.5531 GB, free: 66.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/1.446, allocations: 3.477 MB / 0.5565 GB, free: 64.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003302/1.449, allocations: 1.596 MB / 0.558 GB, free: 64.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01672/1.466, allocations: 7.196 MB / 0.565 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.466, allocations: 50.84 kB / 0.5651 GB, free: 60.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 6.712e-06/1.466, allocations: 0 / 0.5651 GB, free: 60.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.09219/1.558, allocations: 17.05 MB / 0.5817 GB, free: 55.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/1.559, allocations: 195.6 kB / 0.5819 GB, free: 54.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006548/1.565, allocations: 3.264 MB / 0.5851 GB, free: 53.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004524/1.566, allocations: 53.22 kB / 0.5852 GB, free: 53.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002204/1.568, allocations: 2.822 MB / 0.5879 GB, free: 51.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.569, allocations: 0.7031 MB / 0.5886 GB, free: 51.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006245/1.57, allocations: 117 kB / 0.5887 GB, free: 51.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003623/1.57, allocations: 0.5522 MB / 0.5893 GB, free: 50.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004986/1.575, allocations: 1.942 MB / 0.5912 GB, free: 49.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007454/1.582, allocations: 5.475 MB / 0.5965 GB, free: 44.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007468/1.59, allocations: 3.241 MB / 0.5997 GB, free: 42.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.59, allocations: 36 kB / 0.5997 GB, free: 42.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02976/1.62, allocations: 8.935 MB / 0.6084 GB, free: 34.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.62, allocations: 60.53 kB / 0.6085 GB, free: 34.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/1.62, allocations: 124 kB / 0.6086 GB, free: 34.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009381/1.63, allocations: 1.546 MB / 0.6101 GB, free: 33.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007925/1.638, allocations: 1.285 MB / 0.6114 GB, free: 32.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/1.659, allocations: 8.941 MB / 0.6201 GB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006338/1.666, allocations: 317.5 kB / 0.6204 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.667, allocations: 357.5 kB / 0.6207 GB, free: 24.15 MB / 426.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.001299/1.668, allocations: 0.5501 MB / 0.6213 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008256/1.669, allocations: 331.7 kB / 0.6216 GB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/1.685, allocations: 3.812 MB / 0.6253 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.399e-05/1.685, allocations: 20 kB / 0.6253 GB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/1.685, allocations: 11.42 kB / 0.6254 GB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.685, allocations: 11.08 kB / 0.6254 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03225/1.717, allocations: 7.991 MB / 0.6332 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/1.717, allocations: 0 / 0.6332 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.72, allocations: 239.7 kB / 0.6334 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/1.73, allocations: 1.234 MB / 0.6346 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005857/1.73, allocations: 39.94 kB / 0.6346 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/1.751, allocations: 7.274 MB / 0.6417 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.751, allocations: 0 / 0.6417 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/1.771, allocations: 6.154 MB / 0.6478 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/1.774, allocations: 0.6059 MB / 0.6483 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.775, allocations: 28 kB / 0.6484 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003143/1.778, allocations: 93.3 kB / 0.6485 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007416/1.779, allocations: 120.3 kB / 0.6486 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.779, allocations: 48 kB / 0.6486 GB, free: 13.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006744/1.786, allocations: 2.257 MB / 0.6508 GB, free: 11.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.786, allocations: 0 / 0.6508 GB, free: 11.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007304/1.793, allocations: 0.9739 MB / 0.6518 GB, free: 10.7 MB / 442.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.02345/1.817, allocations: 6.991 MB / 0.6586 GB, free: 3.676 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3332/2.15, allocations: 4.878 MB / 0.6634 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/2.15, allocations: 1.062 kB / 0.6634 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006477/2.157, allocations: 1.589 MB / 0.6649 GB, free: 106.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/2.162, allocations: 361.4 kB / 0.6653 GB, free: 106.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/2.193, allocations: 7.983 MB / 0.6731 GB, free: 105.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00763/2.201, allocations: 3.036 MB / 0.676 GB, free: 104.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008921/2.21, allocations: 1.811 MB / 0.6778 GB, free: 104.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00388/2.214, allocations: 1.638 MB / 0.6794 GB, free: 104.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.422e-06/2.214, allocations: 1.344 kB / 0.6794 GB, free: 104.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1885/2.403, allocations: 74.33 MB / 0.752 GB, free: 73.09 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/2.403, allocations: 189.5 kB / 0.7522 GB, free: 72.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.353/7.756, allocations: 0 / 0.7522 GB, free: 72.84 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat