Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.515/2.515, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.889e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4228, allocations: 58.84 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.6182, allocations: 104.9 MB / 487.2 MB, free: 3.5 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.6185, allocations: 75.97 kB / 487.3 MB, free: 3.426 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9571/1.576, allocations: 159.2 MB / 0.6313 GB, free: 42.6 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.355e-06/1.576, allocations: 0 / 0.6313 GB, free: 42.6 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000451/1.576, allocations: 155.9 kB / 0.6315 GB, free: 42.45 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.03053/1.607, allocations: 7.766 MB / 0.639 GB, free: 34.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.607, allocations: 8.031 kB / 0.639 GB, free: 34.59 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006689/1.613, allocations: 1.393 MB / 0.6404 GB, free: 33.19 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03132/1.645, allocations: 3.624 MB / 0.6439 GB, free: 29.55 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03221/1.677, allocations: 9.572 MB / 0.6533 GB, free: 19.89 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008098/1.678, allocations: 0.6017 MB / 0.6539 GB, free: 19.29 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004424/1.682, allocations: 0.7888 MB / 0.6547 GB, free: 18.5 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05795/1.74, allocations: 18.59 MB / 0.6728 GB, free: 14.41 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005526/1.741, allocations: 103.1 kB / 0.6729 GB, free: 14.3 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004287/1.745, allocations: 379.8 kB / 0.6733 GB, free: 13.93 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005467/1.751, allocations: 1.782 MB / 0.675 GB, free: 12.15 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07558/1.826, allocations: 14.21 MB / 0.6889 GB, free: 13.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5214/2.348, allocations: 79.1 MB / 0.7661 GB, free: 46.86 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02752/2.375, allocations: 5.988 MB / 0.772 GB, free: 46.18 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005753/2.381, allocations: 2.394 MB / 0.7743 GB, free: 46.14 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03116/2.413, allocations: 11 MB / 0.7851 GB, free: 42.94 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/2.413, allocations: 59.92 kB / 0.7851 GB, free: 42.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=238): time 7.164e-06/2.413, allocations: 0 / 0.7851 GB, free: 42.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=262): time 0.09099/2.504, allocations: 14.76 MB / 0.7995 GB, free: 38.34 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/2.504, allocations: 160.9 kB / 0.7997 GB, free: 38.18 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01561/2.519, allocations: 5.749 MB / 0.8053 GB, free: 37.66 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006372/2.52, allocations: 66.08 kB / 0.8054 GB, free: 37.63 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006444/2.527, allocations: 5.599 MB / 0.8108 GB, free: 34.62 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/2.528, allocations: 1.016 MB / 0.8118 GB, free: 34.06 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/2.529, allocations: 180 kB / 0.812 GB, free: 34.06 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006297/2.53, allocations: 0.6727 MB / 0.8127 GB, free: 33.73 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006226/2.536, allocations: 2.37 MB / 0.815 GB, free: 33.71 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009822/2.546, allocations: 7.939 MB / 0.8227 GB, free: 25.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009456/2.555, allocations: 4.297 MB / 0.8269 GB, free: 24.37 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002049/2.556, allocations: 61.03 kB / 0.827 GB, free: 24.37 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.02569/2.581, allocations: 9.508 MB / 0.8363 GB, free: 21.78 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/2.581, allocations: 90.38 kB / 0.8363 GB, free: 21.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003177/2.582, allocations: 207.6 kB / 0.8365 GB, free: 21.77 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/2.582, allocations: 291.5 kB / 0.8368 GB, free: 21.77 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01386/2.596, allocations: 2.182 MB / 0.839 GB, free: 21.51 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000407/2.597, allocations: 394.5 kB / 0.8393 GB, free: 21.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/2.608, allocations: 0.6139 MB / 0.8399 GB, free: 21.25 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/2.61, allocations: 0.5356 MB / 0.8404 GB, free: 21.19 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1131): * Single equations (assignments): 1128 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002008/2.612, allocations: 0.8075 MB / 0.8412 GB, free: 20.53 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/2.613, allocations: 0.5824 MB / 0.8418 GB, free: 20.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/2.621, allocations: 2.745 MB / 0.8445 GB, free: 19.15 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-05/2.621, allocations: 33.08 kB / 0.8445 GB, free: 19.14 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/2.621, allocations: 3.75 kB / 0.8445 GB, free: 19.14 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.375e-05/2.621, allocations: 10.45 kB / 0.8445 GB, free: 19.14 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0566/2.677, allocations: 26.29 MB / 0.8702 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.87e-05/2.678, allocations: 56 kB / 0.8703 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003847/2.681, allocations: 0.5146 MB / 0.8708 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/2.682, allocations: 79.95 kB / 0.8708 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004022/2.682, allocations: 117.1 kB / 0.8709 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001062/2.682, allocations: 98.47 kB / 0.871 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.352e-05/2.682, allocations: 83.62 kB / 0.8711 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/2.697, allocations: 14.58 MB / 0.8854 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002575/2.7, allocations: 0.688 MB / 0.886 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00191/2.702, allocations: 116.7 kB / 0.8861 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005489/2.708, allocations: 204.3 kB / 0.8863 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008988/2.708, allocations: 355.9 kB / 0.8867 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003658/2.709, allocations: 147.3 kB / 0.8868 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01147/2.72, allocations: 4.031 MB / 0.8908 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.443e-06/2.72, allocations: 0 / 0.8908 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01216/2.733, allocations: 1.497 MB / 0.8922 GB, free: 7.867 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.397/3.13, allocations: 25.19 MB / 0.9168 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01385/3.144, allocations: 5.422 MB / 0.9221 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.693e-05/3.144, allocations: 6.531 kB / 0.9221 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003441/3.147, allocations: 1.388 MB / 0.9235 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009715/3.157, allocations: 0.8662 MB / 0.9243 GB, free: 134.3 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06992/3.227, allocations: 16.48 MB / 0.9404 GB, free: 129.7 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01944/3.246, allocations: 5.74 MB / 0.946 GB, free: 128.8 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01404/3.26, allocations: 2.801 MB / 0.9488 GB, free: 128.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008113/3.269, allocations: 3.669 MB / 0.9523 GB, free: 128.7 MB / 0.5418 GB Notification: Performance of SimCode: time 2.314e-06/3.269, allocations: 1.969 kB / 0.9523 GB, free: 128.7 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2499/3.519, allocations: 117.1 MB / 1.067 GB, free: 53 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/3.519, allocations: 147.5 kB / 1.067 GB, free: 52.77 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/10.93, allocations: 4.062 kB / 1.067 GB, free: 52.77 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat