Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.803e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.4293/0.5615, allocations: 59.7 MB / 470.6 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04216/0.6037, allocations: 13.06 MB / 483.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01708/0.6208, allocations: 319.2 kB / 484 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.6331, allocations: 3.115 MB / 487.1 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03565/0.6688, allocations: 8.626 MB / 495.7 MB, free: 2.645 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005612/0.6745, allocations: 0.7373 MB / 496.5 MB, free: 1.906 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1207/0.7953, allocations: 47.17 MB / 0.5309 GB, free: 2.703 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01041/0.8057, allocations: 4.879 MB / 0.5357 GB, free: 13.78 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.8085, allocations: 1.036 MB / 0.5367 GB, free: 12.74 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003624/0.8122, allocations: 1.566 MB / 0.5382 GB, free: 11.17 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.8156, allocations: 1.018 MB / 0.5392 GB, free: 10.15 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.8171, allocations: 156 kB / 0.5393 GB, free: 9.996 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003472/0.8206, allocations: 1.964 MB / 0.5413 GB, free: 8.027 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.8223, allocations: 332 kB / 0.5416 GB, free: 7.703 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.8339, allocations: 6.956 MB / 0.5484 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.834, allocations: 0 / 0.5484 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.834, allocations: 0 / 0.5484 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002964/0.8343, allocations: 0 / 0.5484 GB, free: 0.7305 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01675/0.851, allocations: 5.007 MB / 0.5533 GB, free: 11.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.8511, allocations: 8.031 kB / 0.5533 GB, free: 11.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1266/0.9778, allocations: 11.71 MB / 0.5647 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/0.9951, allocations: 3.841 MB / 0.5685 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004796/0.9956, allocations: 291.3 kB / 0.5687 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/0.9976, allocations: 387.6 kB / 0.5691 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04362/1.041, allocations: 11.94 MB / 0.5808 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/1.042, allocations: 55.52 kB / 0.5808 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007979/1.042, allocations: 179.8 kB / 0.581 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006773/1.049, allocations: 2.272 MB / 0.5832 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/1.082, allocations: 9.786 MB / 0.5928 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4306/1.513, allocations: 46.38 MB / 0.6381 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01755/1.531, allocations: 3.806 MB / 0.6418 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01664/1.547, allocations: 6.331 MB / 0.648 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/1.548, allocations: 58.11 kB / 0.648 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 5.811e-06/1.548, allocations: 3.719 kB / 0.648 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166): time 0.06477/1.612, allocations: 15.1 MB / 0.6628 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/1.612, allocations: 196.1 kB / 0.6629 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.623, allocations: 5.3 MB / 0.6681 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003943/1.623, allocations: 50.53 kB / 0.6682 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00289/1.626, allocations: 3.637 MB / 0.6717 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009518/1.627, allocations: 0.6658 MB / 0.6724 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004693/1.628, allocations: 132.7 kB / 0.6725 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003682/1.628, allocations: 0.594 MB / 0.6731 GB, free: 123 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004621/1.633, allocations: 2.077 MB / 0.6751 GB, free: 122 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006934/1.64, allocations: 6.338 MB / 0.6813 GB, free: 114 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007368/1.647, allocations: 3.562 MB / 0.6848 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-05/1.647, allocations: 44 kB / 0.6848 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02062/1.668, allocations: 8.422 MB / 0.693 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.668, allocations: 68 kB / 0.6931 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/1.668, allocations: 152 kB / 0.6932 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/1.671, allocations: 0.7424 MB / 0.694 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008517/1.679, allocations: 1.521 MB / 0.6955 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.69, allocations: 6.432 MB / 0.7017 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007085/1.697, allocations: 356.6 kB / 0.7021 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.698, allocations: 424 kB / 0.7025 GB, free: 92.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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.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 (810): * Single equations (assignments): 803 * Array equations: 5 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005234/1.703, allocations: 2.472 MB / 0.7049 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.704, allocations: 461.9 kB / 0.7053 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006903/1.711, allocations: 2.689 MB / 0.708 GB, free: 86.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/1.711, allocations: 27.97 kB / 0.708 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.711, allocations: 4 kB / 0.708 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/1.711, allocations: 7.922 kB / 0.708 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/1.731, allocations: 7.586 MB / 0.7154 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.731, allocations: 7.938 kB / 0.7154 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.733, allocations: 299.9 kB / 0.7157 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/1.736, allocations: 489.8 kB / 0.7162 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/1.736, allocations: 32 kB / 0.7162 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008868/1.745, allocations: 5.791 MB / 0.7219 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.745, allocations: 4 kB / 0.7219 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.755, allocations: 5.414 MB / 0.7271 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.757, allocations: 0.5418 MB / 0.7277 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.758, allocations: 28.09 kB / 0.7277 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.76, allocations: 83.91 kB / 0.7278 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/1.761, allocations: 102 kB / 0.7279 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.761, allocations: 47.98 kB / 0.7279 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007582/1.769, allocations: 3.802 MB / 0.7316 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.042e-06/1.769, allocations: 0 / 0.7316 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007103/1.776, allocations: 1.155 MB / 0.7328 GB, free: 60.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * 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 {(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.0006309/1.776, allocations: 169.8 kB / 0.7329 GB, free: 60.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.787, allocations: 5.153 MB / 0.738 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.787, allocations: 5.125 kB / 0.738 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002951/1.79, allocations: 1.487 MB / 0.7394 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/1.795, allocations: 0.5768 MB / 0.74 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/1.822, allocations: 13.16 MB / 0.7528 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007549/1.829, allocations: 3.959 MB / 0.7567 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/1.831, allocations: 351.4 kB / 0.757 GB, free: 35.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/1.831, allocations: 0 / 0.757 GB, free: 35.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.5755/2.407, allocations: 109.5 MB / 0.864 GB, free: 129 MB / 0.5261 GB