Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.083/2.083, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.917e-05, allocations: 0 / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3699, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.07928/0.4493, allocations: 50.42 MB / 375.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03693/0.4863, allocations: 11.43 MB / 386.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01375/0.5001, allocations: 275.3 kB / 387 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.5114, allocations: 2.64 MB / 389.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02997/0.5414, allocations: 7.211 MB / 396.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005825/0.5473, allocations: 0.9828 MB / 397.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05016/0.5975, allocations: 16.91 MB / 414.7 MB, free: 5.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01087/0.6085, allocations: 5.001 MB / 419.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.6119, allocations: 1.196 MB / 420.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004434/0.6164, allocations: 1.878 MB / 422.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.6203, allocations: 1.128 MB / 423.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.6221, allocations: 188 kB / 424.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003732/0.6259, allocations: 2.135 MB / 426.2 MB, free: 9.977 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.628, allocations: 368 kB / 426.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.6406, allocations: 7.563 MB / 434.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6407, allocations: 0 / 434.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6407, allocations: 0 / 434.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003451/0.641, allocations: 0 / 434.2 MB, free: 2.035 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.021/0.6621, allocations: 5.666 MB / 439.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.6621, allocations: 8.031 kB / 439.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3525/1.015, allocations: 18.98 MB / 458.8 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/1.031, allocations: 4.536 MB / 463.3 MB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/1.032, allocations: 312 kB / 463.6 MB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002555/1.034, allocations: 423.6 kB / 464.1 MB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04315/1.077, allocations: 13.91 MB / 478 MB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/1.078, allocations: 59.52 kB / 478 MB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008929/1.079, allocations: 207.8 kB / 478.2 MB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005964/1.085, allocations: 2.402 MB / 480.6 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3384/1.423, allocations: 11.74 MB / 492.4 MB, free: 123 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08997/1.513, allocations: 53.24 MB / 0.5328 GB, free: 81.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02678/1.54, allocations: 5.827 MB / 0.5385 GB, free: 75.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03222/1.572, allocations: 14.96 MB / 0.5531 GB, free: 60 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/1.572, allocations: 58.53 kB / 0.5532 GB, free: 59.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=226): time 6.071e-06/1.572, allocations: 0 / 0.5532 GB, free: 59.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=263): time 0.1396/1.712, allocations: 26.64 MB / 0.5792 GB, free: 33.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/1.712, allocations: 257.3 kB / 0.5794 GB, free: 32.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009373/1.721, allocations: 4.74 MB / 0.5841 GB, free: 28.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006263/1.722, allocations: 65.7 kB / 0.5841 GB, free: 28.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002961/1.725, allocations: 3.794 MB / 0.5878 GB, free: 24.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001514/1.727, allocations: 0.9808 MB / 0.5888 GB, free: 23.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006965/1.727, allocations: 152 kB / 0.5889 GB, free: 23.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004048/1.728, allocations: 0.6168 MB / 0.5895 GB, free: 22.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006133/1.734, allocations: 2.696 MB / 0.5922 GB, free: 19.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009062/1.743, allocations: 6.995 MB / 0.599 GB, free: 10.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009203/1.752, allocations: 4.224 MB / 0.6031 GB, free: 6.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/1.752, allocations: 44 kB / 0.6032 GB, free: 6.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=959) (initialization): time 0.02681/1.779, allocations: 9.841 MB / 0.6128 GB, free: 12.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.779, allocations: 69.47 kB / 0.6129 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002907/1.78, allocations: 152 kB / 0.613 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/1.783, allocations: 0.7337 MB / 0.6137 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01219/1.795, allocations: 1.762 MB / 0.6154 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.808, allocations: 6.446 MB / 0.6217 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008169/1.816, allocations: 417 kB / 0.6221 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/1.818, allocations: 447.9 kB / 0.6226 GB, free: 2.344 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (909): * Single equations (assignments): 904 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007603/1.826, allocations: 2.586 MB / 0.6251 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.827, allocations: 465.8 kB / 0.6255 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.841, allocations: 4.373 MB / 0.6298 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.768e-05/1.841, allocations: 28 kB / 0.6298 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.841, allocations: 8 kB / 0.6298 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.506e-05/1.841, allocations: 15.95 kB / 0.6298 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3217/2.162, allocations: 10.84 MB / 0.6404 GB, free: 140.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/2.163, allocations: 1 kB / 0.6404 GB, free: 140.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005292/2.168, allocations: 0.4884 MB / 0.6409 GB, free: 140.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002676/2.171, allocations: 491 kB / 0.6414 GB, free: 140.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006004/2.171, allocations: 48.48 kB / 0.6414 GB, free: 140.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/2.182, allocations: 5.809 MB / 0.6471 GB, free: 137.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/2.182, allocations: 2.344 kB / 0.6471 GB, free: 137.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/2.202, allocations: 7.678 MB / 0.6546 GB, free: 134.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003217/2.205, allocations: 0.8528 MB / 0.6554 GB, free: 134.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/2.207, allocations: 40.23 kB / 0.6555 GB, free: 134.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004477/2.211, allocations: 164.7 kB / 0.6556 GB, free: 134.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008456/2.212, allocations: 148 kB / 0.6558 GB, free: 134.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003565/2.213, allocations: 75.8 kB / 0.6558 GB, free: 134.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009184/2.222, allocations: 3.352 MB / 0.6591 GB, free: 133.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.293e-06/2.222, allocations: 2.266 kB / 0.6591 GB, free: 133.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008738/2.231, allocations: 1.318 MB / 0.6604 GB, free: 133.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (224): * Single equations (assignments): 219 * 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.001143/2.232, allocations: 203.9 kB / 0.6606 GB, free: 133 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01541/2.247, allocations: 6.728 MB / 0.6672 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/2.247, allocations: 0 / 0.6672 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00534/2.253, allocations: 2.353 MB / 0.6695 GB, free: 129.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/2.258, allocations: 0.5636 MB / 0.67 GB, free: 129.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03395/2.292, allocations: 15.17 MB / 0.6848 GB, free: 121.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008839/2.301, allocations: 4.221 MB / 0.689 GB, free: 118.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/2.303, allocations: 381.6 kB / 0.6893 GB, free: 118.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.014e-06/2.303, allocations: 4 kB / 0.6893 GB, free: 118.5 MB / 442.7 MB Notification: Performance of Templates: time 0.5259/2.829, allocations: 118.9 MB / 0.8054 GB, free: 133.7 MB / 442.7 MB