Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 2.076/2.076, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.263e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08385, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.4573, allocations: 103.1 MB / 420.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4576, allocations: 84.83 kB / 420.1 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7874/1.245, allocations: 136.3 MB / 0.5434 GB, free: 85.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.579e-06/1.245, allocations: 0 / 0.5434 GB, free: 85.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004189/1.246, allocations: 135.1 kB / 0.5436 GB, free: 85.67 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02182/1.267, allocations: 7.058 MB / 0.5505 GB, free: 83.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.267, allocations: 7.219 kB / 0.5505 GB, free: 83.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03883/1.306, allocations: 7.562 MB / 0.5579 GB, free: 82.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02647/1.333, allocations: 9.701 MB / 0.5673 GB, free: 81.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/1.333, allocations: 0.4886 MB / 0.5678 GB, free: 81.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/1.336, allocations: 0.6526 MB / 0.5684 GB, free: 81.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03926/1.376, allocations: 16.5 MB / 0.5846 GB, free: 76.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003728/1.376, allocations: 103.8 kB / 0.5847 GB, free: 76.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002048/1.378, allocations: 310 kB / 0.5849 GB, free: 76.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002706/1.381, allocations: 1.582 MB / 0.5865 GB, free: 75.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03351/1.414, allocations: 13.26 MB / 0.5994 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4376/1.852, allocations: 74.39 MB / 0.6721 GB, free: 34.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0591/1.911, allocations: 7.667 MB / 0.6796 GB, free: 33.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01316/1.924, allocations: 3.977 MB / 0.6835 GB, free: 33.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04033/1.965, allocations: 18.71 MB / 0.7017 GB, free: 28.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.203e-05/1.965, allocations: 68.81 kB / 0.7018 GB, free: 28.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 1.296e-05/1.965, allocations: 0 / 0.7018 GB, free: 28.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=370): time 0.2123/2.177, allocations: 38.95 MB / 0.7398 GB, free: 22.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/2.177, allocations: 269.1 kB / 0.7401 GB, free: 21.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/2.188, allocations: 5.318 MB / 0.7453 GB, free: 20.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007703/2.189, allocations: 82.39 kB / 0.7454 GB, free: 19.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003678/2.193, allocations: 4.777 MB / 0.75 GB, free: 16.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001755/2.194, allocations: 1.36 MB / 0.7513 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009067/2.195, allocations: 190.6 kB / 0.7515 GB, free: 15.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005434/2.196, allocations: 0.6933 MB / 0.7522 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007476/2.203, allocations: 3.672 MB / 0.7558 GB, free: 13.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/2.214, allocations: 8.812 MB / 0.7644 GB, free: 2.707 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01431/2.228, allocations: 5.779 MB / 0.77 GB, free: 14.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/2.228, allocations: 52 kB / 0.7701 GB, free: 14.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.04527/2.273, allocations: 15.37 MB / 0.7851 GB, free: 2.875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/2.274, allocations: 82.03 kB / 0.7852 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002759/2.274, allocations: 184 kB / 0.7854 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0184/2.292, allocations: 4.096 MB / 0.7894 GB, free: 0 / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00994/2.302, allocations: 2.054 MB / 0.7914 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04473/2.347, allocations: 20.81 MB / 0.8117 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009936/2.357, allocations: 0.5423 MB / 0.8122 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002159/2.359, allocations: 0.5262 MB / 0.8127 GB, free: 9.688 MB / 474.7 MB 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.002386/2.362, allocations: 0.8129 MB / 0.8135 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/2.363, allocations: 0.5746 MB / 0.8141 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02943/2.393, allocations: 9.449 MB / 0.8233 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/2.393, allocations: 43.66 kB / 0.8233 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.941e-05/2.393, allocations: 16 kB / 0.8234 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.327e-05/2.393, allocations: 15.94 kB / 0.8234 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05558/2.449, allocations: 18.95 MB / 0.8419 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-05/2.449, allocations: 4 kB / 0.8419 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003643/2.452, allocations: 0.5148 MB / 0.8424 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01646/2.469, allocations: 3.563 MB / 0.8459 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007771/2.47, allocations: 59.98 kB / 0.8459 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3077/2.777, allocations: 18.71 MB / 0.8642 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.597e-06/2.777, allocations: 5.859 kB / 0.8642 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0341/2.812, allocations: 13.96 MB / 0.8778 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003868/2.815, allocations: 1.124 MB / 0.8789 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001933/2.817, allocations: 65.14 kB / 0.879 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004825/2.822, allocations: 217.6 kB / 0.8792 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/2.824, allocations: 224.5 kB / 0.8794 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005948/2.824, allocations: 95.67 kB / 0.8795 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009193/2.833, allocations: 3.716 MB / 0.8831 GB, free: 142 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.304e-06/2.834, allocations: 0 / 0.8831 GB, free: 142 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0116/2.845, allocations: 1.852 MB / 0.8849 GB, free: 142 MB / 0.4948 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.001111/2.846, allocations: 238.3 kB / 0.8852 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01855/2.865, allocations: 9.18 MB / 0.8941 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/2.865, allocations: 2.375 kB / 0.8941 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007467/2.872, allocations: 3.675 MB / 0.8977 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004974/2.877, allocations: 0.7315 MB / 0.8984 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03116/2.909, allocations: 13.16 MB / 0.9113 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01044/2.919, allocations: 5.021 MB / 0.9162 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01042/2.93, allocations: 2.815 MB / 0.9189 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/2.932, allocations: 377.9 kB / 0.9193 GB, free: 133 MB / 0.4948 GB Notification: Performance of SimCode: time 2.031e-06/2.932, allocations: 0 / 0.9193 GB, free: 133 MB / 0.4948 GB Notification: Performance of Templates: time 0.1806/3.112, allocations: 73.71 MB / 0.9913 GB, free: 80.33 MB / 0.4948 GB