Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.286/2.286, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.567e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3785, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.126/0.5046, allocations: 73.69 MB / 436.6 MB, free: 3.891 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0493/0.554, allocations: 15.71 MB / 452.3 MB, free: 4.129 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01788/0.5719, allocations: 383.1 kB / 452.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0137/0.5857, allocations: 3.927 MB / 456.6 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04162/0.6273, allocations: 10.46 MB / 467 MB, free: 5.32 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007795/0.6352, allocations: 0.8736 MB / 467.9 MB, free: 4.445 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.05102/0.6863, allocations: 17.13 MB / 485 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01503/0.7014, allocations: 6.332 MB / 491.4 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003909/0.7054, allocations: 1.243 MB / 492.6 MB, free: 11.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004501/0.7099, allocations: 2.022 MB / 494.6 MB, free: 9.652 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.7138, allocations: 1.085 MB / 495.7 MB, free: 8.566 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001791/0.7156, allocations: 203.9 kB / 495.9 MB, free: 8.367 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004229/0.7199, allocations: 2.455 MB / 498.4 MB, free: 5.906 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002138/0.7221, allocations: 428 kB / 498.8 MB, free: 5.488 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3752/1.097, allocations: 9.047 MB / 0.4959 GB, free: 23.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.097, allocations: 0 / 0.4959 GB, free: 23.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.947e-06/1.097, allocations: 0 / 0.4959 GB, free: 23.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004963/1.098, allocations: 0 / 0.4959 GB, free: 23.94 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02777/1.126, allocations: 6.449 MB / 0.5022 GB, free: 21.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/1.126, allocations: 8.5 kB / 0.5022 GB, free: 21.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1204/1.246, allocations: 11.97 MB / 0.5139 GB, free: 20.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/1.262, allocations: 4.608 MB / 0.5184 GB, free: 19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006355/1.263, allocations: 389.8 kB / 0.5188 GB, free: 18.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003851/1.267, allocations: 0.505 MB / 0.5193 GB, free: 18.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05284/1.32, allocations: 16.5 MB / 0.5354 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005639/1.321, allocations: 65.02 kB / 0.5355 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004049/1.325, allocations: 243.6 kB / 0.5357 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007311/1.332, allocations: 2.94 MB / 0.5386 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04666/1.379, allocations: 14.02 MB / 0.5523 GB, free: 3.172 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1373/1.516, allocations: 60.32 MB / 0.6112 GB, free: 1.207 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05471/1.571, allocations: 8.1 MB / 0.6191 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006538/1.572, allocations: 61.44 kB / 0.6191 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/1.572, allocations: 68.2 kB / 0.6192 GB, free: 10.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 1.569e-05/1.572, allocations: 0 / 0.6192 GB, free: 10.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.1761/1.748, allocations: 34.97 MB / 0.6534 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/1.748, allocations: 220.2 kB / 0.6536 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01548/1.764, allocations: 5.918 MB / 0.6594 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.765, allocations: 75.89 kB / 0.6594 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005954/1.771, allocations: 4.57 MB / 0.6639 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002856/1.774, allocations: 1.236 MB / 0.6651 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/1.776, allocations: 172 kB / 0.6653 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001578/1.778, allocations: 0.6657 MB / 0.6659 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01286/1.791, allocations: 3.849 MB / 0.6697 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01689/1.808, allocations: 8.638 MB / 0.6781 GB, free: 344 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/1.825, allocations: 5.654 MB / 0.6836 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001583/1.825, allocations: 48 kB / 0.6837 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1115) (initialization): time 0.3916/2.217, allocations: 13.89 MB / 0.6972 GB, free: 220.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/2.217, allocations: 77.09 kB / 0.6973 GB, free: 220.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000339/2.217, allocations: 167.3 kB / 0.6975 GB, free: 220.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008668/2.226, allocations: 1.812 MB / 0.6992 GB, free: 220.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01401/2.24, allocations: 2.036 MB / 0.7012 GB, free: 220.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/2.266, allocations: 12.35 MB / 0.7133 GB, free: 215.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/2.277, allocations: 0.5246 MB / 0.7138 GB, free: 215 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002256/2.28, allocations: 0.498 MB / 0.7143 GB, free: 215 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 766 * Number of states: 0 () * Number of discrete variables: 51 (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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1038 * 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.009096/2.289, allocations: 3.104 MB / 0.7173 GB, free: 213.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002232/2.291, allocations: 0.5569 MB / 0.7179 GB, free: 213.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02832/2.32, allocations: 7.709 MB / 0.7254 GB, free: 210.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.357e-05/2.32, allocations: 33.62 kB / 0.7254 GB, free: 210.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.174e-05/2.32, allocations: 10.28 kB / 0.7254 GB, free: 210.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.734e-05/2.32, allocations: 17.25 kB / 0.7254 GB, free: 210.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05293/2.373, allocations: 16.7 MB / 0.7418 GB, free: 198.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.653e-05/2.373, allocations: 4 kB / 0.7418 GB, free: 198.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006388/2.379, allocations: 0.5987 MB / 0.7423 GB, free: 198.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007445/2.387, allocations: 1.532 MB / 0.7438 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001232/2.388, allocations: 60 kB / 0.7439 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02577/2.414, allocations: 11.58 MB / 0.7552 GB, free: 185.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/2.414, allocations: 8 kB / 0.7552 GB, free: 185 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03387/2.448, allocations: 13.13 MB / 0.768 GB, free: 172 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00469/2.453, allocations: 1.228 MB / 0.7692 GB, free: 170.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002509/2.455, allocations: 64.66 kB / 0.7693 GB, free: 170.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006538/2.462, allocations: 272.8 kB / 0.7695 GB, free: 170.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/2.463, allocations: 201.4 kB / 0.7697 GB, free: 170.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005387/2.464, allocations: 91.94 kB / 0.7698 GB, free: 170.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009666/2.473, allocations: 4.215 MB / 0.7739 GB, free: 166 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.92e-07/2.473, allocations: 0 / 0.7739 GB, free: 166 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01298/2.486, allocations: 1.706 MB / 0.7756 GB, free: 164.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.001688/2.488, allocations: 226.1 kB / 0.7758 GB, free: 164.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02295/2.511, allocations: 9.427 MB / 0.785 GB, free: 155.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/2.511, allocations: 0 / 0.785 GB, free: 155.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/2.523, allocations: 3.944 MB / 0.7889 GB, free: 151.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007256/2.531, allocations: 0.6674 MB / 0.7895 GB, free: 150.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04267/2.573, allocations: 18.53 MB / 0.8076 GB, free: 132 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01038/2.584, allocations: 4.985 MB / 0.8125 GB, free: 127 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01406/2.598, allocations: 2.924 MB / 0.8154 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003486/2.601, allocations: 399.3 kB / 0.8157 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.875e-06/2.601, allocations: 0 / 0.8157 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.1776/2.779, allocations: 65.17 MB / 0.8794 GB, free: 58.56 MB / 0.5417 GB