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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.582e-05/5.616e-05, allocations: 5.828 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 61.88 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5797, allocations: 106.8 MB / 0.5049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.58, allocations: 75.97 kB / 0.505 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.872/1.452, allocations: 155.9 MB / 0.6573 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.218e-06/1.452, allocations: 0 / 0.6573 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005249/1.453, allocations: 154.3 kB / 0.6574 GB, free: 106.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02476/1.477, allocations: 7.61 MB / 0.6649 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.477, allocations: 8.5 kB / 0.6649 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06119/1.539, allocations: 11.93 MB / 0.6765 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02909/1.568, allocations: 9.954 MB / 0.6862 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006297/1.568, allocations: 0.569 MB / 0.6868 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0032/1.572, allocations: 0.7694 MB / 0.6876 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05024/1.622, allocations: 17.86 MB / 0.705 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003764/1.622, allocations: 106.9 kB / 0.7051 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/1.624, allocations: 363.2 kB / 0.7054 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002402/1.626, allocations: 1.566 MB / 0.707 GB, free: 91.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03385/1.66, allocations: 14.08 MB / 0.7207 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09086/1.751, allocations: 75.43 MB / 0.7944 GB, free: 280 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04023/1.791, allocations: 7.416 MB / 0.8016 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006705/1.798, allocations: 3.556 MB / 0.8051 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009308/1.799, allocations: 0.6456 MB / 0.8057 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.247e-05/1.799, allocations: 64.06 kB / 0.8058 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 7.075e-06/1.799, allocations: 0 / 0.8058 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263): time 0.4103/2.21, allocations: 23 MB / 0.8283 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/2.21, allocations: 290.3 kB / 0.8285 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01439/2.224, allocations: 6.42 MB / 0.8348 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005127/2.225, allocations: 65.36 kB / 0.8349 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004303/2.229, allocations: 5.339 MB / 0.8401 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/2.23, allocations: 1.014 MB / 0.8411 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007092/2.231, allocations: 172.2 kB / 0.8412 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005062/2.232, allocations: 0.6687 MB / 0.8419 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005919/2.237, allocations: 2.843 MB / 0.8447 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008638/2.246, allocations: 8.021 MB / 0.8525 GB, free: 96.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008949/2.255, allocations: 4.742 MB / 0.8571 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001746/2.255, allocations: 57.64 kB / 0.8572 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.02591/2.281, allocations: 10.95 MB / 0.8679 GB, free: 93.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/2.281, allocations: 89.91 kB / 0.868 GB, free: 93.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002069/2.282, allocations: 186.2 kB / 0.8681 GB, free: 93.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003286/2.285, allocations: 0.9927 MB / 0.8691 GB, free: 93.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0088/2.294, allocations: 1.927 MB / 0.871 GB, free: 92.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/2.309, allocations: 10.97 MB / 0.8817 GB, free: 85.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009247/2.318, allocations: 455.8 kB / 0.8821 GB, free: 85.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/2.32, allocations: 0.5143 MB / 0.8826 GB, free: 84.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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.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 (1040): * Single equations (assignments): 1033 * 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.002261/2.322, allocations: 0.7878 MB / 0.8834 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/2.324, allocations: 0.6222 MB / 0.884 GB, free: 83.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/2.335, allocations: 4.565 MB / 0.8885 GB, free: 82.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-05/2.335, allocations: 30.44 kB / 0.8885 GB, free: 82.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.357e-05/2.335, allocations: 11.91 kB / 0.8885 GB, free: 82.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.552e-05/2.335, allocations: 11.3 kB / 0.8885 GB, free: 82.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03176/2.366, allocations: 12.4 MB / 0.9006 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/2.367, allocations: 0 / 0.9006 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002884/2.369, allocations: 386.4 kB / 0.901 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/2.372, allocations: 0.6642 MB / 0.9017 GB, free: 77.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004665/2.373, allocations: 42.16 kB / 0.9017 GB, free: 77.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/2.386, allocations: 9.871 MB / 0.9113 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.386, allocations: 3.562 kB / 0.9113 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/2.401, allocations: 7.903 MB / 0.9191 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/2.403, allocations: 0.673 MB / 0.9197 GB, free: 66.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00192/2.405, allocations: 40 kB / 0.9197 GB, free: 66.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004141/2.409, allocations: 147.9 kB / 0.9199 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007224/2.41, allocations: 156 kB / 0.92 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/2.41, allocations: 73.34 kB / 0.9201 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01057/2.421, allocations: 4.562 MB / 0.9246 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.281e-06/2.421, allocations: 4 kB / 0.9246 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01082/2.432, allocations: 1.635 MB / 0.9262 GB, free: 60.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (207): * Single equations (assignments): 200 * 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.0008034/2.433, allocations: 203.4 kB / 0.9264 GB, free: 60.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01306/2.446, allocations: 7.112 MB / 0.9333 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.02e-06/2.446, allocations: 0 / 0.9333 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004173/2.45, allocations: 2.522 MB / 0.9358 GB, free: 51.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005758/2.456, allocations: 0.9198 MB / 0.9367 GB, free: 50.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/2.485, allocations: 13.1 MB / 0.9495 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0119/2.497, allocations: 5.559 MB / 0.9549 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01015/2.508, allocations: 2.755 MB / 0.9576 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/2.51, allocations: 403.4 kB / 0.958 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.985e-06/2.51, allocations: 0 / 0.958 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.5154/3.025, allocations: 61.01 MB / 1.018 GB, free: 114.8 MB / 0.5417 GB