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 2.064/2.064, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.215e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.5803, allocations: 96.98 MB / 418.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.5807, allocations: 71.97 kB / 418.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6904/1.271, allocations: 91.09 MB / 0.4981 GB, free: 93.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.271, allocations: 0 / 0.4981 GB, free: 93.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002833/1.271, allocations: 87.81 kB / 0.4982 GB, free: 93.74 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.01879/1.29, allocations: 4.16 MB / 0.5022 GB, free: 92.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/1.29, allocations: 10.88 kB / 0.5022 GB, free: 92.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004589/1.295, allocations: 0.8312 MB / 0.503 GB, free: 92.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04037/1.335, allocations: 4.436 MB / 0.5074 GB, free: 91.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02127/1.357, allocations: 4.728 MB / 0.512 GB, free: 91.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007182/1.358, allocations: 346.9 kB / 0.5123 GB, free: 91.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/1.361, allocations: 466.2 kB / 0.5128 GB, free: 91.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03323/1.394, allocations: 10.5 MB / 0.523 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003575/1.394, allocations: 63.81 kB / 0.5231 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002106/1.396, allocations: 222.4 kB / 0.5233 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002734/1.399, allocations: 0.9871 MB / 0.5243 GB, free: 88.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03111/1.43, allocations: 8.26 MB / 0.5323 GB, free: 88.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09274/1.523, allocations: 46.87 MB / 0.5781 GB, free: 53.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008705/1.532, allocations: 2.918 MB / 0.5809 GB, free: 52.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/1.535, allocations: 1.583 MB / 0.5825 GB, free: 51.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/1.536, allocations: 344.7 kB / 0.5828 GB, free: 51.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.536, allocations: 53.33 kB / 0.5829 GB, free: 51.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 5.511e-06/1.536, allocations: 0 / 0.5829 GB, free: 51.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.03743/1.573, allocations: 11.27 MB / 0.5939 GB, free: 46.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/1.573, allocations: 195.8 kB / 0.5941 GB, free: 46.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009423/1.583, allocations: 3.362 MB / 0.5973 GB, free: 44.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005392/1.583, allocations: 53.47 kB / 0.5974 GB, free: 44.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003664/1.587, allocations: 3.217 MB / 0.6005 GB, free: 42.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001491/1.589, allocations: 0.7346 MB / 0.6013 GB, free: 41.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007239/1.589, allocations: 119.3 kB / 0.6014 GB, free: 41.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005481/1.59, allocations: 0.5546 MB / 0.6019 GB, free: 41.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006573/1.596, allocations: 1.998 MB / 0.6039 GB, free: 39.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/1.607, allocations: 5.615 MB / 0.6093 GB, free: 32.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009979/1.617, allocations: 3.334 MB / 0.6126 GB, free: 29.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/1.617, allocations: 36 kB / 0.6126 GB, free: 29.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02602/1.643, allocations: 7.259 MB / 0.6197 GB, free: 23.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.643, allocations: 63.94 kB / 0.6198 GB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/1.643, allocations: 128 kB / 0.6199 GB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/1.645, allocations: 381.9 kB / 0.6203 GB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.655, allocations: 1.428 MB / 0.6217 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/1.661, allocations: 2.991 MB / 0.6246 GB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009372/1.67, allocations: 354.8 kB / 0.6249 GB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/1.672, allocations: 371.1 kB / 0.6253 GB, free: 17.81 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.001911/1.674, allocations: 0.5551 MB / 0.6258 GB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.675, allocations: 351.5 kB / 0.6262 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0097/1.685, allocations: 2.615 MB / 0.6287 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-05/1.685, allocations: 27.83 kB / 0.6287 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.685, allocations: 4 kB / 0.6287 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-05/1.685, allocations: 7.828 kB / 0.6287 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02886/1.714, allocations: 7.45 MB / 0.636 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/1.714, allocations: 0 / 0.636 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004496/1.719, allocations: 354.6 kB / 0.6364 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009533/1.72, allocations: 175.6 kB / 0.6365 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004519/1.72, allocations: 35.38 kB / 0.6366 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/1.724, allocations: 2.554 MB / 0.6391 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.724, allocations: 7.891 kB / 0.6391 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.735, allocations: 5.146 MB / 0.6441 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/1.738, allocations: 0.63 MB / 0.6447 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.739, allocations: 35.84 kB / 0.6447 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/1.742, allocations: 122.6 kB / 0.6449 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007636/1.743, allocations: 122.1 kB / 0.645 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/1.743, allocations: 59.36 kB / 0.645 GB, free: 300 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01066/1.754, allocations: 2.566 MB / 0.6475 GB, free: 14.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.473e-06/1.754, allocations: 0 / 0.6475 GB, free: 14.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007703/1.762, allocations: 0.9883 MB / 0.6485 GB, free: 13.67 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.01433/1.776, allocations: 5.985 MB / 0.6543 GB, free: 7.637 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01425/1.79, allocations: 4.686 MB / 0.6589 GB, free: 2.969 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.79, allocations: 0 / 0.6589 GB, free: 2.969 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003841/1.794, allocations: 1.525 MB / 0.6604 GB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.798, allocations: 399 kB / 0.6608 GB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3387/2.136, allocations: 9.122 MB / 0.6697 GB, free: 97.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/2.146, allocations: 3.547 MB / 0.6732 GB, free: 96.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01047/2.157, allocations: 1.939 MB / 0.6751 GB, free: 96.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005537/2.162, allocations: 1.999 MB / 0.677 GB, free: 96.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/2.163, allocations: 0 / 0.677 GB, free: 96.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/2.341, allocations: 74.31 MB / 0.7496 GB, free: 69.58 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/2.341, allocations: 173.7 kB / 0.7497 GB, free: 69.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.274/7.616, allocations: 0 / 0.7497 GB, free: 69.36 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