Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Torque3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.964/2.964, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.656e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.4957, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/0.7926, allocations: 103.2 MB / 457.6 MB, free: 7.848 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004787/0.7932, allocations: 79.89 kB / 457.7 MB, free: 7.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.921/2.714, allocations: 218.9 MB / 0.6608 GB, free: 41.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.607e-06/2.714, allocations: 0 / 0.6608 GB, free: 41.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009679/2.715, allocations: 236.5 kB / 0.661 GB, free: 41.85 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: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.05986/2.775, allocations: 11.38 MB / 0.6721 GB, free: 37.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/2.775, allocations: 11.66 kB / 0.6721 GB, free: 37.68 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01149/2.787, allocations: 1.576 MB / 0.6736 GB, free: 37.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1199/2.907, allocations: 12.64 MB / 0.686 GB, free: 36.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06141/2.968, allocations: 12.53 MB / 0.6982 GB, free: 35.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/2.97, allocations: 0.5053 MB / 0.6987 GB, free: 35.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0091/2.979, allocations: 0.702 MB / 0.6994 GB, free: 35.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06525/3.044, allocations: 16.73 MB / 0.7157 GB, free: 35.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08427/3.128, allocations: 24.46 MB / 0.7396 GB, free: 19.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001305/3.13, allocations: 134.8 kB / 0.7397 GB, free: 19.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006951/3.137, allocations: 60 kB / 0.7398 GB, free: 19.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00752/3.144, allocations: 2.684 MB / 0.7424 GB, free: 17.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7929/3.937, allocations: 110.3 MB / 0.8502 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02673/3.964, allocations: 10.81 MB / 0.8607 GB, free: 24.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01843/3.983, allocations: 7.542 MB / 0.8681 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005361/3.988, allocations: 2.342 MB / 0.8704 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/3.988, allocations: 95.06 kB / 0.8705 GB, free: 22.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=541): time 1.427e-05/3.988, allocations: 3.469 kB / 0.8705 GB, free: 22.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=629): time 0.2801/4.268, allocations: 56.89 MB / 0.926 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/4.269, allocations: 324.2 kB / 0.9264 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02351/4.292, allocations: 7.049 MB / 0.9332 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002403/4.295, allocations: 29.67 kB / 0.9333 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00931/4.304, allocations: 7.907 MB / 0.941 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005027/4.309, allocations: 2.232 MB / 0.9432 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003525/4.313, allocations: 0 / 0.9432 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002254/4.315, allocations: 0.9309 MB / 0.9441 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0208/4.336, allocations: 6.2 MB / 0.9501 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03186/4.368, allocations: 14.01 MB / 0.9638 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02977/4.398, allocations: 9.209 MB / 0.9728 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004753/4.398, allocations: 80 kB / 0.9729 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.1172/4.515, allocations: 22.31 MB / 0.9947 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006906/4.516, allocations: 124 kB / 0.9948 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001122/4.517, allocations: 276 kB / 0.9951 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02748/4.545, allocations: 3.282 MB / 0.9983 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04182/4.587, allocations: 3.715 MB / 1.002 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06902/4.656, allocations: 21.33 MB / 1.023 GB, free: 13.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02304/4.679, allocations: 0.5966 MB / 1.023 GB, free: 12.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005219/4.684, allocations: 0.8367 MB / 1.024 GB, free: 11.82 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1255 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1799): * Single equations (assignments): 1792 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008051/4.692, allocations: 0.8338 MB / 1.025 GB, free: 10.99 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004836/4.697, allocations: 0.8215 MB / 1.026 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5621/5.259, allocations: 13.74 MB / 1.039 GB, free: 142 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001926/5.26, allocations: 64.25 kB / 1.039 GB, free: 142 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.825e-05/5.26, allocations: 16.47 kB / 1.039 GB, free: 142 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002132/5.26, allocations: 31.73 kB / 1.039 GB, free: 142 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1076/5.368, allocations: 27.66 MB / 1.066 GB, free: 140.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-05/5.368, allocations: 2.094 kB / 1.066 GB, free: 140.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01718/5.385, allocations: 1.229 MB / 1.067 GB, free: 140.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/5.402, allocations: 2.803 MB / 1.07 GB, free: 140.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001957/5.404, allocations: 24.7 kB / 1.07 GB, free: 140.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04913/5.453, allocations: 19.65 MB / 1.089 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/5.453, allocations: 6.766 kB / 1.089 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06838/5.522, allocations: 21.54 MB / 1.11 GB, free: 131.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009382/5.531, allocations: 1.835 MB / 1.112 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004638/5.536, allocations: 11.05 kB / 1.112 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01295/5.549, allocations: 384.8 kB / 1.113 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002894/5.552, allocations: 367.9 kB / 1.113 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001781/5.554, allocations: 157.1 kB / 1.113 GB, free: 130.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0147/5.568, allocations: 4.753 MB / 1.118 GB, free: 129 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.352e-06/5.568, allocations: 0 / 1.118 GB, free: 129 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02274/5.591, allocations: 2.536 MB / 1.12 GB, free: 129 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (540): * Single equations (assignments): 533 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.07747/5.669, allocations: 22.47 MB / 1.142 GB, free: 120.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05951/5.728, allocations: 15.84 MB / 1.158 GB, free: 112.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.909e-05/5.728, allocations: 4 kB / 1.158 GB, free: 112.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02306/5.751, allocations: 6.712 MB / 1.164 GB, free: 106.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01046/5.762, allocations: 0.8699 MB / 1.165 GB, free: 105.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1052/5.867, allocations: 26.92 MB / 1.191 GB, free: 82.75 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02623/5.893, allocations: 8.315 MB / 1.199 GB, free: 76.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03116/5.925, allocations: 4.663 MB / 1.204 GB, free: 73.87 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01938/5.944, allocations: 5.783 MB / 1.21 GB, free: 68.5 MB / 0.573 GB Notification: Performance of SimCode: time 2.344e-06/5.944, allocations: 0 / 1.21 GB, free: 68.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.332/7.276, allocations: 209 MB / 1.414 GB, free: 41.85 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002549/7.276, allocations: 130.9 kB / 1.414 GB, free: 41.66 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 13.48/20.75, allocations: 4 kB / 1.414 GB, free: 41.66 MB / 0.573 GB