Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.929e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.467, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.1505/0.6176, allocations: 98.36 MB / 461.2 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05823/0.6759, allocations: 20.49 MB / 481.7 MB, free: 6.598 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0243/0.7002, allocations: 0.5106 MB / 482.2 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01896/0.7192, allocations: 5.285 MB / 487.5 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05347/0.7728, allocations: 14.02 MB / 0.4898 GB, free: 2.723 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008257/0.7811, allocations: 1.19 MB / 0.4909 GB, free: 1.531 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.4572/1.238, allocations: 32.69 MB / 0.5229 GB, free: 388 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01596/1.254, allocations: 8.735 MB / 0.5314 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004367/1.259, allocations: 1.672 MB / 0.533 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006248/1.265, allocations: 2.684 MB / 0.5357 GB, free: 15.33 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004713/1.27, allocations: 1.136 MB / 0.5368 GB, free: 14.5 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002257/1.272, allocations: 240 kB / 0.537 GB, free: 14.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006004/1.278, allocations: 3.235 MB / 0.5402 GB, free: 11.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003133/1.281, allocations: 0.543 MB / 0.5407 GB, free: 11.33 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01882/1.3, allocations: 11.46 MB / 0.5519 GB, free: 1.355 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.3, allocations: 0.6562 kB / 0.5519 GB, free: 1.355 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.208e-06/1.3, allocations: 4 kB / 0.5519 GB, free: 1.352 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005938/1.301, allocations: 0 / 0.5519 GB, free: 1.352 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.02965/1.331, allocations: 8.009 MB / 0.5597 GB, free: 9.941 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.331, allocations: 12.03 kB / 0.5597 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2293/1.56, allocations: 21.58 MB / 0.5808 GB, free: 5.652 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/1.583, allocations: 7.111 MB / 0.5877 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005671/1.584, allocations: 483.7 kB / 0.5882 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/1.587, allocations: 0.6378 MB / 0.5888 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05807/1.645, allocations: 19.15 MB / 0.6075 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004073/1.645, allocations: 88.61 kB / 0.6076 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001937/1.647, allocations: 298.8 kB / 0.6079 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008303/1.656, allocations: 3.181 MB / 0.611 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05507/1.711, allocations: 15.87 MB / 0.6265 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1378/1.849, allocations: 69.94 MB / 0.6948 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03754/1.886, allocations: 8.235 MB / 0.7028 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/1.888, allocations: 0.6561 MB / 0.7035 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.496e-05/1.888, allocations: 74.92 kB / 0.7035 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=307): time 6.863e-06/1.888, allocations: 3.938 kB / 0.7036 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.847/2.735, allocations: 31.85 MB / 0.7347 GB, free: 238 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/2.735, allocations: 299.6 kB / 0.7349 GB, free: 237.7 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01594/2.751, allocations: 7.291 MB / 0.7421 GB, free: 231.1 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0008392/2.752, allocations: 73.7 kB / 0.7421 GB, free: 231.1 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.004716/2.756, allocations: 5.585 MB / 0.7476 GB, free: 225.5 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/2.758, allocations: 1.244 MB / 0.7488 GB, free: 224.2 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/2.76, allocations: 197.8 kB / 0.749 GB, free: 224.1 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0005983/2.76, allocations: 0.7026 MB / 0.7497 GB, free: 223.3 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009252/2.769, allocations: 3.567 MB / 0.7532 GB, free: 219.8 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01362/2.783, allocations: 9.02 MB / 0.762 GB, free: 208.2 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/2.796, allocations: 5.541 MB / 0.7674 GB, free: 202.9 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/2.797, allocations: 52 kB / 0.7674 GB, free: 202.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.0358/2.832, allocations: 13.39 MB / 0.7805 GB, free: 189.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/2.833, allocations: 91.98 kB / 0.7806 GB, free: 189.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002701/2.833, allocations: 192.9 kB / 0.7808 GB, free: 189.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00546/2.838, allocations: 1.326 MB / 0.7821 GB, free: 187.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01407/2.852, allocations: 2.22 MB / 0.7842 GB, free: 185.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/2.873, allocations: 12.69 MB / 0.7966 GB, free: 172.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/2.885, allocations: 0.5388 MB / 0.7972 GB, free: 171.9 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002237/2.887, allocations: 0.5437 MB / 0.7977 GB, free: 171.4 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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],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 (1141): * Single equations (assignments): 1134 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009301/2.897, allocations: 3.672 MB / 0.8013 GB, free: 167.7 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/2.898, allocations: 0.6595 MB / 0.8019 GB, free: 167 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/2.917, allocations: 6.395 MB / 0.8082 GB, free: 160.6 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.273e-05/2.917, allocations: 39.89 kB / 0.8082 GB, free: 160.6 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/2.917, allocations: 11.98 kB / 0.8082 GB, free: 160.5 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/2.917, allocations: 19.95 kB / 0.8082 GB, free: 160.5 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0413/2.958, allocations: 15.52 MB / 0.8234 GB, free: 145 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/2.958, allocations: 0 / 0.8234 GB, free: 145 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005847/2.964, allocations: 0.6085 MB / 0.824 GB, free: 144.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0044/2.968, allocations: 0.9476 MB / 0.8249 GB, free: 143.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005494/2.969, allocations: 63.98 kB / 0.825 GB, free: 143.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/2.987, allocations: 11.54 MB / 0.8362 GB, free: 131.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.987, allocations: 4.031 kB / 0.8362 GB, free: 131.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02651/3.014, allocations: 10.7 MB / 0.8467 GB, free: 120.4 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004369/3.018, allocations: 1.23 MB / 0.8479 GB, free: 119.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002536/3.021, allocations: 67.5 kB / 0.848 GB, free: 119.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00612/3.027, allocations: 203.8 kB / 0.8482 GB, free: 118.9 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009475/3.028, allocations: 202.2 kB / 0.8483 GB, free: 118.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003582/3.028, allocations: 83.98 kB / 0.8484 GB, free: 118.7 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01207/3.04, allocations: 5.257 MB / 0.8536 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7.91e-07/3.04, allocations: 0 / 0.8536 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01124/3.052, allocations: 1.857 MB / 0.8554 GB, free: 111.6 MB / 0.5574 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%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/3.053, allocations: 224.5 kB / 0.8556 GB, free: 111.4 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02148/3.074, allocations: 9.053 MB / 0.8644 GB, free: 102.3 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/3.074, allocations: 4 kB / 0.8644 GB, free: 102.3 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007233/3.082, allocations: 3.339 MB / 0.8677 GB, free: 98.91 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007161/3.089, allocations: 0.9071 MB / 0.8686 GB, free: 98 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04459/3.133, allocations: 20.76 MB / 0.8889 GB, free: 77.2 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/3.146, allocations: 5.9 MB / 0.8946 GB, free: 71.26 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01385/3.16, allocations: 3.05 MB / 0.8976 GB, free: 68.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003083/3.163, allocations: 455.4 kB / 0.898 GB, free: 67.76 MB / 0.5574 GB Notification: Performance of SimCode: time 1.593e-06/3.163, allocations: 0 / 0.898 GB, free: 67.76 MB / 0.5574 GB Notification: Performance of Templates: time 0.5885/3.751, allocations: 71.37 MB / 0.9677 GB, free: 214.2 MB / 0.5574 GB