Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.149/3.149, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.907e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4503, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2526/0.7029, allocations: 98.03 MB / 452.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.7034, allocations: 75.91 kB / 452.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.221/1.924, allocations: 155.9 MB / 0.5942 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.637e-06/1.924, allocations: 0 / 0.5942 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007375/1.925, allocations: 160 kB / 0.5943 GB, free: 0.5742 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.0529/1.978, allocations: 7.736 MB / 0.6019 GB, free: 8.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.437e-05/1.978, allocations: 12.03 kB / 0.6019 GB, free: 8.746 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00934/1.987, allocations: 1.068 MB / 0.6029 GB, free: 7.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0528/2.04, allocations: 3.624 MB / 0.6065 GB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05263/2.093, allocations: 9.542 MB / 0.6158 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009974/2.094, allocations: 348.2 kB / 0.6161 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005696/2.1, allocations: 483.8 kB / 0.6166 GB, free: 9.586 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5052/2.605, allocations: 11.16 MB / 0.6275 GB, free: 64.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0541/2.659, allocations: 16.31 MB / 0.6434 GB, free: 60.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006036/2.66, allocations: 89.84 kB / 0.6435 GB, free: 60.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004751/2.665, allocations: 50.41 kB / 0.6435 GB, free: 60.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005764/2.67, allocations: 1.782 MB / 0.6453 GB, free: 60.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1663/2.837, allocations: 79.68 MB / 0.7231 GB, free: 28.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008512/2.845, allocations: 2.984 MB / 0.726 GB, free: 27.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004175/2.85, allocations: 1.411 MB / 0.7274 GB, free: 26.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/2.85, allocations: 48.53 kB / 0.7274 GB, free: 26.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.912e-05/2.85, allocations: 61.19 kB / 0.7275 GB, free: 26.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=232): time 8.376e-06/2.85, allocations: 0 / 0.7275 GB, free: 26.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.05016/2.9, allocations: 11.45 MB / 0.7387 GB, free: 21.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/2.9, allocations: 158.1 kB / 0.7388 GB, free: 21.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01333/2.914, allocations: 5.031 MB / 0.7437 GB, free: 19.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005596/2.914, allocations: 25.7 kB / 0.7437 GB, free: 19.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005478/2.92, allocations: 5.684 MB / 0.7493 GB, free: 15.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001552/2.921, allocations: 0.929 MB / 0.7502 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/2.923, allocations: 0 / 0.7502 GB, free: 14.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009217/2.924, allocations: 0.6856 MB / 0.7509 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0072/2.931, allocations: 2.246 MB / 0.7531 GB, free: 13.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01393/2.945, allocations: 7.998 MB / 0.7609 GB, free: 4.586 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/2.958, allocations: 4.178 MB / 0.765 GB, free: 3.293 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002834/2.958, allocations: 59.75 kB / 0.765 GB, free: 3.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.03241/2.99, allocations: 8.986 MB / 0.7738 GB, free: 14.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002304/2.991, allocations: 97.94 kB / 0.7739 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004955/2.991, allocations: 208 kB / 0.7741 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/2.992, allocations: 304 kB / 0.7744 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01781/3.01, allocations: 2.224 MB / 0.7765 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005377/3.01, allocations: 411.9 kB / 0.7769 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/3.023, allocations: 462.9 kB / 0.7774 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002537/3.026, allocations: 0.5573 MB / 0.7779 GB, free: 10.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * 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 (1158): * Single equations (assignments): 1155 * 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.003373/3.029, allocations: 0.6101 MB / 0.7785 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/3.031, allocations: 0.5283 MB / 0.779 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009606/3.041, allocations: 2.405 MB / 0.7814 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/3.041, allocations: 28 kB / 0.7814 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/3.041, allocations: 4 kB / 0.7814 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-05/3.041, allocations: 11.53 kB / 0.7814 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07025/3.111, allocations: 23 MB / 0.8039 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001082/3.112, allocations: 52.03 kB / 0.8039 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004392/3.116, allocations: 496.2 kB / 0.8044 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/3.116, allocations: 68 kB / 0.8045 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004619/3.117, allocations: 74.7 kB / 0.8045 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000125/3.117, allocations: 101.8 kB / 0.8046 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.679e-05/3.117, allocations: 71.69 kB / 0.8047 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4697/3.587, allocations: 12.57 MB / 0.817 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/3.589, allocations: 0.6182 MB / 0.8176 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/3.591, allocations: 75.42 kB / 0.8177 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006579/3.598, allocations: 153.4 kB / 0.8178 GB, free: 90.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/3.599, allocations: 328.3 kB / 0.8181 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004436/3.6, allocations: 138.4 kB / 0.8183 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01222/3.612, allocations: 3.377 MB / 0.8216 GB, free: 90.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.532e-06/3.612, allocations: 3.938 kB / 0.8216 GB, free: 90.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01549/3.627, allocations: 1.268 MB / 0.8228 GB, free: 90.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.01558/3.643, allocations: 22.66 MB / 0.8449 GB, free: 69.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01419/3.657, allocations: 5.279 MB / 0.8501 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.403e-05/3.657, allocations: 6.469 kB / 0.8501 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003568/3.661, allocations: 1.295 MB / 0.8514 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007082/3.668, allocations: 0.6952 MB / 0.852 GB, free: 69.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05644/3.725, allocations: 15.86 MB / 0.8675 GB, free: 64.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01623/3.741, allocations: 5.694 MB / 0.8731 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0174/3.758, allocations: 2.838 MB / 0.8759 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009806/3.768, allocations: 3.654 MB / 0.8794 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.953e-06/3.768, allocations: 3.625 kB / 0.8794 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4441/4.212, allocations: 109.4 MB / 0.9863 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0005908/4.213, allocations: 141.3 kB / 0.9864 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.86/13.07, allocations: 0 / 0.9864 GB, free: 10.73 MB / 0.5105 GB