Running command: translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.402e-05, allocations: 7.984 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3759, allocations: 54.85 MB / 362.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.1243/0.5003, allocations: 80.12 MB / 443 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05215/0.5525, allocations: 16.92 MB / 459.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01968/0.5723, allocations: 419.1 kB / 460.3 MB, free: 12.06 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01505/0.5874, allocations: 4.274 MB / 464.6 MB, free: 7.766 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04419/0.6316, allocations: 11.4 MB / 476 MB, free: 12.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006844/0.6385, allocations: 0.9751 MB / 477 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.07386/0.7124, allocations: 24.83 MB / 0.49 GB, free: 2.508 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3807/1.093, allocations: 6.713 MB / 0.4966 GB, free: 25.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003856/1.097, allocations: 1.411 MB / 0.498 GB, free: 25.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005432/1.103, allocations: 2.294 MB / 0.5002 GB, free: 25.26 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/1.107, allocations: 1.109 MB / 0.5013 GB, free: 25.26 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001845/1.108, allocations: 213.6 kB / 0.5015 GB, free: 25.26 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004161/1.113, allocations: 2.742 MB / 0.5042 GB, free: 25.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002549/1.115, allocations: 469.5 kB / 0.5046 GB, free: 25.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01523/1.131, allocations: 9.745 MB / 0.5141 GB, free: 24.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.131, allocations: 1.203 kB / 0.5141 GB, free: 24.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.647e-06/1.131, allocations: 0 / 0.5141 GB, free: 24.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004873/1.131, allocations: 0 / 0.5141 GB, free: 24.2 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: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.02317/1.154, allocations: 6.806 MB / 0.5208 GB, free: 20.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.154, allocations: 9.5 kB / 0.5208 GB, free: 20.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1687/1.323, allocations: 16.73 MB / 0.5371 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/1.341, allocations: 5.702 MB / 0.5427 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004917/1.341, allocations: 413 kB / 0.5431 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002947/1.344, allocations: 0.5298 MB / 0.5436 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05406/1.398, allocations: 16.38 MB / 0.5596 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005207/1.399, allocations: 76.8 kB / 0.5597 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002752/1.402, allocations: 258.7 kB / 0.5599 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007824/1.409, allocations: 2.894 MB / 0.5628 GB, free: 8.848 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04649/1.456, allocations: 13.42 MB / 0.5759 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1427/1.599, allocations: 61.83 MB / 0.6362 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0409/1.64, allocations: 5.933 MB / 0.642 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003985/1.64, allocations: 51.84 kB / 0.6421 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/1.64, allocations: 62.84 kB / 0.6421 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 6.112e-06/1.64, allocations: 0 / 0.6421 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.1115/1.752, allocations: 23.99 MB / 0.6656 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/1.752, allocations: 263.8 kB / 0.6658 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01874/1.771, allocations: 6.623 MB / 0.6723 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007664/1.772, allocations: 65.22 kB / 0.6724 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006413/1.778, allocations: 5.036 MB / 0.6773 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0021/1.78, allocations: 1.025 MB / 0.6783 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/1.781, allocations: 172 kB / 0.6784 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007304/1.782, allocations: 0.6657 MB / 0.6791 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009939/1.792, allocations: 3.057 MB / 0.6821 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3401/2.132, allocations: 8.267 MB / 0.6901 GB, free: 205.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/2.145, allocations: 4.915 MB / 0.6949 GB, free: 204.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003029/2.145, allocations: 52.66 kB / 0.695 GB, free: 204.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.03396/2.179, allocations: 11.83 MB / 0.7065 GB, free: 199.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/2.179, allocations: 86.97 kB / 0.7066 GB, free: 199.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003035/2.18, allocations: 185 kB / 0.7068 GB, free: 199.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004225/2.184, allocations: 1.064 MB / 0.7078 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01232/2.196, allocations: 2.002 MB / 0.7098 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/2.213, allocations: 9.796 MB / 0.7194 GB, free: 193.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.224, allocations: 499.9 kB / 0.7198 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/2.226, allocations: 0.5103 MB / 0.7203 GB, free: 193 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 843 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1050): * Single equations (assignments): 1044 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009529/2.236, allocations: 3.262 MB / 0.7235 GB, free: 191.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/2.237, allocations: 0.5943 MB / 0.7241 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/2.251, allocations: 4.881 MB / 0.7289 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-05/2.251, allocations: 28 kB / 0.7289 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/2.251, allocations: 12 kB / 0.7289 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.172e-05/2.251, allocations: 15.2 kB / 0.7289 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03419/2.286, allocations: 12.3 MB / 0.7409 GB, free: 176.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/2.286, allocations: 4 kB / 0.7409 GB, free: 176.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004505/2.29, allocations: 461.2 kB / 0.7414 GB, free: 176.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/2.294, allocations: 0.741 MB / 0.7421 GB, free: 175.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005615/2.294, allocations: 44 kB / 0.7421 GB, free: 175.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/2.308, allocations: 8.856 MB / 0.7508 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.308, allocations: 7.969 kB / 0.7508 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/2.328, allocations: 8.523 MB / 0.7591 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003881/2.332, allocations: 1.048 MB / 0.7602 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001993/2.334, allocations: 44.69 kB / 0.7602 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004987/2.339, allocations: 171.8 kB / 0.7604 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008886/2.34, allocations: 158.3 kB / 0.7605 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/2.34, allocations: 72.92 kB / 0.7606 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01137/2.352, allocations: 4.752 MB / 0.7652 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.022e-06/2.352, allocations: 4 kB / 0.7652 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01137/2.363, allocations: 1.604 MB / 0.7668 GB, free: 150.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0009965/2.364, allocations: 192.6 kB / 0.767 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01807/2.382, allocations: 7.715 MB / 0.7745 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.382, allocations: 8 kB / 0.7745 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005775/2.388, allocations: 2.651 MB / 0.7771 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006354/2.394, allocations: 0.7643 MB / 0.7779 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/2.435, allocations: 17.78 MB / 0.7952 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0109/2.446, allocations: 5.202 MB / 0.8003 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01247/2.459, allocations: 2.813 MB / 0.803 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/2.461, allocations: 399.4 kB / 0.8034 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/2.461, allocations: 0 / 0.8034 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1701/2.631, allocations: 58.25 MB / 0.8603 GB, free: 55.11 MB / 0.5261 GB