Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.843e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.4348/0.5636, allocations: 60.29 MB / 471.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04223/0.6059, allocations: 13.34 MB / 484.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0168/0.6227, allocations: 327.2 kB / 484.9 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.6351, allocations: 3.083 MB / 488 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03425/0.6694, allocations: 8.571 MB / 496.5 MB, free: 1.891 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006459/0.6759, allocations: 1.221 MB / 497.7 MB, free: 0.668 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.122/0.7979, allocations: 48.17 MB / 0.5331 GB, free: 464 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.8097, allocations: 5.729 MB / 0.5387 GB, free: 10.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/0.8134, allocations: 1.485 MB / 0.5402 GB, free: 9.195 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005227/0.8186, allocations: 2.486 MB / 0.5426 GB, free: 6.703 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.8226, allocations: 1.139 MB / 0.5437 GB, free: 5.562 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.8242, allocations: 224 kB / 0.5439 GB, free: 5.344 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004431/0.8286, allocations: 2.677 MB / 0.5465 GB, free: 2.66 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.8309, allocations: 452 kB / 0.547 GB, free: 2.219 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.8449, allocations: 8.85 MB / 0.5556 GB, free: 9.344 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.845, allocations: 0 / 0.5556 GB, free: 9.344 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.845, allocations: 0 / 0.5556 GB, free: 9.344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003648/0.8454, allocations: 3.938 kB / 0.5556 GB, free: 9.34 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02369/0.8691, allocations: 6.765 MB / 0.5622 GB, free: 2.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.8691, allocations: 8.031 kB / 0.5622 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.345/1.214, allocations: 19.39 MB / 0.5812 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/1.234, allocations: 5.573 MB / 0.5866 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005288/1.235, allocations: 369.5 kB / 0.587 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/1.238, allocations: 0.5112 MB / 0.5875 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04913/1.287, allocations: 16.34 MB / 0.6034 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003244/1.287, allocations: 83.2 kB / 0.6035 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/1.289, allocations: 243.8 kB / 0.6037 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008595/1.297, allocations: 2.927 MB / 0.6066 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.409/1.706, allocations: 13.68 MB / 0.6199 GB, free: 163.8 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/1.817, allocations: 64.45 MB / 0.6829 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03711/1.854, allocations: 7.856 MB / 0.6906 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04296/1.897, allocations: 18.9 MB / 0.709 GB, free: 87.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/1.897, allocations: 76.45 kB / 0.7091 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 7.013e-06/1.897, allocations: 3.938 kB / 0.7091 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=370): time 0.3015/2.199, allocations: 51.55 MB / 0.7594 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/2.199, allocations: 265.8 kB / 0.7597 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/2.211, allocations: 5.828 MB / 0.7654 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000916/2.212, allocations: 81.7 kB / 0.7655 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00362/2.215, allocations: 4.539 MB / 0.7699 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002133/2.218, allocations: 1.362 MB / 0.7712 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009988/2.219, allocations: 188 kB / 0.7714 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005559/2.219, allocations: 0.6994 MB / 0.7721 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009393/2.229, allocations: 3.895 MB / 0.7759 GB, free: 18.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01297/2.242, allocations: 9.087 MB / 0.7848 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/2.255, allocations: 5.746 MB / 0.7904 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001633/2.255, allocations: 55.95 kB / 0.7904 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05929/2.315, allocations: 16.08 MB / 0.8061 GB, free: 1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/2.315, allocations: 85 kB / 0.8062 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003145/2.315, allocations: 180 kB / 0.8064 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3858/2.701, allocations: 4.079 MB / 0.8104 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01458/2.715, allocations: 2.061 MB / 0.8124 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05739/2.773, allocations: 22.68 MB / 0.8345 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.783, allocations: 0.5071 MB / 0.835 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002002/2.786, allocations: 0.5272 MB / 0.8355 GB, free: 155 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1088): * Single equations (assignments): 1083 * 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 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007875/2.793, allocations: 3.071 MB / 0.8385 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.795, allocations: 0.5687 MB / 0.8391 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03494/2.83, allocations: 9.823 MB / 0.8487 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.1e-05/2.83, allocations: 39.8 kB / 0.8487 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.883e-05/2.83, allocations: 18.97 kB / 0.8487 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.82e-05/2.83, allocations: 16.27 kB / 0.8488 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06056/2.891, allocations: 19.59 MB / 0.8679 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.059e-05/2.891, allocations: 4 kB / 0.8679 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005249/2.896, allocations: 0.5305 MB / 0.8684 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02094/2.917, allocations: 3.638 MB / 0.872 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008952/2.918, allocations: 60 kB / 0.872 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04626/2.964, allocations: 20.6 MB / 0.8921 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/2.964, allocations: 0 / 0.8921 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04305/3.007, allocations: 14.56 MB / 0.9063 GB, free: 96.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/3.009, allocations: 0.6069 MB / 0.9069 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002211/3.012, allocations: 56.55 kB / 0.907 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005721/3.017, allocations: 212.2 kB / 0.9072 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/3.019, allocations: 229.9 kB / 0.9074 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004432/3.019, allocations: 95.98 kB / 0.9075 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008741/3.028, allocations: 4.139 MB / 0.9116 GB, free: 91.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.81e-07/3.028, allocations: 0 / 0.9116 GB, free: 91.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01077/3.039, allocations: 1.881 MB / 0.9134 GB, free: 89.55 MB / 0.5261 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 (270): * Single equations (assignments): 265 * 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 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/3.04, allocations: 230.7 kB / 0.9136 GB, free: 89.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02243/3.062, allocations: 9.937 MB / 0.9233 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/3.063, allocations: 0 / 0.9233 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009024/3.072, allocations: 3.93 MB / 0.9271 GB, free: 75.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005715/3.077, allocations: 0.7175 MB / 0.9278 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/3.118, allocations: 19.29 MB / 0.9467 GB, free: 55.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/3.128, allocations: 5.011 MB / 0.9516 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/3.131, allocations: 455.4 kB / 0.952 GB, free: 50.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/3.131, allocations: 0 / 0.952 GB, free: 50.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.6358/3.767, allocations: 146.5 MB / 1.095 GB, free: 102.7 MB / 0.5417 GB