Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.985/2.985, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.132e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4172, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.213/0.6302, allocations: 100.1 MB / 454.6 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.6306, allocations: 83.78 kB / 454.6 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027/1.657, allocations: 128.4 MB / 0.5694 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.073e-06/1.657, allocations: 0 / 0.5694 GB, free: 10.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005623/1.658, allocations: 135.9 kB / 0.5695 GB, free: 10.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.03376/1.692, allocations: 6.356 MB / 0.5757 GB, free: 3.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/1.692, allocations: 8.031 kB / 0.5758 GB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006031/1.698, allocations: 0.9093 MB / 0.5766 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06686/1.765, allocations: 7.097 MB / 0.5836 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03283/1.797, allocations: 7.247 MB / 0.5906 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006253/1.798, allocations: 281.4 kB / 0.5909 GB, free: 3.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003993/1.802, allocations: 399.9 kB / 0.5913 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03215/1.834, allocations: 9.629 MB / 0.6007 GB, free: 9.957 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0482/1.883, allocations: 14.15 MB / 0.6145 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005285/1.883, allocations: 79.3 kB / 0.6146 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003495/1.887, allocations: 36 kB / 0.6146 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005059/1.892, allocations: 1.57 MB / 0.6162 GB, free: 8.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.549/2.441, allocations: 63.89 MB / 0.6786 GB, free: 45.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/2.454, allocations: 5.933 MB / 0.6844 GB, free: 45.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008994/2.463, allocations: 4.067 MB / 0.6883 GB, free: 45.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/2.464, allocations: 0.5674 MB / 0.6889 GB, free: 44.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.505e-05/2.464, allocations: 66.45 kB / 0.6889 GB, free: 44.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=315): time 9.237e-06/2.464, allocations: 0 / 0.6889 GB, free: 44.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=359): time 0.1154/2.58, allocations: 28.67 MB / 0.7169 GB, free: 35.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/2.58, allocations: 221.6 kB / 0.7172 GB, free: 35.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/2.59, allocations: 3.891 MB / 0.721 GB, free: 33.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/2.591, allocations: 28.05 kB / 0.721 GB, free: 33.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004195/2.596, allocations: 4.454 MB / 0.7253 GB, free: 30.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002354/2.598, allocations: 1.276 MB / 0.7266 GB, free: 29.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/2.599, allocations: 0 / 0.7266 GB, free: 29.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008791/2.6, allocations: 0.6712 MB / 0.7272 GB, free: 29.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009759/2.61, allocations: 3.51 MB / 0.7307 GB, free: 27.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01407/2.624, allocations: 8.143 MB / 0.7386 GB, free: 18.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/2.638, allocations: 5.286 MB / 0.7438 GB, free: 14.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001909/2.638, allocations: 48 kB / 0.7438 GB, free: 14.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.04092/2.679, allocations: 12.21 MB / 0.7557 GB, free: 4.328 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/2.679, allocations: 76 kB / 0.7558 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/2.679, allocations: 164 kB / 0.756 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008461/2.688, allocations: 1.707 MB / 0.7576 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01606/2.704, allocations: 2.021 MB / 0.7596 GB, free: 1.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03098/2.735, allocations: 10.95 MB / 0.7703 GB, free: 7.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/2.747, allocations: 346.5 kB / 0.7706 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00267/2.75, allocations: 0.4926 MB / 0.7711 GB, free: 6.785 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1046): * Single equations (assignments): 1041 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0037/2.753, allocations: 0.5247 MB / 0.7716 GB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002124/2.756, allocations: 469.7 kB / 0.7721 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.029/2.785, allocations: 7.191 MB / 0.7791 GB, free: 0 / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000486/2.785, allocations: 59.31 kB / 0.7792 GB, free: 0 / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001221/2.785, allocations: 13.55 kB / 0.7792 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001579/2.785, allocations: 24.03 kB / 0.7792 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05849/2.844, allocations: 15.03 MB / 0.7939 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.338e-05/2.844, allocations: 4 kB / 0.7939 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008011/2.852, allocations: 0.6135 MB / 0.7945 GB, free: 3.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008774/2.861, allocations: 1.409 MB / 0.7958 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/2.862, allocations: 11.89 kB / 0.7959 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02792/2.89, allocations: 9.923 MB / 0.8056 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/2.89, allocations: 0 / 0.8056 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5507/3.441, allocations: 11.87 MB / 0.8171 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005105/3.446, allocations: 1.045 MB / 0.8182 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002264/3.448, allocations: 8.078 kB / 0.8182 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007375/3.456, allocations: 207.2 kB / 0.8184 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001669/3.457, allocations: 205.3 kB / 0.8186 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007479/3.458, allocations: 93.2 kB / 0.8187 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008141/3.466, allocations: 2.606 MB / 0.8212 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.162e-06/3.466, allocations: 0 / 0.8212 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01259/3.479, allocations: 1.401 MB / 0.8226 GB, free: 115.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 300 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03791/3.517, allocations: 12.83 MB / 0.8351 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02591/3.543, allocations: 8.868 MB / 0.8438 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/3.543, allocations: 2.562 kB / 0.8438 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01214/3.555, allocations: 3.684 MB / 0.8474 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005674/3.561, allocations: 485.6 kB / 0.8478 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05546/3.616, allocations: 14.8 MB / 0.8623 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01337/3.63, allocations: 4.926 MB / 0.8671 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01673/3.646, allocations: 2.737 MB / 0.8698 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0104/3.657, allocations: 3.064 MB / 0.8727 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/3.657, allocations: 0 / 0.8727 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.419/4.076, allocations: 116.1 MB / 0.9861 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000301/4.076, allocations: 145.1 kB / 0.9863 GB, free: 16.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.389/12.47, allocations: 0 / 0.9863 GB, free: 16.4 MB / 0.4948 GB