Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.752e-05, allocations: 0 / 273.1 MB, free: 3.184 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08701, allocations: 48.7 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.485, allocations: 102.7 MB / 424.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4853, allocations: 76.7 kB / 424.6 MB, free: 8.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8342/1.319, allocations: 154.3 MB / 0.5653 GB, free: 78.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.52e-06/1.32, allocations: 2.562 kB / 0.5653 GB, free: 78.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003403/1.32, allocations: 134.2 kB / 0.5654 GB, free: 78.5 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02027/1.34, allocations: 6.537 MB / 0.5718 GB, free: 75.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.34, allocations: 15 kB / 0.5718 GB, free: 75.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04126/1.382, allocations: 6.682 MB / 0.5783 GB, free: 75.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02433/1.406, allocations: 8.369 MB / 0.5865 GB, free: 74.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006175/1.407, allocations: 0.5277 MB / 0.587 GB, free: 74.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003213/1.41, allocations: 0.7032 MB / 0.5877 GB, free: 74.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04858/1.458, allocations: 18.59 MB / 0.6059 GB, free: 67.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003705/1.459, allocations: 86.5 kB / 0.606 GB, free: 67.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002813/1.462, allocations: 333.4 kB / 0.6063 GB, free: 67.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003089/1.465, allocations: 1.723 MB / 0.608 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0412/1.506, allocations: 15.95 MB / 0.6235 GB, free: 53.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3634/1.869, allocations: 74.09 MB / 0.6959 GB, free: 73.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.89, allocations: 6.079 MB / 0.7018 GB, free: 72.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005371/1.895, allocations: 2.699 MB / 0.7045 GB, free: 72.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02942/1.924, allocations: 13.92 MB / 0.7181 GB, free: 68.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/1.925, allocations: 64.28 kB / 0.7181 GB, free: 68.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 7.806e-06/1.925, allocations: 3.906 kB / 0.7181 GB, free: 68.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=344): time 0.0809/2.006, allocations: 19.29 MB / 0.737 GB, free: 64.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/2.006, allocations: 188.5 kB / 0.7371 GB, free: 64.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/2.016, allocations: 5.142 MB / 0.7422 GB, free: 63.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005758/2.017, allocations: 73.05 kB / 0.7422 GB, free: 63.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003625/2.02, allocations: 5.001 MB / 0.7471 GB, free: 61.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001552/2.022, allocations: 1.278 MB / 0.7484 GB, free: 60.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009067/2.023, allocations: 188.6 kB / 0.7485 GB, free: 60.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006492/2.024, allocations: 0.7083 MB / 0.7492 GB, free: 60.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006668/2.03, allocations: 3.146 MB / 0.7523 GB, free: 60.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009653/2.04, allocations: 8.528 MB / 0.7606 GB, free: 52.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009954/2.05, allocations: 5.188 MB / 0.7657 GB, free: 51.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/2.05, allocations: 55.03 kB / 0.7658 GB, free: 51.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0311/2.081, allocations: 11.97 MB / 0.7774 GB, free: 47.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.081, allocations: 85.59 kB / 0.7775 GB, free: 47.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000217/2.082, allocations: 197.4 kB / 0.7777 GB, free: 47.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005906/2.088, allocations: 1.319 MB / 0.779 GB, free: 47.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009903/2.098, allocations: 2.18 MB / 0.7811 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/2.119, allocations: 7.099 MB / 0.7881 GB, free: 43.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01641/2.136, allocations: 0.5532 MB / 0.7886 GB, free: 43.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002915/2.139, allocations: 0.5486 MB / 0.7891 GB, free: 43.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1152): * Single equations (assignments): 1145 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003938/2.143, allocations: 0.8088 MB / 0.7899 GB, free: 42.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002028/2.145, allocations: 0.5261 MB / 0.7904 GB, free: 42.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02454/2.169, allocations: 5.274 MB / 0.7956 GB, free: 39.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001044/2.169, allocations: 36 kB / 0.7956 GB, free: 38.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.28e-05/2.169, allocations: 8 kB / 0.7956 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.839e-05/2.17, allocations: 15 kB / 0.7956 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05001/2.22, allocations: 14.02 MB / 0.8093 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/2.22, allocations: 12 kB / 0.8093 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003122/2.223, allocations: 0.538 MB / 0.8099 GB, free: 26.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00439/2.227, allocations: 0.92 MB / 0.8108 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000561/2.228, allocations: 71.83 kB / 0.8108 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/2.238, allocations: 5.409 MB / 0.8161 GB, free: 21.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/2.238, allocations: 15.94 kB / 0.8161 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/2.255, allocations: 10.14 MB / 0.826 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002821/2.258, allocations: 0.9463 MB / 0.827 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00099/2.259, allocations: 78.14 kB / 0.827 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/2.262, allocations: 183.8 kB / 0.8272 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005734/2.263, allocations: 219 kB / 0.8274 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/2.263, allocations: 102.7 kB / 0.8275 GB, free: 10.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007378/2.27, allocations: 3.565 MB / 0.831 GB, free: 7.031 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.011e-06/2.27, allocations: 0 / 0.831 GB, free: 7.031 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01014/2.28, allocations: 1.654 MB / 0.8326 GB, free: 5.391 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (267): * Single equations (assignments): 260 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009236/2.281, allocations: 258.9 kB / 0.8329 GB, free: 5.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01809/2.3, allocations: 7.477 MB / 0.8402 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/2.3, allocations: 256 / 0.8402 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005499/2.305, allocations: 2.315 MB / 0.8424 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004418/2.31, allocations: 0.6531 MB / 0.8431 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.348/2.658, allocations: 12.64 MB / 0.8554 GB, free: 92.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01235/2.67, allocations: 5.317 MB / 0.8606 GB, free: 91.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01221/2.682, allocations: 3.041 MB / 0.8636 GB, free: 91.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002097/2.684, allocations: 378 kB / 0.8639 GB, free: 91.78 MB / 458.7 MB Notification: Performance of SimCode: time 1.929e-06/2.684, allocations: 0 / 0.8639 GB, free: 91.78 MB / 458.7 MB Notification: Performance of Templates: time 0.1532/2.838, allocations: 54.35 MB / 0.917 GB, free: 87.74 MB / 458.7 MB