Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.121e-05/4.132e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4371, allocations: 54.86 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.6267, allocations: 98.7 MB / 458.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.627, allocations: 71.97 kB / 458.7 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01/1.637, allocations: 159.1 MB / 0.6033 GB, free: 85.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.637, allocations: 0 / 0.6033 GB, free: 85.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000594/1.638, allocations: 152 kB / 0.6034 GB, free: 85.28 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03195/1.67, allocations: 7.747 MB / 0.611 GB, free: 77.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.67, allocations: 12.03 kB / 0.611 GB, free: 77.44 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006904/1.677, allocations: 1.392 MB / 0.6123 GB, free: 76.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03159/1.709, allocations: 3.628 MB / 0.6159 GB, free: 72.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03247/1.741, allocations: 9.55 MB / 0.6252 GB, free: 62.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009029/1.742, allocations: 0.6016 MB / 0.6258 GB, free: 62.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004597/1.747, allocations: 0.789 MB / 0.6266 GB, free: 61.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0593/1.806, allocations: 18.58 MB / 0.6447 GB, free: 41.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006155/1.807, allocations: 91.22 kB / 0.6448 GB, free: 41.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005669/1.812, allocations: 387.8 kB / 0.6452 GB, free: 40.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004754/1.817, allocations: 1.782 MB / 0.6469 GB, free: 39.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06272/1.88, allocations: 14.19 MB / 0.6608 GB, free: 24.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5352/2.415, allocations: 79.01 MB / 0.7379 GB, free: 41.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02973/2.445, allocations: 5.993 MB / 0.7438 GB, free: 40.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00631/2.451, allocations: 2.392 MB / 0.7461 GB, free: 40.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03191/2.483, allocations: 11.01 MB / 0.7569 GB, free: 37.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/2.483, allocations: 63.23 kB / 0.7569 GB, free: 37.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 6.172e-06/2.483, allocations: 0 / 0.7569 GB, free: 37.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.07/2.554, allocations: 14.74 MB / 0.7713 GB, free: 33.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/2.554, allocations: 163.9 kB / 0.7715 GB, free: 32.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01368/2.567, allocations: 5.728 MB / 0.7771 GB, free: 32.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000542/2.568, allocations: 62.86 kB / 0.7771 GB, free: 32.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00539/2.573, allocations: 5.577 MB / 0.7826 GB, free: 29.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001594/2.575, allocations: 1.017 MB / 0.7836 GB, free: 28.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/2.576, allocations: 174.2 kB / 0.7837 GB, free: 28.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007116/2.577, allocations: 0.6757 MB / 0.7844 GB, free: 28.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006713/2.584, allocations: 2.377 MB / 0.7867 GB, free: 27.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/2.594, allocations: 7.907 MB / 0.7944 GB, free: 19.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00994/2.604, allocations: 4.284 MB / 0.7986 GB, free: 18.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002417/2.604, allocations: 62.59 kB / 0.7987 GB, free: 18.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.03378/2.638, allocations: 9.493 MB / 0.8079 GB, free: 15.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002474/2.638, allocations: 94.22 kB / 0.808 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004943/2.639, allocations: 201.8 kB / 0.8082 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/2.64, allocations: 291.1 kB / 0.8085 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02117/2.661, allocations: 2.182 MB / 0.8106 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007956/2.662, allocations: 392.2 kB / 0.811 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0143/2.676, allocations: 0.6013 MB / 0.8116 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002205/2.678, allocations: 0.5409 MB / 0.8121 GB, free: 14.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1125 * 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.003142/2.681, allocations: 0.812 MB / 0.8129 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/2.683, allocations: 0.5757 MB / 0.8135 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008385/2.691, allocations: 2.736 MB / 0.8161 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-05/2.691, allocations: 32.62 kB / 0.8162 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/2.691, allocations: 3.438 kB / 0.8162 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.797e-05/2.691, allocations: 10.36 kB / 0.8162 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06465/2.756, allocations: 26.33 MB / 0.8419 GB, free: 8.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001983/2.756, allocations: 55.44 kB / 0.842 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004159/2.761, allocations: 0.5179 MB / 0.8425 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/2.761, allocations: 76 kB / 0.8425 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006549/2.761, allocations: 119.8 kB / 0.8426 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001419/2.762, allocations: 106.6 kB / 0.8427 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-05/2.762, allocations: 84.03 kB / 0.8428 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/2.778, allocations: 14.53 MB / 0.857 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/2.78, allocations: 0.6762 MB / 0.8577 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002257/2.782, allocations: 126.2 kB / 0.8578 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006016/2.789, allocations: 200.6 kB / 0.858 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/2.79, allocations: 351.6 kB / 0.8583 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004794/2.79, allocations: 147.3 kB / 0.8585 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01285/2.803, allocations: 4.018 MB / 0.8624 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.222e-06/2.803, allocations: 0 / 0.8624 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01278/2.816, allocations: 1.485 MB / 0.8638 GB, free: 1.043 MB / 0.4948 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.01999/2.836, allocations: 25.07 MB / 0.8883 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01557/2.852, allocations: 5.416 MB / 0.8936 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.917e-05/2.852, allocations: 12.31 kB / 0.8936 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004056/2.856, allocations: 1.391 MB / 0.895 GB, free: 420 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3863/3.242, allocations: 0.9667 MB / 0.8959 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06189/3.304, allocations: 16.44 MB / 0.912 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01695/3.321, allocations: 5.739 MB / 0.9176 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01439/3.336, allocations: 2.79 MB / 0.9203 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008419/3.344, allocations: 3.656 MB / 0.9239 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/3.344, allocations: 1.688 kB / 0.9239 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/3.618, allocations: 116.7 MB / 1.038 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/3.619, allocations: 147.7 kB / 1.038 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/10.75, allocations: 7.938 kB / 1.038 GB, free: 69.1 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat