Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.98e-05, allocations: 4 kB / 347 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3226, allocations: 61.86 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2196/0.5422, allocations: 107.4 MB / 0.5041 GB, free: 15.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.5425, allocations: 71.97 kB / 0.5042 GB, free: 15.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6662/1.209, allocations: 120.1 MB / 0.6214 GB, free: 18.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.217e-06/1.209, allocations: 0 / 0.6214 GB, free: 18.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003219/1.209, allocations: 112 kB / 0.6215 GB, free: 18.39 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01774/1.227, allocations: 5.871 MB / 0.6273 GB, free: 12.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.227, allocations: 8.031 kB / 0.6273 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03475/1.262, allocations: 6.97 MB / 0.6341 GB, free: 5.445 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/1.281, allocations: 6.671 MB / 0.6406 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006387/1.281, allocations: 451.9 kB / 0.641 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/1.284, allocations: 0.5934 MB / 0.6416 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04235/1.327, allocations: 14.85 MB / 0.6561 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003773/1.327, allocations: 75.33 kB / 0.6562 GB, free: 13.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002364/1.329, allocations: 283.9 kB / 0.6564 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002733/1.332, allocations: 1.365 MB / 0.6578 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/1.367, allocations: 12.29 MB / 0.6698 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4309/1.798, allocations: 60.82 MB / 0.7292 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/1.818, allocations: 6.069 MB / 0.7351 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005488/1.824, allocations: 3.566 MB / 0.7386 GB, free: 72.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02422/1.848, allocations: 12.85 MB / 0.7511 GB, free: 71.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/1.848, allocations: 60.48 kB / 0.7512 GB, free: 71.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 7.002e-06/1.848, allocations: 0 / 0.7512 GB, free: 71.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.08309/1.931, allocations: 23.11 MB / 0.7738 GB, free: 67.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/1.931, allocations: 209.5 kB / 0.774 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008532/1.94, allocations: 4.401 MB / 0.7783 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005676/1.941, allocations: 67 kB / 0.7783 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.943, allocations: 3.885 MB / 0.7821 GB, free: 63.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/1.945, allocations: 1.012 MB / 0.7831 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007481/1.945, allocations: 141.6 kB / 0.7832 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000466/1.946, allocations: 0.6131 MB / 0.7838 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006001/1.952, allocations: 2.958 MB / 0.7867 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00837/1.96, allocations: 7.023 MB / 0.7936 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008518/1.969, allocations: 4.521 MB / 0.798 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.969, allocations: 41.06 kB / 0.798 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02513/1.994, allocations: 10.74 MB / 0.8085 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.994, allocations: 67.95 kB / 0.8086 GB, free: 50.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/1.995, allocations: 144 kB / 0.8087 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004882/1.999, allocations: 1.651 MB / 0.8104 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007375/2.007, allocations: 1.661 MB / 0.812 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/2.023, allocations: 11.33 MB / 0.823 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007309/2.03, allocations: 428 kB / 0.8234 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/2.032, allocations: 437.4 kB / 0.8239 GB, free: 36.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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.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 (867): * Single equations (assignments): 862 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001418/2.033, allocations: 0.6606 MB / 0.8245 GB, free: 35.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/2.034, allocations: 462 kB / 0.825 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/2.047, allocations: 6.026 MB / 0.8308 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/2.047, allocations: 29.64 kB / 0.8309 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/2.047, allocations: 11.95 kB / 0.8309 GB, free: 30.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.876e-05/2.047, allocations: 14.72 kB / 0.8309 GB, free: 30.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02951/2.077, allocations: 13.45 MB / 0.844 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/2.077, allocations: 3.953 kB / 0.844 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/2.08, allocations: 448.5 kB / 0.8445 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004489/2.084, allocations: 1.417 MB / 0.8458 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005609/2.085, allocations: 46.97 kB / 0.8459 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/2.101, allocations: 10.58 MB / 0.8562 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.708e-06/2.101, allocations: 7.953 kB / 0.8562 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/2.119, allocations: 9.788 MB / 0.8658 GB, free: 376 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/2.12, allocations: 0.4979 MB / 0.8663 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/2.121, allocations: 47.78 kB / 0.8663 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/2.125, allocations: 207.9 kB / 0.8665 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007422/2.125, allocations: 148.4 kB / 0.8667 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003358/2.126, allocations: 75.64 kB / 0.8667 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007617/2.133, allocations: 3.081 MB / 0.8697 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.088e-06/2.133, allocations: 0 / 0.8697 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008933/2.142, allocations: 1.413 MB / 0.8711 GB, free: 11.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (212): * Single equations (assignments): 207 * 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.0008973/2.143, allocations: 206.4 kB / 0.8713 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01605/2.159, allocations: 7.202 MB / 0.8783 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/2.159, allocations: 0 / 0.8783 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00759/2.167, allocations: 3.066 MB / 0.8813 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/2.171, allocations: 0.6085 MB / 0.8819 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/2.202, allocations: 12.02 MB / 0.8937 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01067/2.213, allocations: 4.488 MB / 0.8981 GB, free: 416 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/2.215, allocations: 371.4 kB / 0.8984 GB, free: 48 kB / 0.5417 GB Notification: Performance of SimCode: time 1.836e-06/2.215, allocations: 3.938 kB / 0.8984 GB, free: 44 kB / 0.5417 GB Notification: Performance of Templates: time 0.5012/2.716, allocations: 124.8 MB / 1.02 GB, free: 125.1 MB / 0.573 GB