Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.628e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.49, allocations: 105.7 MB / 487.9 MB, free: 2.793 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4903, allocations: 75.95 kB / 488 MB, free: 2.719 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8921/1.382, allocations: 171.1 MB / 0.6436 GB, free: 30.24 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.146e-06/1.383, allocations: 0 / 0.6436 GB, free: 30.24 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004986/1.383, allocations: 172 kB / 0.6438 GB, free: 30.07 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.02454/1.408, allocations: 8.259 MB / 0.6518 GB, free: 21.73 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.408, allocations: 8.031 kB / 0.6518 GB, free: 21.72 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06029/1.468, allocations: 12.09 MB / 0.6636 GB, free: 9.602 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02891/1.497, allocations: 10.96 MB / 0.6743 GB, free: 14.56 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009574/1.498, allocations: 0.63 MB / 0.675 GB, free: 13.93 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003784/1.502, allocations: 0.855 MB / 0.6758 GB, free: 13.07 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05679/1.558, allocations: 19.76 MB / 0.6951 GB, free: 7.777 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006234/1.559, allocations: 111 kB / 0.6952 GB, free: 7.668 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003458/1.563, allocations: 399.8 kB / 0.6956 GB, free: 7.277 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003885/1.567, allocations: 1.819 MB / 0.6974 GB, free: 5.457 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04539/1.612, allocations: 15.75 MB / 0.7127 GB, free: 5.684 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4218/2.034, allocations: 82.2 MB / 0.793 GB, free: 41.26 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02756/2.061, allocations: 8.04 MB / 0.8009 GB, free: 40.55 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006956/2.068, allocations: 4.074 MB / 0.8048 GB, free: 40.26 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008526/2.069, allocations: 0.6675 MB / 0.8055 GB, free: 39.67 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/2.069, allocations: 67.47 kB / 0.8056 GB, free: 39.61 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=311): time 8.757e-06/2.069, allocations: 0 / 0.8056 GB, free: 39.61 MB / 0.4949 GB Notification: Performance of matching and sorting (n=335): time 0.09662/2.166, allocations: 26.26 MB / 0.8312 GB, free: 29.8 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/2.166, allocations: 301 kB / 0.8315 GB, free: 29.48 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/2.18, allocations: 6.824 MB / 0.8382 GB, free: 27.15 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006396/2.181, allocations: 79.45 kB / 0.8382 GB, free: 27.08 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004411/2.185, allocations: 5.873 MB / 0.844 GB, free: 22.71 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/2.187, allocations: 1.272 MB / 0.8452 GB, free: 21.79 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008005/2.188, allocations: 194 kB / 0.8454 GB, free: 21.64 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005629/2.188, allocations: 0.7127 MB / 0.8461 GB, free: 21.16 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007417/2.196, allocations: 3.435 MB / 0.8494 GB, free: 19.99 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.207, allocations: 9.08 MB / 0.8583 GB, free: 10.65 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/2.217, allocations: 5.55 MB / 0.8637 GB, free: 6.277 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/2.217, allocations: 56 kB / 0.8638 GB, free: 6.223 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1262) (initialization): time 0.03378/2.251, allocations: 12.85 MB / 0.8763 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/2.251, allocations: 93.72 kB / 0.8764 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003088/2.251, allocations: 208.1 kB / 0.8766 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/2.255, allocations: 1.059 MB / 0.8777 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/2.266, allocations: 2.244 MB / 0.8798 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/2.285, allocations: 11.3 MB / 0.8909 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/2.295, allocations: 0.525 MB / 0.8914 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002152/2.297, allocations: 0.5751 MB / 0.892 GB, free: 13.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],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.color[3],frameTorque2.color[2],frameTorque2.color[1],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 (1182): * Single equations (assignments): 1175 * 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.002259/2.3, allocations: 0.8542 MB / 0.8928 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/2.301, allocations: 0.6788 MB / 0.8935 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/2.316, allocations: 5.948 MB / 0.8993 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-05/2.316, allocations: 43.23 kB / 0.8993 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/2.316, allocations: 12 kB / 0.8993 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.388e-05/2.317, allocations: 14.44 kB / 0.8993 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04098/2.358, allocations: 15.02 MB / 0.914 GB, free: 10.31 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/2.358, allocations: 0 / 0.914 GB, free: 10.31 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004086/2.362, allocations: 0.5552 MB / 0.9145 GB, free: 9.867 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/2.365, allocations: 0.7068 MB / 0.9152 GB, free: 9.324 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005975/2.365, allocations: 58.3 kB / 0.9153 GB, free: 9.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3401/2.705, allocations: 10.1 MB / 0.9252 GB, free: 127.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.068e-06/2.705, allocations: 4.984 kB / 0.9252 GB, free: 127.2 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/2.728, allocations: 10.08 MB / 0.935 GB, free: 126.1 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003848/2.732, allocations: 1.195 MB / 0.9362 GB, free: 126 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001851/2.734, allocations: 54.41 kB / 0.9362 GB, free: 126 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00465/2.738, allocations: 195.5 kB / 0.9364 GB, free: 126 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008625/2.739, allocations: 195.4 kB / 0.9366 GB, free: 126 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003707/2.74, allocations: 88.88 kB / 0.9367 GB, free: 126 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01146/2.751, allocations: 4.865 MB / 0.9414 GB, free: 125.8 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.44e-06/2.751, allocations: 0 / 0.9414 GB, free: 125.8 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01167/2.763, allocations: 1.871 MB / 0.9433 GB, free: 125.8 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (276): * Single equations (assignments): 269 * 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.0008908/2.764, allocations: 218.1 kB / 0.9435 GB, free: 125.7 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01699/2.781, allocations: 8.549 MB / 0.9518 GB, free: 125.2 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/2.781, allocations: 0 / 0.9518 GB, free: 125.2 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.005843/2.787, allocations: 3.132 MB / 0.9549 GB, free: 124.8 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006262/2.793, allocations: 0.929 MB / 0.9558 GB, free: 124.7 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0476/2.841, allocations: 15.01 MB / 0.9704 GB, free: 121.8 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02318/2.864, allocations: 6.135 MB / 0.9764 GB, free: 120.9 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.02274/2.887, allocations: 3.097 MB / 0.9794 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004549/2.891, allocations: 457.1 kB / 0.9799 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of SimCode: time 2.734e-06/2.891, allocations: 0 / 0.9799 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of Templates: time 0.1868/3.078, allocations: 68.4 MB / 1.047 GB, free: 81.3 MB / 0.5418 GB