Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadModel(ModelicaTest): time 2.429/2.429, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.552e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5642, allocations: 114.4 MB / 0.5124 GB, free: 5.672 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5645, allocations: 80.73 kB / 0.5125 GB, free: 5.594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8268/1.391, allocations: 137.9 MB / 0.6471 GB, free: 111 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.578e-06/1.391, allocations: 0 / 0.6471 GB, free: 111 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004327/1.392, allocations: 130.2 kB / 0.6472 GB, free: 111 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.0228/1.415, allocations: 7.024 MB / 0.6541 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.415, allocations: 9.156 kB / 0.6541 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04198/1.457, allocations: 7.558 MB / 0.6615 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02704/1.484, allocations: 9.212 MB / 0.6705 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005441/1.484, allocations: 497.3 kB / 0.671 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/1.487, allocations: 0.6512 MB / 0.6716 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04611/1.533, allocations: 16.5 MB / 0.6877 GB, free: 99.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003584/1.534, allocations: 96.31 kB / 0.6878 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001584/1.535, allocations: 312.2 kB / 0.6881 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002547/1.538, allocations: 1.58 MB / 0.6896 GB, free: 99.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03416/1.572, allocations: 13.23 MB / 0.7026 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09676/1.669, allocations: 74.24 MB / 0.7751 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02735/1.696, allocations: 7.639 MB / 0.7825 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006377/1.703, allocations: 3.91 MB / 0.7863 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03813/1.741, allocations: 18.56 MB / 0.8045 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.595e-05/1.741, allocations: 64.56 kB / 0.8045 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=281): time 7.531e-06/1.741, allocations: 0 / 0.8045 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of matching and sorting (n=363): time 0.4798/2.221, allocations: 38.58 MB / 0.8422 GB, free: 115 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/2.221, allocations: 270.9 kB / 0.8425 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/2.232, allocations: 5.267 MB / 0.8476 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007853/2.233, allocations: 81.27 kB / 0.8477 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003607/2.236, allocations: 4.764 MB / 0.8523 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001792/2.238, allocations: 1.333 MB / 0.8536 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009922/2.239, allocations: 190 kB / 0.8538 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000568/2.24, allocations: 0.6988 MB / 0.8545 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007864/2.248, allocations: 3.637 MB / 0.8581 GB, free: 110 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/2.259, allocations: 8.784 MB / 0.8666 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/2.27, allocations: 5.563 MB / 0.8721 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/2.27, allocations: 52.38 kB / 0.8721 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1201) (initialization): time 0.04826/2.318, allocations: 15.34 MB / 0.8871 GB, free: 95.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/2.318, allocations: 92.45 kB / 0.8872 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002029/2.319, allocations: 182.5 kB / 0.8874 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01733/2.336, allocations: 4.022 MB / 0.8913 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008976/2.345, allocations: 2.037 MB / 0.8933 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03846/2.383, allocations: 20.82 MB / 0.9136 GB, free: 81.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009815/2.393, allocations: 0.5555 MB / 0.9142 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002008/2.395, allocations: 0.5186 MB / 0.9147 GB, free: 80.32 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 (1081): * Single equations (assignments): 1076 * 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%) 45,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002693/2.398, allocations: 0.8009 MB / 0.9154 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/2.399, allocations: 0.5747 MB / 0.916 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02842/2.428, allocations: 9.426 MB / 0.9252 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.443e-05/2.428, allocations: 37.67 kB / 0.9252 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-05/2.428, allocations: 23.94 kB / 0.9253 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.913e-05/2.428, allocations: 17.86 kB / 0.9253 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08594/2.514, allocations: 18.86 MB / 0.9437 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.928e-05/2.514, allocations: 0 / 0.9437 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006256/2.521, allocations: 0.5019 MB / 0.9442 GB, free: 56.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02044/2.541, allocations: 3.616 MB / 0.9477 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008146/2.542, allocations: 60.7 kB / 0.9478 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03843/2.58, allocations: 18.74 MB / 0.9661 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.416e-06/2.58, allocations: 3.438 kB / 0.9661 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04029/2.621, allocations: 13.89 MB / 0.9797 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/2.623, allocations: 0.5795 MB / 0.9802 GB, free: 19.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00192/2.625, allocations: 60.55 kB / 0.9803 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004812/2.629, allocations: 228.5 kB / 0.9805 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001247/2.631, allocations: 218.1 kB / 0.9807 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005787/2.631, allocations: 88.55 kB / 0.9808 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008791/2.64, allocations: 3.681 MB / 0.9844 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.099e-06/2.64, allocations: 0 / 0.9844 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01146/2.652, allocations: 1.845 MB / 0.9862 GB, free: 13.82 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 (263): * Single equations (assignments): 258 * 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.001147/2.653, allocations: 235.3 kB / 0.9864 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02206/2.675, allocations: 9.095 MB / 0.9953 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.675, allocations: 1.625 kB / 0.9953 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009523/2.684, allocations: 3.628 MB / 0.9988 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004918/2.689, allocations: 0.7116 MB / 0.9995 GB, free: 168 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3571/3.047, allocations: 13.04 MB / 1.012 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01242/3.059, allocations: 4.991 MB / 1.017 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01194/3.071, allocations: 2.79 MB / 1.02 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/3.073, allocations: 377.2 kB / 1.02 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.014e-06/3.073, allocations: 4.359 kB / 1.02 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.1879/3.261, allocations: 73.46 MB / 1.092 GB, free: 106.2 MB / 0.5417 GB