Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.042e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.4859, allocations: 107 MB / 489.2 MB, free: 1.52 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4862, allocations: 79.95 kB / 489.3 MB, free: 1.441 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8002/1.286, allocations: 131.6 MB / 0.6063 GB, free: 68.67 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.231e-06/1.286, allocations: 0 / 0.6063 GB, free: 68.67 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003507/1.287, allocations: 131.9 kB / 0.6064 GB, free: 68.54 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02019/1.307, allocations: 6.372 MB / 0.6126 GB, free: 62.1 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.307, allocations: 12.03 kB / 0.6126 GB, free: 62.09 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03532/1.342, allocations: 7.097 MB / 0.6196 GB, free: 54.97 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01978/1.362, allocations: 7.262 MB / 0.6267 GB, free: 47.64 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005438/1.363, allocations: 0.4973 MB / 0.6272 GB, free: 47.14 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/1.365, allocations: 0.656 MB / 0.6278 GB, free: 46.49 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03825/1.404, allocations: 16.37 MB / 0.6438 GB, free: 28.94 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003132/1.404, allocations: 79.23 kB / 0.6439 GB, free: 28.86 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/1.406, allocations: 315.8 kB / 0.6442 GB, free: 28.55 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/1.408, allocations: 1.581 MB / 0.6457 GB, free: 26.97 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03313/1.442, allocations: 13.67 MB / 0.659 GB, free: 13.29 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4426/1.884, allocations: 66.3 MB / 0.7238 GB, free: 76.21 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02182/1.906, allocations: 6.961 MB / 0.7306 GB, free: 75.53 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006987/1.913, allocations: 4.176 MB / 0.7347 GB, free: 75.48 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03067/1.944, allocations: 15.05 MB / 0.7494 GB, free: 73.99 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/1.944, allocations: 66.75 kB / 0.7494 GB, free: 73.95 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=306): time 7.489e-06/1.944, allocations: 0 / 0.7494 GB, free: 73.95 MB / 0.4949 GB Notification: Performance of matching and sorting (n=348): time 0.08967/2.034, allocations: 26.05 MB / 0.7749 GB, free: 68.47 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/2.034, allocations: 214.9 kB / 0.7751 GB, free: 68.25 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009605/2.043, allocations: 4.679 MB / 0.7797 GB, free: 66.61 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008141/2.044, allocations: 76.8 kB / 0.7797 GB, free: 66.54 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003321/2.048, allocations: 4.422 MB / 0.784 GB, free: 63.15 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001666/2.049, allocations: 1.282 MB / 0.7853 GB, free: 62.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008654/2.05, allocations: 165.9 kB / 0.7855 GB, free: 62.07 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005261/2.051, allocations: 0.65 MB / 0.7861 GB, free: 61.62 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007229/2.058, allocations: 3.535 MB / 0.7895 GB, free: 60.38 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009863/2.068, allocations: 7.966 MB / 0.7973 GB, free: 53.2 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/2.078, allocations: 5.267 MB / 0.8025 GB, free: 51.45 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/2.078, allocations: 50.38 kB / 0.8025 GB, free: 51.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.02918/2.108, allocations: 12.48 MB / 0.8147 GB, free: 41.53 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/2.108, allocations: 74.47 kB / 0.8148 GB, free: 41.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/2.108, allocations: 156 kB / 0.8149 GB, free: 41.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005158/2.113, allocations: 1.672 MB / 0.8165 GB, free: 40.06 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008982/2.122, allocations: 1.927 MB / 0.8184 GB, free: 38.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/2.139, allocations: 11.35 MB / 0.8295 GB, free: 28.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008797/2.148, allocations: 0.4901 MB / 0.83 GB, free: 27.83 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/2.15, allocations: 483.6 kB / 0.8305 GB, free: 27.38 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 51 (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.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],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 (999): * Single equations (assignments): 994 * 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.002537/2.152, allocations: 0.7184 MB / 0.8312 GB, free: 26.66 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/2.153, allocations: 0.5008 MB / 0.8316 GB, free: 26.16 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/2.171, allocations: 7.364 MB / 0.8388 GB, free: 20.13 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.225e-05/2.172, allocations: 39.84 kB / 0.8389 GB, free: 20.09 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.209e-05/2.172, allocations: 8 kB / 0.8389 GB, free: 20.09 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.756e-05/2.172, allocations: 24.28 kB / 0.8389 GB, free: 20.08 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04447/2.216, allocations: 16.01 MB / 0.8545 GB, free: 7.102 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/2.216, allocations: 4 kB / 0.8545 GB, free: 7.098 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004209/2.22, allocations: 0.6001 MB / 0.8551 GB, free: 6.617 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004699/2.225, allocations: 1.413 MB / 0.8565 GB, free: 5.633 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007741/2.226, allocations: 66.33 kB / 0.8566 GB, free: 5.574 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/2.244, allocations: 10.52 MB / 0.8669 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/2.244, allocations: 6.375 kB / 0.8669 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02753/2.272, allocations: 11.89 MB / 0.8785 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/2.276, allocations: 1.096 MB / 0.8795 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/2.277, allocations: 62.41 kB / 0.8796 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004295/2.281, allocations: 254 kB / 0.8798 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/2.283, allocations: 200.6 kB / 0.88 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004341/2.283, allocations: 87.98 kB / 0.8801 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008632/2.292, allocations: 3.289 MB / 0.8833 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.191e-06/2.292, allocations: 0 / 0.8833 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01029/2.302, allocations: 1.621 MB / 0.8849 GB, free: 8.48 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 (294): * Single equations (assignments): 289 * 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.001128/2.303, allocations: 206.8 kB / 0.8851 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01973/2.323, allocations: 8.587 MB / 0.8935 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.053e-06/2.323, allocations: 2.625 kB / 0.8935 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.009329/2.332, allocations: 3.679 MB / 0.8971 GB, free: 12.01 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/2.337, allocations: 0.625 MB / 0.8977 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/2.373, allocations: 12.97 MB / 0.9104 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/2.385, allocations: 4.934 MB / 0.9152 GB, free: 9.488 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01121/2.396, allocations: 2.681 MB / 0.9178 GB, free: 6.816 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/2.399, allocations: 379.3 kB / 0.9182 GB, free: 6.445 MB / 0.5574 GB Notification: Performance of SimCode: time 1.788e-06/2.399, allocations: 0 / 0.9182 GB, free: 6.445 MB / 0.5574 GB Notification: Performance of Templates: time 0.4777/2.877, allocations: 60.87 MB / 0.9776 GB, free: 181.6 MB / 0.573 GB