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.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.164e-05/4.182e-05, allocations: 7.984 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3305, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.5143, allocations: 105.8 MB / 465.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5146, allocations: 71.97 kB / 465.6 MB, free: 7.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7557/1.27, allocations: 135.8 MB / 0.5873 GB, free: 98.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.771e-06/1.27, allocations: 3.781 kB / 0.5873 GB, free: 98.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004205/1.271, allocations: 131.4 kB / 0.5874 GB, free: 98.09 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02347/1.294, allocations: 7.042 MB / 0.5943 GB, free: 93.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.294, allocations: 8.812 kB / 0.5943 GB, free: 93.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04312/1.337, allocations: 7.565 MB / 0.6017 GB, free: 87.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02636/1.364, allocations: 9.813 MB / 0.6112 GB, free: 78.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005093/1.364, allocations: 487.1 kB / 0.6117 GB, free: 77.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002793/1.367, allocations: 0.6476 MB / 0.6123 GB, free: 77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04051/1.408, allocations: 16.48 MB / 0.6284 GB, free: 59.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004434/1.408, allocations: 107 kB / 0.6285 GB, free: 59.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002557/1.411, allocations: 317.1 kB / 0.6288 GB, free: 58.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002812/1.414, allocations: 1.579 MB / 0.6304 GB, free: 57.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03367/1.447, allocations: 13.24 MB / 0.6433 GB, free: 43.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5263/1.974, allocations: 74.32 MB / 0.7159 GB, free: 58.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03058/2.004, allocations: 7.665 MB / 0.7234 GB, free: 57.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007307/2.012, allocations: 3.976 MB / 0.7273 GB, free: 57.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03677/2.049, allocations: 18.7 MB / 0.7455 GB, free: 53.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/2.049, allocations: 71.69 kB / 0.7456 GB, free: 53.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 7.081e-06/2.049, allocations: 0 / 0.7456 GB, free: 53.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=367): time 0.1747/2.223, allocations: 40.29 MB / 0.7849 GB, free: 42.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/2.223, allocations: 275 kB / 0.7852 GB, free: 42.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/2.234, allocations: 5.295 MB / 0.7904 GB, free: 38.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007545/2.235, allocations: 82.72 kB / 0.7904 GB, free: 38.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003444/2.239, allocations: 4.76 MB / 0.7951 GB, free: 34.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001757/2.24, allocations: 1.346 MB / 0.7964 GB, free: 33.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/2.242, allocations: 189.6 kB / 0.7966 GB, free: 32.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005877/2.242, allocations: 0.6993 MB / 0.7973 GB, free: 32.33 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007123/2.249, allocations: 3.689 MB / 0.8009 GB, free: 29.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/2.26, allocations: 8.809 MB / 0.8095 GB, free: 18.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/2.274, allocations: 5.611 MB / 0.815 GB, free: 13.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/2.275, allocations: 52 kB / 0.815 GB, free: 13.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.04106/2.316, allocations: 15.9 MB / 0.8305 GB, free: 1.227 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/2.316, allocations: 83.95 kB / 0.8306 GB, free: 1.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/2.316, allocations: 184 kB / 0.8308 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01729/2.333, allocations: 4.111 MB / 0.8348 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009854/2.343, allocations: 2.039 MB / 0.8368 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04802/2.391, allocations: 21.74 MB / 0.858 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.402, allocations: 0.5463 MB / 0.8586 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/2.404, allocations: 0.5273 MB / 0.8591 GB, free: 4.23 MB / 0.4948 GB 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.002501/2.406, allocations: 0.8123 MB / 0.8599 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/2.408, allocations: 0.5746 MB / 0.8604 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02974/2.438, allocations: 9.677 MB / 0.8699 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.127e-05/2.438, allocations: 36 kB / 0.8699 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/2.438, allocations: 16 kB / 0.8699 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-05/2.438, allocations: 23.88 kB / 0.87 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05588/2.494, allocations: 19.1 MB / 0.8886 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/2.494, allocations: 3.625 kB / 0.8886 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003743/2.498, allocations: 0.511 MB / 0.8891 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01617/2.514, allocations: 3.555 MB / 0.8926 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007866/2.515, allocations: 63.92 kB / 0.8926 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4021/2.917, allocations: 18.72 MB / 0.9109 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.984e-06/2.917, allocations: 1.766 kB / 0.9109 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03742/2.954, allocations: 14.12 MB / 0.9247 GB, free: 167.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003825/2.958, allocations: 1.116 MB / 0.9258 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/2.96, allocations: 62.55 kB / 0.9259 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005099/2.965, allocations: 230.1 kB / 0.9261 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/2.966, allocations: 218.6 kB / 0.9263 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006854/2.967, allocations: 91.89 kB / 0.9264 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009853/2.977, allocations: 3.706 MB / 0.93 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.322e-06/2.977, allocations: 0 / 0.93 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01131/2.988, allocations: 1.851 MB / 0.9318 GB, free: 166.9 MB / 0.5417 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/2.99, allocations: 223.8 kB / 0.932 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01867/3.008, allocations: 9.228 MB / 0.941 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.321e-06/3.008, allocations: 0 / 0.941 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007599/3.016, allocations: 3.662 MB / 0.9446 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/3.021, allocations: 0.7165 MB / 0.9453 GB, free: 165.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0321/3.053, allocations: 13.1 MB / 0.9581 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/3.063, allocations: 5.006 MB / 0.963 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01013/3.073, allocations: 2.807 MB / 0.9657 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/3.075, allocations: 379.8 kB / 0.9661 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.671e-06/3.075, allocations: 0 / 0.9661 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.1746/3.25, allocations: 74.39 MB / 1.039 GB, free: 105.5 MB / 0.5417 GB