Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.358/3.358, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.815e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4873, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.7105, allocations: 100.6 MB / 455 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.7108, allocations: 79.89 kB / 455.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003/1.714, allocations: 130.4 MB / 0.5718 GB, free: 7.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.367e-06/1.714, allocations: 4 kB / 0.5718 GB, free: 7.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005217/1.715, allocations: 128 kB / 0.5719 GB, free: 7.52 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.03358/1.748, allocations: 6.431 MB / 0.5782 GB, free: 1.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.021e-05/1.748, allocations: 12.03 kB / 0.5782 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006072/1.754, allocations: 0.9258 MB / 0.5791 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07127/1.826, allocations: 7.129 MB / 0.5861 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03551/1.861, allocations: 7.235 MB / 0.5932 GB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006973/1.862, allocations: 289.7 kB / 0.5934 GB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004282/1.866, allocations: 395.9 kB / 0.5938 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03371/1.9, allocations: 9.52 MB / 0.6031 GB, free: 7.422 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0509/1.951, allocations: 14.39 MB / 0.6172 GB, free: 7.688 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005698/1.952, allocations: 87.17 kB / 0.6172 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003583/1.955, allocations: 40 kB / 0.6173 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00494/1.96, allocations: 1.562 MB / 0.6188 GB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5642/2.525, allocations: 67.17 MB / 0.6844 GB, free: 41.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/2.537, allocations: 5.591 MB / 0.6899 GB, free: 40.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00845/2.545, allocations: 3.807 MB / 0.6936 GB, free: 40.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003712/2.546, allocations: 57.98 kB / 0.6936 GB, free: 40.49 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.454e-05/2.546, allocations: 64.23 kB / 0.6937 GB, free: 40.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=290): time 1.198e-05/2.546, allocations: 0 / 0.6937 GB, free: 40.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=334): time 0.126/2.672, allocations: 29.32 MB / 0.7223 GB, free: 30.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.672, allocations: 215.8 kB / 0.7225 GB, free: 30.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/2.684, allocations: 4.251 MB / 0.7267 GB, free: 28.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001111/2.685, allocations: 25.7 kB / 0.7267 GB, free: 28.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004434/2.689, allocations: 4.694 MB / 0.7313 GB, free: 25.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002233/2.691, allocations: 1.211 MB / 0.7325 GB, free: 24.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/2.693, allocations: 0 / 0.7325 GB, free: 24.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006244/2.693, allocations: 0.6855 MB / 0.7332 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009558/2.703, allocations: 3.619 MB / 0.7367 GB, free: 21.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0139/2.717, allocations: 8.626 MB / 0.7451 GB, free: 11.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/2.73, allocations: 5.508 MB / 0.7505 GB, free: 7.223 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/2.731, allocations: 52 kB / 0.7505 GB, free: 7.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.04324/2.774, allocations: 12.7 MB / 0.7629 GB, free: 12.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/2.774, allocations: 84 kB / 0.763 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003346/2.774, allocations: 176 kB / 0.7632 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009014/2.783, allocations: 1.701 MB / 0.7648 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0189/2.802, allocations: 2.173 MB / 0.767 GB, free: 9.203 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03182/2.834, allocations: 10.86 MB / 0.7776 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01279/2.847, allocations: 372.8 kB / 0.7779 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002833/2.85, allocations: 0.5164 MB / 0.7784 GB, free: 15.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * Number of states: 0 () * Number of discrete variables: 51 (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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1091): * Single equations (assignments): 1086 * 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.00368/2.854, allocations: 0.5547 MB / 0.779 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001954/2.856, allocations: 481.8 kB / 0.7794 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02924/2.885, allocations: 7.14 MB / 0.7864 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001315/2.885, allocations: 39.95 kB / 0.7864 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.054e-05/2.885, allocations: 11.66 kB / 0.7865 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001159/2.885, allocations: 14.58 kB / 0.7865 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0671/2.952, allocations: 15.27 MB / 0.8014 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.835e-05/2.952, allocations: 8.062 kB / 0.8014 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009315/2.962, allocations: 0.6447 MB / 0.802 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008909/2.971, allocations: 1.408 MB / 0.8034 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/2.972, allocations: 23.88 kB / 0.8034 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02832/3, allocations: 9.842 MB / 0.813 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.919e-05/3, allocations: 13.67 kB / 0.813 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4775/3.478, allocations: 12.34 MB / 0.8251 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004634/3.483, allocations: 1.085 MB / 0.8262 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001758/3.484, allocations: 3.906 kB / 0.8262 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006743/3.491, allocations: 227.1 kB / 0.8264 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0015/3.493, allocations: 199.7 kB / 0.8266 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005906/3.493, allocations: 93.08 kB / 0.8267 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007705/3.501, allocations: 2.843 MB / 0.8294 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.122e-06/3.501, allocations: 0 / 0.8294 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01263/3.514, allocations: 1.441 MB / 0.8308 GB, free: 115.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (280): * Single equations (assignments): 275 * 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.03521/3.549, allocations: 13.74 MB / 0.8443 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0245/3.574, allocations: 9.094 MB / 0.8531 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/3.574, allocations: 2.281 kB / 0.8531 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01114/3.585, allocations: 3.627 MB / 0.8567 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005684/3.59, allocations: 499.4 kB / 0.8572 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05605/3.647, allocations: 15.13 MB / 0.8719 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01329/3.66, allocations: 4.998 MB / 0.8768 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01612/3.676, allocations: 2.91 MB / 0.8797 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009125/3.685, allocations: 3.115 MB / 0.8827 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/3.685, allocations: 0 / 0.8827 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4007/4.086, allocations: 117.1 MB / 0.997 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003303/4.086, allocations: 153.1 kB / 0.9972 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.672/12.76, allocations: 3.938 kB / 0.9972 GB, free: 4.051 MB / 0.4948 GB