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_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 1.867/1.867, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.593e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08609, allocations: 48.69 MB / 321.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.4994, allocations: 102.7 MB / 424.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4997, allocations: 78.39 kB / 424.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9368/1.436, allocations: 154.3 MB / 0.5653 GB, free: 78.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.33e-06/1.437, allocations: 0 / 0.5653 GB, free: 78.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003293/1.437, allocations: 134.6 kB / 0.5654 GB, free: 78.16 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.01987/1.457, allocations: 6.539 MB / 0.5718 GB, free: 75.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.457, allocations: 11.5 kB / 0.5718 GB, free: 75.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03758/1.494, allocations: 6.684 MB / 0.5783 GB, free: 74.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/1.518, allocations: 8.371 MB / 0.5865 GB, free: 74.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006363/1.519, allocations: 0.5244 MB / 0.587 GB, free: 74.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003245/1.522, allocations: 0.7082 MB / 0.5877 GB, free: 74.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04817/1.57, allocations: 18.58 MB / 0.6058 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003061/1.571, allocations: 86.94 kB / 0.6059 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/1.573, allocations: 340 kB / 0.6063 GB, free: 67.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002981/1.576, allocations: 1.714 MB / 0.6079 GB, free: 66.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03996/1.616, allocations: 15.96 MB / 0.6235 GB, free: 53.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3656/1.981, allocations: 74.09 MB / 0.6959 GB, free: 73.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/2.002, allocations: 6.082 MB / 0.7018 GB, free: 72.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005419/2.007, allocations: 2.704 MB / 0.7044 GB, free: 72.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03002/2.037, allocations: 13.91 MB / 0.718 GB, free: 68.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/2.037, allocations: 62.56 kB / 0.7181 GB, free: 68.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 7.22e-06/2.037, allocations: 5.375 kB / 0.7181 GB, free: 68.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=344): time 0.08331/2.121, allocations: 19.29 MB / 0.7369 GB, free: 64.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.714e-05/2.121, allocations: 188.6 kB / 0.7371 GB, free: 64.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/2.131, allocations: 5.149 MB / 0.7421 GB, free: 63.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005877/2.132, allocations: 69.58 kB / 0.7422 GB, free: 63.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003432/2.136, allocations: 4.862 MB / 0.747 GB, free: 60.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/2.137, allocations: 1.275 MB / 0.7482 GB, free: 60.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008276/2.138, allocations: 187.7 kB / 0.7484 GB, free: 60.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005859/2.139, allocations: 0.7086 MB / 0.7491 GB, free: 59.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006739/2.145, allocations: 3.145 MB / 0.7521 GB, free: 59.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009971/2.155, allocations: 8.525 MB / 0.7605 GB, free: 52.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/2.166, allocations: 5.192 MB / 0.7655 GB, free: 51.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/2.166, allocations: 53.03 kB / 0.7656 GB, free: 51.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03118/2.197, allocations: 11.79 MB / 0.7771 GB, free: 47.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/2.197, allocations: 92.47 kB / 0.7772 GB, free: 47.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002285/2.197, allocations: 190.1 kB / 0.7774 GB, free: 47.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006122/2.204, allocations: 1.323 MB / 0.7787 GB, free: 47.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/2.214, allocations: 2.181 MB / 0.7808 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/2.228, allocations: 7.105 MB / 0.7877 GB, free: 43.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009588/2.238, allocations: 0.5594 MB / 0.7883 GB, free: 43.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/2.24, allocations: 0.5432 MB / 0.7888 GB, free: 43.28 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.001871/2.242, allocations: 0.8086 MB / 0.7896 GB, free: 42.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/2.243, allocations: 0.5268 MB / 0.7901 GB, free: 42.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/2.258, allocations: 5.272 MB / 0.7953 GB, free: 39.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-05/2.258, allocations: 36 kB / 0.7953 GB, free: 39.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/2.258, allocations: 8 kB / 0.7953 GB, free: 39.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.846e-05/2.258, allocations: 19.38 kB / 0.7953 GB, free: 39.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03522/2.294, allocations: 14.02 MB / 0.809 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/2.294, allocations: 12 kB / 0.809 GB, free: 27.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/2.297, allocations: 0.5328 MB / 0.8095 GB, free: 27.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004441/2.301, allocations: 0.9133 MB / 0.8104 GB, free: 26.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005496/2.302, allocations: 67.84 kB / 0.8105 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/2.312, allocations: 5.42 MB / 0.8158 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.417e-05/2.312, allocations: 19.94 kB / 0.8158 GB, free: 21.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/2.329, allocations: 10.14 MB / 0.8257 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002886/2.332, allocations: 0.9475 MB / 0.8266 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/2.333, allocations: 63.95 kB / 0.8267 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003343/2.337, allocations: 186.7 kB / 0.8269 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007592/2.338, allocations: 221.8 kB / 0.8271 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/2.338, allocations: 106.9 kB / 0.8272 GB, free: 10.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007625/2.346, allocations: 3.553 MB / 0.8307 GB, free: 7.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.96e-07/2.346, allocations: 0 / 0.8307 GB, free: 7.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01021/2.356, allocations: 1.657 MB / 0.8323 GB, free: 5.859 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.0009853/2.357, allocations: 259.1 kB / 0.8325 GB, free: 5.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01561/2.372, allocations: 7.317 MB / 0.8397 GB, free: 14.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/2.373, allocations: 8.062 kB / 0.8397 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005782/2.378, allocations: 2.32 MB / 0.8419 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/2.383, allocations: 0.6443 MB / 0.8426 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03813/2.421, allocations: 13.45 MB / 0.8557 GB, free: 52 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2775/2.699, allocations: 5.319 MB / 0.8609 GB, free: 91.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002283/2.701, allocations: 449.5 kB / 0.8613 GB, free: 91.78 MB / 458.7 MB Notification: Performance of SimCode: time 1.927e-06/2.701, allocations: 0 / 0.8613 GB, free: 91.78 MB / 458.7 MB Notification: Performance of Templates: time 0.1769/2.878, allocations: 119.7 MB / 0.9782 GB, free: 34.95 MB / 458.7 MB