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_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.598/2.598, allocations: 269 MB / 284.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.062e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.4159/0.5511, allocations: 52.64 MB / 463.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04639/0.5976, allocations: 11.85 MB / 475.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01574/0.6134, allocations: 291.2 kB / 475.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.6243, allocations: 2.695 MB / 478.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03292/0.6572, allocations: 7.497 MB / 485.9 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006287/0.6636, allocations: 0.9595 MB / 486.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1432/0.8068, allocations: 47.34 MB / 0.5217 GB, free: 12.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.8177, allocations: 5.017 MB / 0.5266 GB, free: 7.129 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.8209, allocations: 1.204 MB / 0.5278 GB, free: 5.922 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004413/0.8254, allocations: 1.874 MB / 0.5296 GB, free: 4.043 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.8293, allocations: 1.089 MB / 0.5306 GB, free: 2.953 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001646/0.831, allocations: 188 kB / 0.5308 GB, free: 2.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003811/0.8348, allocations: 2.131 MB / 0.5329 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.837, allocations: 372 kB / 0.5333 GB, free: 276 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.8499, allocations: 7.54 MB / 0.5406 GB, free: 8.711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.85, allocations: 0 / 0.5406 GB, free: 8.711 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.85, allocations: 0 / 0.5406 GB, free: 8.711 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003358/0.8503, allocations: 0 / 0.5406 GB, free: 8.711 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01996/0.8703, allocations: 5.584 MB / 0.5461 GB, free: 3.051 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.8704, allocations: 8.031 kB / 0.5461 GB, free: 3.043 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3642/1.235, allocations: 18.97 MB / 0.5646 GB, free: 36 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/1.252, allocations: 4.201 MB / 0.5687 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000448/1.252, allocations: 319.9 kB / 0.569 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/1.255, allocations: 427.6 kB / 0.5694 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04305/1.298, allocations: 13.88 MB / 0.583 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/1.298, allocations: 63.42 kB / 0.583 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/1.3, allocations: 195.8 kB / 0.5832 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007396/1.307, allocations: 2.527 MB / 0.5857 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04106/1.348, allocations: 11.76 MB / 0.5972 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4394/1.788, allocations: 53.31 MB / 0.6492 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.028/1.816, allocations: 5.837 MB / 0.6549 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03365/1.849, allocations: 14.93 MB / 0.6695 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/1.85, allocations: 65.69 kB / 0.6696 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 6.853e-06/1.85, allocations: 0 / 0.6696 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.1394/1.989, allocations: 26.58 MB / 0.6955 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/1.989, allocations: 264.8 kB / 0.6958 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009966/1.999, allocations: 4.721 MB / 0.7004 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006194/2, allocations: 66.41 kB / 0.7005 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003062/2.003, allocations: 3.804 MB / 0.7042 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/2.004, allocations: 0.9846 MB / 0.7051 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007897/2.005, allocations: 144 kB / 0.7053 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005077/2.006, allocations: 0.6247 MB / 0.7059 GB, free: 92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006831/2.013, allocations: 2.7 MB / 0.7085 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009805/2.022, allocations: 7.022 MB / 0.7154 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009723/2.032, allocations: 4.231 MB / 0.7195 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/2.032, allocations: 44 kB / 0.7196 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02528/2.058, allocations: 9.867 MB / 0.7292 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/2.058, allocations: 68 kB / 0.7293 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/2.058, allocations: 152 kB / 0.7294 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/2.061, allocations: 0.7344 MB / 0.7301 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/2.072, allocations: 1.766 MB / 0.7318 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/2.083, allocations: 6.469 MB / 0.7382 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007915/2.091, allocations: 403.4 kB / 0.7385 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/2.093, allocations: 441.2 kB / 0.739 GB, free: 55.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (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.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 (913): * Single equations (assignments): 908 * 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.006412/2.099, allocations: 2.589 MB / 0.7415 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/2.1, allocations: 473.9 kB / 0.7419 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/2.113, allocations: 4.372 MB / 0.7462 GB, free: 48.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.483e-05/2.113, allocations: 28 kB / 0.7462 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/2.113, allocations: 7.938 kB / 0.7462 GB, free: 48.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/2.113, allocations: 11.95 kB / 0.7463 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0314/2.145, allocations: 10.85 MB / 0.7569 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/2.145, allocations: 4 kB / 0.7569 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004968/2.15, allocations: 0.4914 MB / 0.7573 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/2.152, allocations: 0.4894 MB / 0.7578 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005373/2.153, allocations: 40.7 kB / 0.7579 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00931/2.162, allocations: 5.812 MB / 0.7635 GB, free: 30.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/2.162, allocations: 4 kB / 0.7635 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/2.179, allocations: 7.682 MB / 0.771 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/2.181, allocations: 0.5067 MB / 0.7715 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/2.183, allocations: 44 kB / 0.7716 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004433/2.187, allocations: 168.7 kB / 0.7717 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008051/2.188, allocations: 145.7 kB / 0.7719 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002908/2.188, allocations: 68.92 kB / 0.7719 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008026/2.196, allocations: 3.351 MB / 0.7752 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.197, allocations: 0 / 0.7752 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008335/2.205, allocations: 1.315 MB / 0.7765 GB, free: 16.92 MB / 0.5105 GB 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.00124/2.206, allocations: 215.8 kB / 0.7767 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01482/2.221, allocations: 6.745 MB / 0.7833 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.221, allocations: 0 / 0.7833 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004652/2.226, allocations: 2.36 MB / 0.7856 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/2.23, allocations: 0.5618 MB / 0.7861 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/2.264, allocations: 15.17 MB / 0.801 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009372/2.273, allocations: 4.226 MB / 0.8051 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002567/2.276, allocations: 383.3 kB / 0.8055 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of SimCode: time 1.432e-06/2.276, allocations: 0 / 0.8055 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of Templates: time 0.5902/2.866, allocations: 119 MB / 0.9216 GB, free: 79.64 MB / 0.5261 GB