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.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.223e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3187, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.491, allocations: 112.7 MB / 494.9 MB, free: 11.77 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4913, allocations: 83.89 kB / 495 MB, free: 11.68 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8313/1.323, allocations: 136.4 MB / 0.6166 GB, free: 58.66 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.313e-06/1.323, allocations: 0 / 0.6166 GB, free: 58.66 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003186/1.323, allocations: 143.9 kB / 0.6167 GB, free: 58.52 MB / 458.8 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.01957/1.343, allocations: 7.051 MB / 0.6236 GB, free: 51.39 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.343, allocations: 8.031 kB / 0.6236 GB, free: 51.38 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03765/1.38, allocations: 7.557 MB / 0.631 GB, free: 43.8 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02504/1.405, allocations: 9.813 MB / 0.6406 GB, free: 33.91 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/1.406, allocations: 0.493 MB / 0.6411 GB, free: 33.41 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002258/1.408, allocations: 0.648 MB / 0.6417 GB, free: 32.76 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03579/1.444, allocations: 16.51 MB / 0.6578 GB, free: 14.81 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003327/1.444, allocations: 99.11 kB / 0.6579 GB, free: 14.71 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/1.446, allocations: 311.8 kB / 0.6582 GB, free: 14.41 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/1.448, allocations: 1.596 MB / 0.6598 GB, free: 12.8 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03191/1.48, allocations: 13.24 MB / 0.6727 GB, free: 15.54 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4312/1.912, allocations: 74.4 MB / 0.7453 GB, free: 64.05 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03304/1.945, allocations: 7.66 MB / 0.7528 GB, free: 63.38 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/1.956, allocations: 3.986 MB / 0.7567 GB, free: 63.32 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04669/2.003, allocations: 18.7 MB / 0.775 GB, free: 58.75 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/2.003, allocations: 64.78 kB / 0.775 GB, free: 58.71 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=287): time 7.555e-06/2.003, allocations: 0 / 0.775 GB, free: 58.71 MB / 0.4949 GB Notification: Performance of matching and sorting (n=370): time 0.2099/2.213, allocations: 38.93 MB / 0.8131 GB, free: 48.82 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/2.213, allocations: 266.8 kB / 0.8133 GB, free: 48.54 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/2.226, allocations: 5.321 MB / 0.8185 GB, free: 45.05 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/2.227, allocations: 91.14 kB / 0.8186 GB, free: 44.96 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005404/2.232, allocations: 4.772 MB / 0.8233 GB, free: 40.71 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/2.234, allocations: 1.358 MB / 0.8246 GB, free: 39.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000833/2.235, allocations: 188 kB / 0.8248 GB, free: 39.32 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005197/2.235, allocations: 0.6923 MB / 0.8254 GB, free: 38.73 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007047/2.242, allocations: 3.673 MB / 0.829 GB, free: 35.42 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009752/2.252, allocations: 8.815 MB / 0.8376 GB, free: 24.78 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/2.262, allocations: 5.59 MB / 0.8431 GB, free: 20.32 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/2.263, allocations: 52 kB / 0.8431 GB, free: 20.27 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.0386/2.301, allocations: 15.37 MB / 0.8582 GB, free: 8.168 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/2.301, allocations: 87.84 kB / 0.8582 GB, free: 8.086 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/2.302, allocations: 188.1 kB / 0.8584 GB, free: 7.902 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01599/2.318, allocations: 4.013 MB / 0.8623 GB, free: 5.117 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01316/2.331, allocations: 2.046 MB / 0.8643 GB, free: 3.332 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06284/2.394, allocations: 20.83 MB / 0.8847 GB, free: 176 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009776/2.404, allocations: 0.5464 MB / 0.8852 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002085/2.406, allocations: 0.5273 MB / 0.8857 GB, free: 15.1 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.002881/2.409, allocations: 0.8043 MB / 0.8865 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/2.41, allocations: 0.5746 MB / 0.8871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02888/2.439, allocations: 9.458 MB / 0.8963 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.391e-05/2.439, allocations: 40 kB / 0.8963 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.311e-05/2.439, allocations: 16 kB / 0.8964 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.58e-05/2.439, allocations: 19.94 kB / 0.8964 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05605/2.495, allocations: 18.95 MB / 0.9149 GB, free: 1.066 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-05/2.496, allocations: 0 / 0.9149 GB, free: 1.066 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003534/2.499, allocations: 0.5032 MB / 0.9154 GB, free: 0.5625 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01625/2.515, allocations: 3.578 MB / 0.9189 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007695/2.516, allocations: 59.98 kB / 0.9189 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3513/2.867, allocations: 18.72 MB / 0.9372 GB, free: 160.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.072e-06/2.868, allocations: 1.781 kB / 0.9372 GB, free: 160.1 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03343/2.901, allocations: 13.95 MB / 0.9508 GB, free: 159.4 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003501/2.905, allocations: 1.133 MB / 0.9519 GB, free: 159.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/2.906, allocations: 57.27 kB / 0.952 GB, free: 159.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004104/2.91, allocations: 220.2 kB / 0.9522 GB, free: 159.3 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009014/2.911, allocations: 224.5 kB / 0.9524 GB, free: 159.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000428/2.911, allocations: 90.03 kB / 0.9525 GB, free: 159.3 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.007977/2.919, allocations: 3.722 MB / 0.9561 GB, free: 159.1 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.057e-06/2.919, allocations: 0 / 0.9561 GB, free: 159.1 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0108/2.93, allocations: 1.851 MB / 0.9579 GB, free: 159.1 MB / 0.5574 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.001042/2.931, allocations: 226.5 kB / 0.9582 GB, free: 159 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01809/2.949, allocations: 9.185 MB / 0.9671 GB, free: 158.6 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/2.95, allocations: 2.25 kB / 0.9671 GB, free: 158.6 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007346/2.957, allocations: 3.676 MB / 0.9707 GB, free: 158 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/2.962, allocations: 0.7283 MB / 0.9714 GB, free: 157.7 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03018/2.992, allocations: 13.15 MB / 0.9843 GB, free: 153.1 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009098/3.001, allocations: 5.026 MB / 0.9892 GB, free: 151.5 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.00967/3.011, allocations: 2.814 MB / 0.9919 GB, free: 151.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/3.013, allocations: 383.7 kB / 0.9923 GB, free: 151.5 MB / 0.5574 GB Notification: Performance of SimCode: time 2.385e-06/3.013, allocations: 0 / 0.9923 GB, free: 151.5 MB / 0.5574 GB Notification: Performance of Templates: time 0.2127/3.225, allocations: 73.68 MB / 1.064 GB, free: 98.29 MB / 0.5574 GB