Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.714/2.714, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.218e-05, allocations: 7.281 kB / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4362, allocations: 54.85 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/0.657, allocations: 100.2 MB / 454.6 MB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004135/0.6574, allocations: 83.95 kB / 454.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267/1.925, allocations: 194.6 MB / 0.6341 GB, free: 7.117 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.925, allocations: 4 kB / 0.6341 GB, free: 7.113 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007375/1.926, allocations: 199.9 kB / 0.6343 GB, free: 6.918 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04514/1.971, allocations: 9.413 MB / 0.6435 GB, free: 13.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/1.971, allocations: 8.031 kB / 0.6435 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04376/2.015, allocations: 4.027 MB / 0.6474 GB, free: 9.355 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04594/2.061, allocations: 10.56 MB / 0.6577 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009657/2.062, allocations: 348 kB / 0.6581 GB, free: 14.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006224/2.068, allocations: 0.6053 MB / 0.6587 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4479/2.516, allocations: 14.54 MB / 0.6729 GB, free: 64.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06518/2.581, allocations: 20.73 MB / 0.6931 GB, free: 60.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007204/2.582, allocations: 97.94 kB / 0.6932 GB, free: 60.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005283/2.587, allocations: 50.12 kB / 0.6932 GB, free: 60.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00697/2.594, allocations: 2.267 MB / 0.6955 GB, free: 60.35 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1862/2.781, allocations: 93.8 MB / 0.7871 GB, free: 22.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/2.792, allocations: 4.145 MB / 0.7911 GB, free: 20.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005488/2.797, allocations: 1.935 MB / 0.793 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004296/2.798, allocations: 59.91 kB / 0.793 GB, free: 19.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.146e-05/2.798, allocations: 73.97 kB / 0.7931 GB, free: 19.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=330): time 9.739e-06/2.798, allocations: 0 / 0.7931 GB, free: 19.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=342): time 0.06085/2.859, allocations: 14.89 MB / 0.8077 GB, free: 12.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/2.859, allocations: 162.2 kB / 0.8078 GB, free: 12.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01663/2.875, allocations: 5.658 MB / 0.8133 GB, free: 10.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/2.876, allocations: 30.14 kB / 0.8134 GB, free: 10.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01124/2.888, allocations: 6.959 MB / 0.8202 GB, free: 4.918 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002438/2.89, allocations: 1.258 MB / 0.8214 GB, free: 3.992 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/2.892, allocations: 1.531 kB / 0.8214 GB, free: 3.992 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001148/2.893, allocations: 0.7767 MB / 0.8222 GB, free: 3.488 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009027/2.902, allocations: 2.86 MB / 0.8249 GB, free: 2.477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01607/2.918, allocations: 9.626 MB / 0.8343 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/2.933, allocations: 5.165 MB / 0.8394 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003309/2.933, allocations: 72 kB / 0.8395 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.04013/2.973, allocations: 11.06 MB / 0.8503 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002967/2.973, allocations: 109.4 kB / 0.8504 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005575/2.974, allocations: 244 kB / 0.8506 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/2.975, allocations: 362.7 kB / 0.8509 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02165/2.996, allocations: 2.707 MB / 0.8536 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006619/2.997, allocations: 481.9 kB / 0.854 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01759/3.015, allocations: 494.7 kB / 0.8545 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003921/3.019, allocations: 0.6662 MB / 0.8552 GB, free: 7.371 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * Number of states: 0 () * Number of discrete variables: 69 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1420): * Single equations (assignments): 1417 * 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.005343/3.024, allocations: 0.7089 MB / 0.8559 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01932/3.043, allocations: 3.71 MB / 0.8595 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003314/3.047, allocations: 0.6209 MB / 0.8601 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4503/3.497, allocations: 3.641 MB / 0.8636 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001384/3.497, allocations: 38.95 kB / 0.8637 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/3.497, allocations: 1.094 kB / 0.8637 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/3.497, allocations: 14.92 kB / 0.8637 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08944/3.587, allocations: 36.91 MB / 0.8997 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001964/3.587, allocations: 89.78 kB / 0.8998 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006146/3.593, allocations: 0.8041 MB / 0.9006 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/3.594, allocations: 123.2 kB / 0.9007 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005779/3.594, allocations: 127.6 kB / 0.9009 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001224/3.594, allocations: 161.4 kB / 0.901 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-05/3.594, allocations: 131.1 kB / 0.9011 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/3.611, allocations: 22.44 MB / 0.923 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/3.614, allocations: 0.7656 MB / 0.9238 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002891/3.616, allocations: 128.9 kB / 0.9239 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007613/3.624, allocations: 188.7 kB / 0.9241 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001392/3.626, allocations: 0.5451 MB / 0.9246 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005655/3.626, allocations: 235.3 kB / 0.9249 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01058/3.637, allocations: 3.777 MB / 0.9285 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/3.637, allocations: 0 / 0.9285 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01745/3.654, allocations: 1.595 MB / 0.9301 GB, free: 76.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.02057/3.675, allocations: 38.23 MB / 0.9674 GB, free: 40 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01748/3.692, allocations: 6.74 MB / 0.974 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.178e-05/3.693, allocations: 14.78 kB / 0.974 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005094/3.698, allocations: 1.898 MB / 0.9759 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009473/3.707, allocations: 0.8522 MB / 0.9767 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07373/3.781, allocations: 20.95 MB / 0.9972 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02001/3.801, allocations: 7.129 MB / 1.004 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02139/3.822, allocations: 3.384 MB / 1.007 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01223/3.835, allocations: 4.729 MB / 1.012 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.794e-06/3.835, allocations: 4 kB / 1.012 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8695/4.704, allocations: 134.1 MB / 1.143 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003825/4.705, allocations: 150 kB / 1.143 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.965/13.67, allocations: 3.938 kB / 1.143 GB, free: 102.9 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat