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.63/2.63, allocations: 235 MB / 247.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.056e-05/5.081e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4279, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.62, allocations: 98.69 MB / 458.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6203, allocations: 75.95 kB / 458.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036/1.656, allocations: 159.1 MB / 0.6032 GB, free: 85.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.656, allocations: 0 / 0.6032 GB, free: 85.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004507/1.657, allocations: 156 kB / 0.6034 GB, free: 85.51 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.03017/1.687, allocations: 7.743 MB / 0.6109 GB, free: 77.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.687, allocations: 12.03 kB / 0.6109 GB, free: 77.67 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006583/1.694, allocations: 1.396 MB / 0.6123 GB, free: 76.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03239/1.726, allocations: 3.624 MB / 0.6158 GB, free: 72.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03399/1.76, allocations: 9.55 MB / 0.6252 GB, free: 62.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000811/1.761, allocations: 0.5977 MB / 0.6258 GB, free: 62.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004863/1.766, allocations: 0.7929 MB / 0.6265 GB, free: 61.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06051/1.826, allocations: 18.68 MB / 0.6448 GB, free: 41.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006119/1.827, allocations: 91.2 kB / 0.6449 GB, free: 41.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004573/1.832, allocations: 379.8 kB / 0.6452 GB, free: 40.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004733/1.836, allocations: 1.782 MB / 0.647 GB, free: 39.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04921/1.886, allocations: 14.48 MB / 0.6611 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.533/2.419, allocations: 79.01 MB / 0.7383 GB, free: 40.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03015/2.449, allocations: 6.016 MB / 0.7441 GB, free: 40.26 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006824/2.456, allocations: 2.399 MB / 0.7465 GB, free: 40.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03452/2.49, allocations: 11 MB / 0.7572 GB, free: 37.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/2.491, allocations: 66.73 kB / 0.7573 GB, free: 36.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 6.212e-06/2.491, allocations: 0 / 0.7573 GB, free: 36.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.07061/2.561, allocations: 14.75 MB / 0.7717 GB, free: 32.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/2.561, allocations: 156.4 kB / 0.7718 GB, free: 32.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01614/2.577, allocations: 5.727 MB / 0.7774 GB, free: 31.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006608/2.578, allocations: 61.5 kB / 0.7775 GB, free: 31.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005724/2.584, allocations: 5.592 MB / 0.7829 GB, free: 28.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00164/2.586, allocations: 1.012 MB / 0.7839 GB, free: 28.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/2.587, allocations: 177.4 kB / 0.7841 GB, free: 28.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001124/2.588, allocations: 0.6781 MB / 0.7848 GB, free: 27.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007166/2.596, allocations: 2.365 MB / 0.7871 GB, free: 27.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/2.607, allocations: 7.963 MB / 0.7948 GB, free: 18.97 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/2.618, allocations: 4.293 MB / 0.799 GB, free: 17.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002636/2.618, allocations: 56.66 kB / 0.7991 GB, free: 17.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02841/2.646, allocations: 10.05 MB / 0.8089 GB, free: 14.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/2.647, allocations: 89.09 kB / 0.809 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003835/2.647, allocations: 200.6 kB / 0.8092 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/2.647, allocations: 294.5 kB / 0.8095 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01423/2.662, allocations: 2.18 MB / 0.8116 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004699/2.662, allocations: 396.6 kB / 0.812 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/2.675, allocations: 0.6055 MB / 0.8126 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00231/2.677, allocations: 0.533 MB / 0.8131 GB, free: 14.16 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.003699/2.681, allocations: 0.8146 MB / 0.8139 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/2.683, allocations: 0.5774 MB / 0.8144 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008846/2.691, allocations: 2.741 MB / 0.8171 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.659e-05/2.692, allocations: 29.97 kB / 0.8172 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/2.692, allocations: 0 / 0.8172 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.016e-05/2.692, allocations: 13.2 kB / 0.8172 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07338/2.765, allocations: 26.41 MB / 0.8429 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002771/2.765, allocations: 52 kB / 0.843 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005601/2.771, allocations: 0.516 MB / 0.8435 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/2.771, allocations: 76 kB / 0.8436 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008827/2.772, allocations: 119.2 kB / 0.8437 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002091/2.772, allocations: 104.2 kB / 0.8438 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001311/2.773, allocations: 83.62 kB / 0.8439 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/2.794, allocations: 14.52 MB / 0.858 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003532/2.798, allocations: 0.6924 MB / 0.8587 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002783/2.801, allocations: 122.7 kB / 0.8588 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008385/2.809, allocations: 205.6 kB / 0.859 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/2.811, allocations: 345.3 kB / 0.8594 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008242/2.811, allocations: 152.5 kB / 0.8595 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01482/2.826, allocations: 4.015 MB / 0.8634 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.142e-06/2.826, allocations: 0 / 0.8634 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01319/2.84, allocations: 1.494 MB / 0.8649 GB, free: 100 kB / 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.02163/2.861, allocations: 25.07 MB / 0.8894 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01642/2.878, allocations: 5.74 MB / 0.895 GB, free: 396 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-05/2.878, allocations: 8 kB / 0.895 GB, free: 388 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.3643/3.242, allocations: 1.462 MB / 0.8964 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008011/3.25, allocations: 0.8636 MB / 0.8973 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07518/3.325, allocations: 16.51 MB / 0.9134 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01657/3.342, allocations: 5.735 MB / 0.919 GB, free: 149 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01544/3.358, allocations: 2.796 MB / 0.9217 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008975/3.367, allocations: 3.659 MB / 0.9253 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/3.367, allocations: 0 / 0.9253 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2769/3.644, allocations: 117.5 MB / 1.04 GB, free: 68 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/3.644, allocations: 144.9 kB / 1.04 GB, free: 67.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/11.39, allocations: 0 / 1.04 GB, free: 67.78 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