Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.875e-05/5.882e-05, allocations: 7.984 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1561, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5772/0.7334, allocations: 107.2 MB / 0.5055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.7337, allocations: 76.97 kB / 0.5055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128/1.862, allocations: 176.5 MB / 0.6779 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/1.862, allocations: 0 / 0.6779 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005387/1.863, allocations: 179.2 kB / 0.6781 GB, free: 100.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.03294/1.896, allocations: 8.428 MB / 0.6863 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.896, allocations: 9.312 kB / 0.6863 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007182/1.903, allocations: 1.561 MB / 0.6879 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03171/1.935, allocations: 3.782 MB / 0.6916 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03198/1.967, allocations: 9.438 MB / 0.7008 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009279/1.968, allocations: 0.6852 MB / 0.7014 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004858/1.973, allocations: 0.9014 MB / 0.7023 GB, free: 93.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06624/2.039, allocations: 20.9 MB / 0.7227 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005582/2.04, allocations: 99.2 kB / 0.7228 GB, free: 73.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004425/2.044, allocations: 427.3 kB / 0.7232 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004433/2.049, allocations: 1.863 MB / 0.725 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05254/2.101, allocations: 15.93 MB / 0.7406 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6277/2.729, allocations: 83.62 MB / 0.8223 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04736/2.776, allocations: 6.282 MB / 0.8284 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006375/2.783, allocations: 2.308 MB / 0.8307 GB, free: 54.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03443/2.817, allocations: 10.93 MB / 0.8413 GB, free: 51.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/2.817, allocations: 62.55 kB / 0.8414 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 6.612e-06/2.817, allocations: 0 / 0.8414 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.07786/2.895, allocations: 15.74 MB / 0.8568 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/2.895, allocations: 158.1 kB / 0.8569 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02189/2.917, allocations: 5.868 MB / 0.8626 GB, free: 45.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006627/2.918, allocations: 60.92 kB / 0.8627 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.01648/2.935, allocations: 6.052 MB / 0.8686 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001831/2.936, allocations: 0.9333 MB / 0.8695 GB, free: 41.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005788/2.942, allocations: 181 kB / 0.8697 GB, free: 41.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001564/2.944, allocations: 0.6731 MB / 0.8704 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01795/2.962, allocations: 2.308 MB / 0.8726 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/2.973, allocations: 7.999 MB / 0.8804 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009932/2.983, allocations: 4.257 MB / 0.8846 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003192/2.984, allocations: 56.62 kB / 0.8846 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02698/3.011, allocations: 9.432 MB / 0.8938 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/3.011, allocations: 96.69 kB / 0.8939 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003231/3.011, allocations: 210 kB / 0.8941 GB, free: 32.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/3.012, allocations: 297.5 kB / 0.8944 GB, free: 32.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01374/3.025, allocations: 2.16 MB / 0.8965 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004418/3.026, allocations: 404.1 kB / 0.8969 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0119/3.038, allocations: 0.5989 MB / 0.8975 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00212/3.04, allocations: 0.5435 MB / 0.898 GB, free: 32.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1129): * Single equations (assignments): 1126 * 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.003276/3.043, allocations: 0.8327 MB / 0.8988 GB, free: 31.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/3.045, allocations: 0.5863 MB / 0.8994 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/3.048, allocations: 0.7058 MB / 0.9001 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.332e-05/3.048, allocations: 28.58 kB / 0.9001 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/3.048, allocations: 2.156 kB / 0.9001 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.251e-05/3.048, allocations: 15.03 kB / 0.9001 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05384/3.102, allocations: 22.54 MB / 0.9222 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001501/3.102, allocations: 45.31 kB / 0.9222 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/3.105, allocations: 458 kB / 0.9226 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.041e-05/3.106, allocations: 66.78 kB / 0.9227 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004811/3.106, allocations: 101.8 kB / 0.9228 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-05/3.106, allocations: 86.73 kB / 0.9229 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.068e-05/3.106, allocations: 70.72 kB / 0.9229 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/3.12, allocations: 12.76 MB / 0.9354 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003356/3.123, allocations: 0.675 MB / 0.9361 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002811/3.126, allocations: 109.9 kB / 0.9362 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008448/3.135, allocations: 200.4 kB / 0.9364 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/3.136, allocations: 305.2 kB / 0.9367 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004282/3.136, allocations: 130.5 kB / 0.9368 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01649/3.153, allocations: 4.079 MB / 0.9408 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.333e-06/3.153, allocations: 0 / 0.9408 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0184/3.171, allocations: 1.547 MB / 0.9423 GB, free: 3.125 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 229 * 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.02402/3.195, allocations: 21.67 MB / 0.9634 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01642/3.212, allocations: 5.273 MB / 0.9686 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.874e-05/3.212, allocations: 8 kB / 0.9686 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003544/3.216, allocations: 1.254 MB / 0.9698 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008995/3.225, allocations: 0.9553 MB / 0.9707 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06151/3.286, allocations: 17.24 MB / 0.9876 GB, free: 5.977 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01713/3.303, allocations: 6.236 MB / 0.9937 GB, free: 1.441 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01714/3.321, allocations: 2.903 MB / 0.9965 GB, free: 0 / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02145/3.342, allocations: 4.759 MB / 1.001 GB, free: 15 MB / 0.5886 GB Notification: Performance of SimCode: time 4.068e-06/3.342, allocations: 3.281 kB / 1.001 GB, free: 15 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.149/4.491, allocations: 121 MB / 1.119 GB, free: 153.9 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/4.491, allocations: 157.2 kB / 1.12 GB, free: 153.7 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/12.13, allocations: 0 / 1.12 GB, free: 153.7 MB / 0.6043 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat