Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.881/1.881, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.939e-05/4.95e-05, allocations: 7.984 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5674, allocations: 96.98 MB / 418.8 MB, free: 8.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5677, allocations: 79.95 kB / 418.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.73/1.298, allocations: 91.08 MB / 0.498 GB, free: 93.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.298, allocations: 3 kB / 0.498 GB, free: 93.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002951/1.298, allocations: 86.66 kB / 0.4981 GB, free: 93.53 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.0186/1.317, allocations: 4.161 MB / 0.5022 GB, free: 92.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.317, allocations: 9.625 kB / 0.5022 GB, free: 92.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004131/1.321, allocations: 0.8293 MB / 0.503 GB, free: 91.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03504/1.356, allocations: 4.434 MB / 0.5073 GB, free: 91.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01936/1.375, allocations: 4.721 MB / 0.512 GB, free: 91.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006585/1.376, allocations: 349.9 kB / 0.5123 GB, free: 91.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003103/1.379, allocations: 474.2 kB / 0.5127 GB, free: 91.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/1.411, allocations: 10.55 MB / 0.523 GB, free: 88.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/1.412, allocations: 57.38 kB / 0.5231 GB, free: 88.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002864/1.415, allocations: 225.9 kB / 0.5233 GB, free: 88.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002379/1.417, allocations: 0.99 MB / 0.5243 GB, free: 88.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02363/1.441, allocations: 8.438 MB / 0.5325 GB, free: 88.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06761/1.509, allocations: 46.88 MB / 0.5783 GB, free: 53.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008721/1.517, allocations: 2.928 MB / 0.5812 GB, free: 52.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00328/1.521, allocations: 1.576 MB / 0.5827 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/1.521, allocations: 350.8 kB / 0.583 GB, free: 51.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/1.521, allocations: 54.58 kB / 0.5831 GB, free: 51.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.492e-06/1.521, allocations: 3.938 kB / 0.5831 GB, free: 51.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.03638/1.558, allocations: 11.28 MB / 0.5941 GB, free: 45.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/1.558, allocations: 201.9 kB / 0.5943 GB, free: 45.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00671/1.565, allocations: 3.359 MB / 0.5976 GB, free: 44.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004494/1.565, allocations: 49.36 kB / 0.5976 GB, free: 44.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002565/1.568, allocations: 3.219 MB / 0.6008 GB, free: 41.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.569, allocations: 0.7413 MB / 0.6015 GB, free: 41.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006161/1.569, allocations: 121.7 kB / 0.6016 GB, free: 41.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003888/1.57, allocations: 0.5549 MB / 0.6021 GB, free: 40.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004863/1.575, allocations: 1.994 MB / 0.6041 GB, free: 39.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007489/1.582, allocations: 5.647 MB / 0.6096 GB, free: 31.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007261/1.59, allocations: 3.332 MB / 0.6129 GB, free: 29.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-05/1.59, allocations: 36 kB / 0.6129 GB, free: 28.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01959/1.609, allocations: 7.62 MB / 0.6203 GB, free: 22.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.609, allocations: 60.97 kB / 0.6204 GB, free: 22.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/1.61, allocations: 131.9 kB / 0.6205 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/1.611, allocations: 388.7 kB / 0.6209 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008799/1.62, allocations: 1.429 MB / 0.6223 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/1.624, allocations: 2.982 MB / 0.6252 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006639/1.631, allocations: 356.1 kB / 0.6255 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.632, allocations: 371 kB / 0.6259 GB, free: 16.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (744): * Single equations (assignments): 740 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00117/1.634, allocations: 0.5511 MB / 0.6264 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008786/1.634, allocations: 343.5 kB / 0.6268 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006692/1.641, allocations: 2.622 MB / 0.6293 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.322e-05/1.641, allocations: 20 kB / 0.6293 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.641, allocations: 4 kB / 0.6293 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-05/1.641, allocations: 10.59 kB / 0.6294 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.662, allocations: 7.461 MB / 0.6366 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/1.662, allocations: 0 / 0.6366 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/1.666, allocations: 350.6 kB / 0.637 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008909/1.667, allocations: 188.7 kB / 0.6372 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/1.667, allocations: 34.98 kB / 0.6372 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003912/1.671, allocations: 2.547 MB / 0.6397 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.671, allocations: 8.016 kB / 0.6397 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.682, allocations: 5.151 MB / 0.6447 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002543/1.685, allocations: 0.6332 MB / 0.6453 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009808/1.686, allocations: 28 kB / 0.6454 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/1.689, allocations: 120.3 kB / 0.6455 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006452/1.69, allocations: 125.4 kB / 0.6456 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.69, allocations: 59.31 kB / 0.6456 GB, free: 15.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006097/1.696, allocations: 2.335 MB / 0.6479 GB, free: 13.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.313e-06/1.696, allocations: 0 / 0.6479 GB, free: 13.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00699/1.703, allocations: 0.992 MB / 0.6489 GB, free: 12.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01344/1.717, allocations: 5.976 MB / 0.6547 GB, free: 6.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01307/1.73, allocations: 4.885 MB / 0.6595 GB, free: 2.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.73, allocations: 0 / 0.6595 GB, free: 2.031 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003901/1.734, allocations: 1.532 MB / 0.661 GB, free: 496 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/1.737, allocations: 394.5 kB / 0.6614 GB, free: 112 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3523/2.089, allocations: 9.127 MB / 0.6703 GB, free: 97.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00948/2.099, allocations: 3.55 MB / 0.6738 GB, free: 96.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009867/2.109, allocations: 1.942 MB / 0.6757 GB, free: 96.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005065/2.114, allocations: 1.993 MB / 0.6776 GB, free: 96.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/2.114, allocations: 0.5625 kB / 0.6776 GB, free: 96.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1725/2.287, allocations: 74.86 MB / 0.7507 GB, free: 68.39 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/2.287, allocations: 186.8 kB / 0.7509 GB, free: 68.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.299/7.586, allocations: 0 / 0.7509 GB, free: 68.16 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat