Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.286/2.286, allocations: 270 MB / 282.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.964e-05, allocations: 4 kB / 347 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 61.88 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.4831, allocations: 106.9 MB / 0.5036 GB, free: 15.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4834, allocations: 79.95 kB / 0.5037 GB, free: 15.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8215/1.305, allocations: 156.2 MB / 0.6562 GB, free: 14.63 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.229e-06/1.305, allocations: 4 kB / 0.6562 GB, free: 14.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005117/1.305, allocations: 156 kB / 0.6563 GB, free: 14.47 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02468/1.33, allocations: 7.624 MB / 0.6638 GB, free: 6.766 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.33, allocations: 8.031 kB / 0.6638 GB, free: 6.758 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0624/1.393, allocations: 11.94 MB / 0.6755 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03059/1.423, allocations: 9.961 MB / 0.6852 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007564/1.424, allocations: 0.5736 MB / 0.6857 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/1.427, allocations: 0.7769 MB / 0.6865 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0475/1.475, allocations: 17.89 MB / 0.704 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003902/1.475, allocations: 103 kB / 0.7041 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/1.477, allocations: 363.8 kB / 0.7044 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002866/1.48, allocations: 1.571 MB / 0.706 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3596/1.839, allocations: 14.1 MB / 0.7197 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09372/1.933, allocations: 75.48 MB / 0.7934 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02489/1.958, allocations: 7.241 MB / 0.8005 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00546/1.963, allocations: 3.452 MB / 0.8039 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/1.964, allocations: 0.66 MB / 0.8045 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.964, allocations: 55.75 kB / 0.8046 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 6.941e-06/1.964, allocations: 0 / 0.8046 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=255): time 0.0819/2.046, allocations: 22.73 MB / 0.8268 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/2.046, allocations: 283.9 kB / 0.827 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/2.059, allocations: 6.467 MB / 0.8333 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004391/2.06, allocations: 62.33 kB / 0.8334 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003482/2.063, allocations: 5.057 MB / 0.8383 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/2.065, allocations: 0.9949 MB / 0.8393 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006026/2.065, allocations: 170.9 kB / 0.8395 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004882/2.066, allocations: 0.6762 MB / 0.8401 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005534/2.071, allocations: 2.798 MB / 0.8429 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008182/2.079, allocations: 7.988 MB / 0.8507 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00842/2.088, allocations: 4.712 MB / 0.8553 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/2.088, allocations: 52 kB / 0.8553 GB, free: 13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.02402/2.112, allocations: 10.58 MB / 0.8657 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/2.112, allocations: 87.19 kB / 0.8657 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/2.112, allocations: 188 kB / 0.8659 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/2.116, allocations: 1.026 MB / 0.8669 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008145/2.124, allocations: 1.946 MB / 0.8688 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/2.142, allocations: 11.29 MB / 0.8798 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009147/2.152, allocations: 456.1 kB / 0.8803 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/2.154, allocations: 0.5171 MB / 0.8808 GB, free: 5.797 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[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],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1030): * Single equations (assignments): 1023 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002359/2.156, allocations: 0.7796 MB / 0.8816 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.158, allocations: 0.6243 MB / 0.8822 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/2.169, allocations: 4.473 MB / 0.8865 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-05/2.169, allocations: 28 kB / 0.8866 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.141e-05/2.169, allocations: 11.94 kB / 0.8866 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.504e-05/2.169, allocations: 18.77 kB / 0.8866 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0322/2.201, allocations: 12.27 MB / 0.8986 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/2.201, allocations: 0 / 0.8986 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/2.204, allocations: 408.9 kB / 0.899 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002797/2.207, allocations: 0.6983 MB / 0.8996 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004002/2.207, allocations: 43.83 kB / 0.8997 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/2.224, allocations: 10.12 MB / 0.9096 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.351e-06/2.224, allocations: 7.969 kB / 0.9096 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/2.239, allocations: 7.753 MB / 0.9171 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/2.242, allocations: 0.6778 MB / 0.9178 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/2.243, allocations: 44 kB / 0.9178 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003121/2.246, allocations: 144.5 kB / 0.918 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000494/2.247, allocations: 145.7 kB / 0.9181 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/2.247, allocations: 63.8 kB / 0.9182 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01117/2.258, allocations: 4.597 MB / 0.9227 GB, free: 144 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.283e-06/2.258, allocations: 3.938 kB / 0.9227 GB, free: 140 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02349/2.282, allocations: 2.338 MB / 0.925 GB, free: 0 / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 188 * 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 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3333/2.615, allocations: 195.9 kB / 0.9251 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0147/2.63, allocations: 7.04 MB / 0.932 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.63, allocations: 7.375 kB / 0.932 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004462/2.634, allocations: 2.473 MB / 0.9344 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/2.64, allocations: 0.9036 MB / 0.9353 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/2.669, allocations: 13.94 MB / 0.9489 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009721/2.679, allocations: 5.562 MB / 0.9544 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/2.681, allocations: 464.1 kB / 0.9548 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.746e-06/2.681, allocations: 0 / 0.9548 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.6151/3.296, allocations: 217 MB / 1.167 GB, free: 144.2 MB / 0.573 GB