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.1_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.907e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3559, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.1501/0.506, allocations: 98.32 MB / 423.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.061/0.5671, allocations: 20.46 MB / 443.7 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02514/0.5923, allocations: 0.5067 MB / 444.2 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01862/0.611, allocations: 5.292 MB / 449.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05397/0.665, allocations: 14.02 MB / 463.5 MB, free: 4.512 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008277/0.6733, allocations: 1.201 MB / 464.7 MB, free: 3.309 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.4246/1.098, allocations: 32.69 MB / 497.4 MB, free: 18.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0153/1.113, allocations: 8.733 MB / 0.4942 GB, free: 18.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/1.117, allocations: 1.673 MB / 0.4959 GB, free: 18.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005835/1.123, allocations: 2.677 MB / 0.4985 GB, free: 18.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/1.128, allocations: 1.133 MB / 0.4996 GB, free: 18.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00212/1.13, allocations: 242.9 kB / 0.4998 GB, free: 18.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004755/1.135, allocations: 3.233 MB / 0.503 GB, free: 18.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002826/1.138, allocations: 0.5436 MB / 0.5035 GB, free: 18.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/1.153, allocations: 11.45 MB / 0.5147 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.153, allocations: 0 / 0.5147 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.456e-06/1.153, allocations: 0 / 0.5147 GB, free: 13.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000533/1.153, allocations: 2.625 kB / 0.5147 GB, free: 13.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.02782/1.181, allocations: 8.008 MB / 0.5225 GB, free: 8.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.181, allocations: 12.03 kB / 0.5225 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2219/1.403, allocations: 21.59 MB / 0.5436 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/1.427, allocations: 7.108 MB / 0.5506 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006433/1.428, allocations: 480.2 kB / 0.551 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003566/1.431, allocations: 0.6331 MB / 0.5516 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05965/1.491, allocations: 19.13 MB / 0.5703 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005017/1.491, allocations: 87.2 kB / 0.5704 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003088/1.494, allocations: 298.6 kB / 0.5707 GB, free: 15.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008936/1.503, allocations: 3.183 MB / 0.5738 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05444/1.558, allocations: 15.86 MB / 0.5893 GB, free: 1.895 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1451/1.703, allocations: 69.9 MB / 0.6575 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03644/1.74, allocations: 8.242 MB / 0.6656 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/1.741, allocations: 0.666 MB / 0.6662 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.965e-05/1.741, allocations: 71.92 kB / 0.6663 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 6.773e-06/1.741, allocations: 0 / 0.6663 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.4275/2.168, allocations: 31.85 MB / 0.6974 GB, free: 212.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/2.169, allocations: 295.4 kB / 0.6977 GB, free: 211.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01654/2.185, allocations: 7.299 MB / 0.7048 GB, free: 209.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008654/2.186, allocations: 77.73 kB / 0.7049 GB, free: 209.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005019/2.191, allocations: 5.58 MB / 0.7104 GB, free: 205 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00212/2.193, allocations: 1.242 MB / 0.7116 GB, free: 204 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/2.194, allocations: 185 kB / 0.7117 GB, free: 203.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005629/2.195, allocations: 0.7032 MB / 0.7124 GB, free: 203.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009021/2.204, allocations: 3.569 MB / 0.7159 GB, free: 202.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/2.216, allocations: 9.021 MB / 0.7247 GB, free: 192.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/2.229, allocations: 5.532 MB / 0.7301 GB, free: 188.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/2.229, allocations: 56 kB / 0.7302 GB, free: 188.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.03533/2.264, allocations: 13.4 MB / 0.7433 GB, free: 175 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/2.264, allocations: 88.22 kB / 0.7433 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/2.265, allocations: 196 kB / 0.7435 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005209/2.27, allocations: 1.315 MB / 0.7448 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01384/2.284, allocations: 2.218 MB / 0.747 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/2.304, allocations: 12.7 MB / 0.7594 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.316, allocations: 0.5343 MB / 0.7599 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/2.318, allocations: 0.5468 MB / 0.7604 GB, free: 156.9 MB / 0.5105 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.009687/2.327, allocations: 3.678 MB / 0.764 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/2.329, allocations: 0.6595 MB / 0.7647 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/2.347, allocations: 6.398 MB / 0.7709 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.409e-05/2.348, allocations: 39.05 kB / 0.771 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.607e-05/2.348, allocations: 11.95 kB / 0.771 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-05/2.348, allocations: 19.94 kB / 0.771 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04531/2.393, allocations: 15.51 MB / 0.7861 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-05/2.393, allocations: 8 kB / 0.7862 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006062/2.399, allocations: 0.6007 MB / 0.7867 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004769/2.404, allocations: 0.9652 MB / 0.7877 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008342/2.405, allocations: 59.98 kB / 0.7877 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/2.423, allocations: 11.54 MB / 0.799 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.423, allocations: 4 kB / 0.799 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02479/2.448, allocations: 10.7 MB / 0.8095 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004784/2.452, allocations: 1.235 MB / 0.8107 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/2.455, allocations: 55.95 kB / 0.8107 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006539/2.461, allocations: 207.7 kB / 0.8109 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/2.463, allocations: 194.3 kB / 0.8111 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004582/2.463, allocations: 87.92 kB / 0.8112 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01297/2.476, allocations: 5.261 MB / 0.8163 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.302e-06/2.476, allocations: 4 kB / 0.8163 GB, free: 98.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01247/2.489, allocations: 1.863 MB / 0.8181 GB, free: 97.11 MB / 0.5105 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.001403/2.49, allocations: 214.7 kB / 0.8184 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02058/2.511, allocations: 9.057 MB / 0.8272 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/2.511, allocations: 4 kB / 0.8272 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007223/2.518, allocations: 3.337 MB / 0.8305 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007766/2.526, allocations: 0.9189 MB / 0.8314 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04632/2.572, allocations: 20.76 MB / 0.8516 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/2.584, allocations: 5.892 MB / 0.8574 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01314/2.598, allocations: 3.042 MB / 0.8604 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003004/2.601, allocations: 455.4 kB / 0.8608 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.863e-06/2.601, allocations: 0 / 0.8608 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.5199/3.121, allocations: 71.36 MB / 0.9305 GB, free: 182.5 MB / 0.5105 GB