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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.243e-05, allocations: 4 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 61.89 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5705, allocations: 114.6 MB / 0.5126 GB, free: 5.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5707, allocations: 72.94 kB / 0.5126 GB, free: 5.449 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8267/1.397, allocations: 137.9 MB / 0.6473 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.203e-06/1.397, allocations: 3.938 kB / 0.6473 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000418/1.398, allocations: 139.5 kB / 0.6474 GB, free: 111.1 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02217/1.42, allocations: 7.031 MB / 0.6543 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.42, allocations: 7.531 kB / 0.6543 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04221/1.462, allocations: 7.555 MB / 0.6617 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/1.489, allocations: 9.201 MB / 0.6706 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005427/1.49, allocations: 498.3 kB / 0.6711 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/1.493, allocations: 0.6531 MB / 0.6718 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05299/1.546, allocations: 16.5 MB / 0.6879 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006321/1.546, allocations: 99.2 kB / 0.688 GB, free: 99.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003364/1.55, allocations: 310.6 kB / 0.6883 GB, free: 99.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00481/1.555, allocations: 1.589 MB / 0.6898 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05799/1.613, allocations: 13.25 MB / 0.7028 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/1.735, allocations: 74.33 MB / 0.7753 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02922/1.764, allocations: 7.671 MB / 0.7828 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006487/1.77, allocations: 3.983 MB / 0.7867 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03954/1.81, allocations: 18.64 MB / 0.8049 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.655e-05/1.81, allocations: 68.5 kB / 0.805 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=287): time 7.236e-06/1.81, allocations: 0 / 0.805 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370): time 0.4834/2.294, allocations: 38.71 MB / 0.8428 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/2.294, allocations: 277.8 kB / 0.8431 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/2.305, allocations: 5.26 MB / 0.8482 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007997/2.306, allocations: 85.11 kB / 0.8483 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003737/2.31, allocations: 4.765 MB / 0.8529 GB, free: 112 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/2.312, allocations: 1.359 MB / 0.8543 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/2.313, allocations: 184.8 kB / 0.8544 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006049/2.313, allocations: 0.6906 MB / 0.8551 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007919/2.321, allocations: 3.673 MB / 0.8587 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/2.332, allocations: 8.819 MB / 0.8673 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/2.343, allocations: 5.586 MB / 0.8728 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/2.343, allocations: 59.05 kB / 0.8728 GB, free: 100 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.055/2.398, allocations: 15.35 MB / 0.8878 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002555/2.398, allocations: 86.58 kB / 0.8879 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004162/2.399, allocations: 181 kB / 0.8881 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03064/2.429, allocations: 4.015 MB / 0.892 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01869/2.448, allocations: 2.044 MB / 0.894 GB, free: 94.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04093/2.489, allocations: 20.8 MB / 0.9143 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/2.499, allocations: 0.5442 MB / 0.9148 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/2.501, allocations: 0.5302 MB / 0.9154 GB, free: 79.67 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.003023/2.504, allocations: 0.8111 MB / 0.9161 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/2.506, allocations: 0.5708 MB / 0.9167 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02684/2.533, allocations: 9.444 MB / 0.9259 GB, free: 71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.456e-05/2.533, allocations: 40 kB / 0.926 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.011e-05/2.533, allocations: 16 kB / 0.926 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.349e-05/2.533, allocations: 17.44 kB / 0.926 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05044/2.584, allocations: 18.94 MB / 0.9445 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/2.584, allocations: 4 kB / 0.9445 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/2.587, allocations: 0.5084 MB / 0.945 GB, free: 55.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01501/2.602, allocations: 3.555 MB / 0.9485 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008432/2.603, allocations: 63.98 kB / 0.9485 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.035/2.638, allocations: 18.72 MB / 0.9668 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.2e-06/2.638, allocations: 2.875 kB / 0.9668 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03162/2.67, allocations: 13.95 MB / 0.9804 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/2.672, allocations: 0.5874 MB / 0.981 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001673/2.673, allocations: 57.48 kB / 0.9811 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007746/2.681, allocations: 215.7 kB / 0.9813 GB, free: 18.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00176/2.683, allocations: 226.2 kB / 0.9815 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007492/2.684, allocations: 89.23 kB / 0.9816 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0132/2.697, allocations: 3.677 MB / 0.9852 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.012e-06/2.697, allocations: 0 / 0.9852 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01915/2.716, allocations: 1.848 MB / 0.987 GB, free: 13.08 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.001367/2.717, allocations: 236.6 kB / 0.9872 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0182/2.736, allocations: 9.189 MB / 0.9962 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.652e-06/2.736, allocations: 0 / 0.9962 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007445/2.743, allocations: 3.675 MB / 0.9998 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005216/2.748, allocations: 0.7199 MB / 1 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.391/3.139, allocations: 13.11 MB / 1.013 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0115/3.151, allocations: 5.005 MB / 1.018 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01147/3.163, allocations: 2.811 MB / 1.021 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/3.165, allocations: 375.9 kB / 1.021 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.638e-06/3.165, allocations: 0 / 1.021 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.2283/3.393, allocations: 73.55 MB / 1.093 GB, free: 105.1 MB / 0.5417 GB