Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 1.92/1.92, allocations: 209.3 MB / 221.9 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.172e-05, allocations: 4 kB / 273 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08494, allocations: 48.7 MB / 321.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.493, allocations: 104.1 MB / 425.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4933, allocations: 73.28 kB / 425.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9308/1.424, allocations: 171.9 MB / 0.5838 GB, free: 76.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.409e-06/1.424, allocations: 0 / 0.5838 GB, free: 76.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004009/1.425, allocations: 147.8 kB / 0.5839 GB, free: 76.88 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02471/1.449, allocations: 7.696 MB / 0.5914 GB, free: 73.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.449, allocations: 14.59 kB / 0.5914 GB, free: 73.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04028/1.49, allocations: 6.947 MB / 0.5982 GB, free: 73.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02836/1.518, allocations: 9.836 MB / 0.6078 GB, free: 71.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006958/1.519, allocations: 0.5638 MB / 0.6084 GB, free: 71.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003726/1.523, allocations: 0.7627 MB / 0.6091 GB, free: 71.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05084/1.573, allocations: 20.45 MB / 0.6291 GB, free: 50.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000441/1.574, allocations: 91.12 kB / 0.6292 GB, free: 50.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003354/1.577, allocations: 362.2 kB / 0.6295 GB, free: 50.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003344/1.581, allocations: 1.966 MB / 0.6314 GB, free: 48.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04203/1.623, allocations: 17.63 MB / 0.6487 GB, free: 30.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4281/2.051, allocations: 82.16 MB / 0.7289 GB, free: 54.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02352/2.074, allocations: 7.274 MB / 0.736 GB, free: 53.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007286/2.082, allocations: 3.924 MB / 0.7398 GB, free: 53.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04127/2.123, allocations: 18.22 MB / 0.7576 GB, free: 48.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/2.123, allocations: 69.75 kB / 0.7577 GB, free: 48.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=332): time 7.941e-06/2.123, allocations: 0 / 0.7577 GB, free: 48.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=413): time 0.1165/2.24, allocations: 26.07 MB / 0.7832 GB, free: 41.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/2.24, allocations: 199.4 kB / 0.7833 GB, free: 41.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0143/2.254, allocations: 5.682 MB / 0.7889 GB, free: 39.81 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009319/2.255, allocations: 83.02 kB / 0.789 GB, free: 39.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004148/2.259, allocations: 5.253 MB / 0.7941 GB, free: 35.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002069/2.261, allocations: 1.517 MB / 0.7956 GB, free: 34.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001528/2.263, allocations: 207.9 kB / 0.7958 GB, free: 34.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001246/2.264, allocations: 0.7529 MB / 0.7965 GB, free: 33.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00923/2.274, allocations: 4.024 MB / 0.8004 GB, free: 32.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01259/2.286, allocations: 9.771 MB / 0.81 GB, free: 23.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/2.299, allocations: 6.238 MB / 0.8161 GB, free: 21.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/2.299, allocations: 55.84 kB / 0.8161 GB, free: 21.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=1370) (initialization): time 0.03966/2.339, allocations: 14.85 MB / 0.8306 GB, free: 10.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/2.339, allocations: 96.95 kB / 0.8307 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003151/2.339, allocations: 207.9 kB / 0.8309 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/2.35, allocations: 2.335 MB / 0.8332 GB, free: 8.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01175/2.362, allocations: 2.436 MB / 0.8356 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02764/2.389, allocations: 11.58 MB / 0.8469 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.401, allocations: 0.6899 MB / 0.8476 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002512/2.403, allocations: 0.5816 MB / 0.8481 GB, free: 11.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1269): * Single equations (assignments): 1262 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003783/2.407, allocations: 0.8713 MB / 0.849 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001893/2.409, allocations: 0.5978 MB / 0.8496 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02536/2.434, allocations: 8.089 MB / 0.8575 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001295/2.435, allocations: 63.61 kB / 0.8575 GB, free: 3.527 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3e-05/2.435, allocations: 11.94 kB / 0.8575 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.546e-05/2.435, allocations: 20.27 kB / 0.8576 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05695/2.492, allocations: 18.72 MB / 0.8758 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-05/2.492, allocations: 12 kB / 0.8758 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004184/2.496, allocations: 0.6442 MB / 0.8765 GB, free: 2.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009375/2.505, allocations: 1.873 MB / 0.8783 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008914/2.506, allocations: 75.98 kB / 0.8784 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3024/2.809, allocations: 9.87 MB / 0.888 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-05/2.809, allocations: 22.48 kB / 0.888 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0553/2.864, allocations: 14.17 MB / 0.9019 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006608/2.871, allocations: 1.157 MB / 0.903 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003195/2.874, allocations: 80.34 kB / 0.9031 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009304/2.884, allocations: 262.9 kB / 0.9033 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001715/2.885, allocations: 266 kB / 0.9036 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008251/2.886, allocations: 114 kB / 0.9037 GB, free: 120.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01629/2.902, allocations: 3.935 MB / 0.9075 GB, free: 120.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.259e-06/2.903, allocations: 0 / 0.9075 GB, free: 120.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01234/2.915, allocations: 1.935 MB / 0.9094 GB, free: 120.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (324): * Single equations (assignments): 317 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/2.916, allocations: 279.5 kB / 0.9097 GB, free: 120.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01907/2.935, allocations: 9.304 MB / 0.9188 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/2.935, allocations: 3 kB / 0.9188 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008977/2.944, allocations: 3.227 MB / 0.9219 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008565/2.953, allocations: 0.7328 MB / 0.9226 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04047/2.993, allocations: 15.48 MB / 0.9378 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03339/3.027, allocations: 5.749 MB / 0.9434 GB, free: 110 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005606/3.033, allocations: 491.7 kB / 0.9438 GB, free: 110 MB / 490.7 MB Notification: Performance of SimCode: time 3.482e-06/3.033, allocations: 3.875 kB / 0.9439 GB, free: 110 MB / 490.7 MB Notification: Performance of Templates: time 0.5044/3.537, allocations: 133.9 MB / 1.075 GB, free: 125.2 MB / 490.7 MB