Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 234.9 MB / 250.1 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.334e-05/4.333e-05, allocations: 4 kB / 308 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3504, allocations: 54.86 MB / 362.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.08048/0.431, allocations: 50.45 MB / 413.3 MB, free: 9.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03379/0.4648, allocations: 11.45 MB / 424.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01166/0.4765, allocations: 275.3 kB / 425 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009237/0.4858, allocations: 2.636 MB / 427.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02757/0.5135, allocations: 7.215 MB / 434.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005352/0.5189, allocations: 0.9555 MB / 435.8 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06499/0.5839, allocations: 16.92 MB / 452.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01413/0.5981, allocations: 5.01 MB / 457.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.6022, allocations: 1.204 MB / 459 MB, free: 11.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005097/0.6073, allocations: 1.87 MB / 460.8 MB, free: 9.523 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.6114, allocations: 1.131 MB / 462 MB, free: 8.391 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001763/0.6132, allocations: 192 kB / 462.1 MB, free: 8.203 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003998/0.6172, allocations: 2.139 MB / 464.3 MB, free: 6.059 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.6195, allocations: 372 kB / 464.7 MB, free: 5.695 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.6324, allocations: 7.567 MB / 472.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6324, allocations: 0 / 472.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.6325, allocations: 0 / 472.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000374/0.6328, allocations: 0 / 472.2 MB, free: 14.11 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.02246/0.6553, allocations: 5.673 MB / 477.9 MB, free: 8.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.6554, allocations: 11.97 kB / 477.9 MB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6721/1.328, allocations: 18.97 MB / 496.9 MB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/1.344, allocations: 4.527 MB / 0.4897 GB, free: 101 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005846/1.345, allocations: 313.7 kB / 0.49 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002926/1.348, allocations: 426.9 kB / 0.4904 GB, free: 100.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08304/1.431, allocations: 13.92 MB / 0.504 GB, free: 85.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003239/1.431, allocations: 55.52 kB / 0.504 GB, free: 85.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01365/1.445, allocations: 195.4 kB / 0.5042 GB, free: 85.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007326/1.452, allocations: 2.417 MB / 0.5066 GB, free: 83.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05347/1.506, allocations: 11.75 MB / 0.518 GB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08539/1.591, allocations: 53.26 MB / 0.57 GB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02653/1.618, allocations: 5.829 MB / 0.5757 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03385/1.652, allocations: 14.95 MB / 0.5903 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.37e-05/1.652, allocations: 68.5 kB / 0.5904 GB, free: 11.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 6.562e-06/1.652, allocations: 0 / 0.5904 GB, free: 11.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.1542/1.806, allocations: 26.64 MB / 0.6164 GB, free: 0.707 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/1.807, allocations: 257.3 kB / 0.6167 GB, free: 412 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/1.819, allocations: 4.733 MB / 0.6213 GB, free: 11.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006551/1.82, allocations: 69.64 kB / 0.6213 GB, free: 11.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004548/1.825, allocations: 3.804 MB / 0.6251 GB, free: 7.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001876/1.827, allocations: 0.9832 MB / 0.626 GB, free: 6.754 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008543/1.827, allocations: 147.9 kB / 0.6262 GB, free: 6.609 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006992/1.828, allocations: 0.6246 MB / 0.6268 GB, free: 5.977 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007785/1.836, allocations: 2.693 MB / 0.6294 GB, free: 3.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01265/1.849, allocations: 6.995 MB / 0.6362 GB, free: 10.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.86, allocations: 4.226 MB / 0.6404 GB, free: 5.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/1.86, allocations: 47.95 kB / 0.6404 GB, free: 5.883 MB / 474.7 MB Notification: Performance of matching and sorting (n=959) (initialization): time 0.02909/1.89, allocations: 9.839 MB / 0.65 GB, free: 12.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/1.89, allocations: 74.81 kB / 0.6501 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/1.89, allocations: 152 kB / 0.6502 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/1.893, allocations: 0.7293 MB / 0.6509 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01179/1.905, allocations: 1.762 MB / 0.6527 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/1.918, allocations: 6.449 MB / 0.659 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007962/1.926, allocations: 411.4 kB / 0.6594 GB, free: 2.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/1.928, allocations: 444 kB / 0.6598 GB, free: 1.781 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (909): * Single equations (assignments): 904 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3521/2.28, allocations: 2.587 MB / 0.6623 GB, free: 165.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001956/2.282, allocations: 469 kB / 0.6627 GB, free: 165.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/2.301, allocations: 4.368 MB / 0.667 GB, free: 164.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-05/2.301, allocations: 30.28 kB / 0.667 GB, free: 164.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/2.301, allocations: 3.906 kB / 0.667 GB, free: 164.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.508e-05/2.301, allocations: 11.25 kB / 0.6671 GB, free: 164.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04143/2.342, allocations: 10.85 MB / 0.6777 GB, free: 160.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/2.342, allocations: 3.938 kB / 0.6777 GB, free: 160.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005104/2.348, allocations: 498.5 kB / 0.6781 GB, free: 160.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/2.35, allocations: 491.9 kB / 0.6786 GB, free: 160.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005688/2.351, allocations: 48.8 kB / 0.6786 GB, free: 160.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009964/2.361, allocations: 5.812 MB / 0.6843 GB, free: 156.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/2.361, allocations: 0 / 0.6843 GB, free: 156.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/2.379, allocations: 7.674 MB / 0.6918 GB, free: 153.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/2.382, allocations: 0.859 MB / 0.6927 GB, free: 152.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/2.384, allocations: 44 kB / 0.6927 GB, free: 152.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005282/2.389, allocations: 158.6 kB / 0.6929 GB, free: 152.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007902/2.39, allocations: 149.2 kB / 0.693 GB, free: 152.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/2.39, allocations: 72.05 kB / 0.6931 GB, free: 152.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007841/2.398, allocations: 3.359 MB / 0.6963 GB, free: 149.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.123e-06/2.398, allocations: 4 kB / 0.6963 GB, free: 149.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008432/2.407, allocations: 1.317 MB / 0.6976 GB, free: 148.4 MB / 490.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 (224): * Single equations (assignments): 219 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/2.408, allocations: 199.7 kB / 0.6978 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01508/2.423, allocations: 6.719 MB / 0.7044 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.423, allocations: 2.75 kB / 0.7044 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00525/2.428, allocations: 2.367 MB / 0.7067 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/2.433, allocations: 0.5556 MB / 0.7072 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0324/2.466, allocations: 15.17 MB / 0.722 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008474/2.474, allocations: 4.229 MB / 0.7262 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002521/2.477, allocations: 379.4 kB / 0.7265 GB, free: 119.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.385e-06/2.477, allocations: 0 / 0.7265 GB, free: 119.3 MB / 490.7 MB Notification: Performance of Templates: time 0.5434/3.02, allocations: 118.9 MB / 0.8427 GB, free: 155.6 MB / 490.7 MB