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_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 1.831/1.831, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.24e-05, allocations: 8 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08628, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.4525, allocations: 98.91 MB / 420.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4528, allocations: 74.58 kB / 420.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8296/1.282, allocations: 135.6 MB / 0.5434 GB, free: 74.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.011e-06/1.282, allocations: 0 / 0.5434 GB, free: 74.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004439/1.283, allocations: 135 kB / 0.5435 GB, free: 74.48 MB / 426.7 MB 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.02184/1.305, allocations: 7.043 MB / 0.5504 GB, free: 71.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.305, allocations: 10.31 kB / 0.5504 GB, free: 71.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04054/1.345, allocations: 7.567 MB / 0.5578 GB, free: 71.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/1.373, allocations: 9.784 MB / 0.5673 GB, free: 70.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006474/1.374, allocations: 495.5 kB / 0.5678 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005243/1.379, allocations: 0.6571 MB / 0.5684 GB, free: 70.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07827/1.457, allocations: 16.48 MB / 0.5845 GB, free: 66.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003918/1.458, allocations: 100 kB / 0.5846 GB, free: 66.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002253/1.46, allocations: 310.8 kB / 0.5849 GB, free: 66.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002939/1.463, allocations: 1.581 MB / 0.5865 GB, free: 66.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03468/1.498, allocations: 13.24 MB / 0.5994 GB, free: 64.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09246/1.59, allocations: 74.33 MB / 0.672 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03003/1.62, allocations: 7.661 MB / 0.6795 GB, free: 8.133 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008053/1.628, allocations: 3.98 MB / 0.6834 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2875/1.916, allocations: 18.69 MB / 0.7016 GB, free: 83.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/1.916, allocations: 70.44 kB / 0.7017 GB, free: 83.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 8.864e-06/1.916, allocations: 0 / 0.7017 GB, free: 83.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=367): time 0.1718/2.088, allocations: 40.3 MB / 0.741 GB, free: 78.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/2.088, allocations: 276.3 kB / 0.7413 GB, free: 78.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/2.099, allocations: 5.293 MB / 0.7465 GB, free: 77.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007825/2.1, allocations: 83.77 kB / 0.7465 GB, free: 77.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003605/2.104, allocations: 4.754 MB / 0.7512 GB, free: 74.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001744/2.105, allocations: 1.351 MB / 0.7525 GB, free: 73.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009345/2.106, allocations: 181.7 kB / 0.7527 GB, free: 73.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000572/2.107, allocations: 0.697 MB / 0.7534 GB, free: 72.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008035/2.115, allocations: 3.686 MB / 0.757 GB, free: 71.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/2.126, allocations: 8.819 MB / 0.7656 GB, free: 63.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/2.137, allocations: 5.603 MB / 0.771 GB, free: 61.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/2.137, allocations: 51.59 kB / 0.7711 GB, free: 61.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.04279/2.18, allocations: 15.9 MB / 0.7866 GB, free: 53.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/2.18, allocations: 84.97 kB / 0.7867 GB, free: 52.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/2.181, allocations: 180 kB / 0.7869 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01576/2.196, allocations: 4.076 MB / 0.7909 GB, free: 49.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009334/2.206, allocations: 2.048 MB / 0.7929 GB, free: 48.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04077/2.247, allocations: 21.73 MB / 0.8141 GB, free: 29.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009984/2.257, allocations: 0.5525 MB / 0.8146 GB, free: 29.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001952/2.259, allocations: 0.5288 MB / 0.8151 GB, free: 28.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1078 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002566/2.261, allocations: 0.7981 MB / 0.8159 GB, free: 27.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/2.263, allocations: 0.5746 MB / 0.8165 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02675/2.289, allocations: 9.677 MB / 0.8259 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/2.289, allocations: 40 kB / 0.826 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.822e-05/2.289, allocations: 16 kB / 0.826 GB, free: 19.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.829e-05/2.29, allocations: 21.58 kB / 0.826 GB, free: 19.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04763/2.337, allocations: 19.09 MB / 0.8446 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-05/2.337, allocations: 4 kB / 0.8446 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003454/2.341, allocations: 0.5071 MB / 0.8451 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01605/2.357, allocations: 3.558 MB / 0.8486 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000811/2.358, allocations: 67.94 kB / 0.8487 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.328/2.686, allocations: 18.72 MB / 0.867 GB, free: 85.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.545e-06/2.686, allocations: 4.812 kB / 0.867 GB, free: 85.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0583/2.744, allocations: 14.12 MB / 0.8808 GB, free: 84.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005755/2.75, allocations: 1.119 MB / 0.8818 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002851/2.753, allocations: 63.22 kB / 0.8819 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007925/2.761, allocations: 227.1 kB / 0.8821 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001727/2.763, allocations: 224 kB / 0.8823 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007935/2.763, allocations: 92.88 kB / 0.8824 GB, free: 84.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01328/2.777, allocations: 3.703 MB / 0.886 GB, free: 84.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.809e-06/2.777, allocations: 0 / 0.886 GB, free: 84.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01846/2.795, allocations: 1.85 MB / 0.8878 GB, free: 84.39 MB / 458.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 (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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002179/2.797, allocations: 226.6 kB / 0.8881 GB, free: 84.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02582/2.823, allocations: 9.227 MB / 0.8971 GB, free: 82.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/2.823, allocations: 3.844 kB / 0.8971 GB, free: 82.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01229/2.836, allocations: 3.668 MB / 0.9007 GB, free: 80.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007994/2.844, allocations: 0.7079 MB / 0.9014 GB, free: 80.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04936/2.893, allocations: 13.1 MB / 0.9141 GB, free: 76.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01225/2.906, allocations: 5.012 MB / 0.919 GB, free: 74.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01126/2.917, allocations: 2.802 MB / 0.9218 GB, free: 74.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/2.919, allocations: 381.5 kB / 0.9221 GB, free: 74.48 MB / 458.7 MB Notification: Performance of SimCode: time 2.16e-06/2.919, allocations: 1.75 kB / 0.9221 GB, free: 74.48 MB / 458.7 MB Notification: Performance of Templates: time 0.2047/3.124, allocations: 74.39 MB / 0.9948 GB, free: 20.72 MB / 458.7 MB