Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.267e-05, allocations: 4 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.08535, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.4509, allocations: 94.23 MB / 416 MB, free: 1.141 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4511, allocations: 73.77 kB / 416.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3968/0.8479, allocations: 103.1 MB / 0.507 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.152e-06/0.848, allocations: 0 / 0.507 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003436/0.8483, allocations: 111.9 kB / 0.5071 GB, free: 0.8008 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: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.01735/0.8657, allocations: 5.19 MB / 0.5122 GB, free: 11.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.8658, allocations: 8.031 kB / 0.5122 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0366/0.9024, allocations: 6.892 MB / 0.5189 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2659/1.168, allocations: 7.467 MB / 0.5262 GB, free: 82.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000627/1.169, allocations: 374.8 kB / 0.5266 GB, free: 82.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003043/1.172, allocations: 0.4884 MB / 0.5271 GB, free: 82.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04987/1.222, allocations: 12.17 MB / 0.5389 GB, free: 79.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004036/1.222, allocations: 73.97 kB / 0.539 GB, free: 79.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/1.224, allocations: 238.1 kB / 0.5392 GB, free: 79.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003513/1.228, allocations: 1.14 MB / 0.5404 GB, free: 79.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03162/1.259, allocations: 9.926 MB / 0.5501 GB, free: 79.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0686/1.328, allocations: 55.58 MB / 0.6043 GB, free: 42.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/1.347, allocations: 5.642 MB / 0.6098 GB, free: 40.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004242/1.351, allocations: 2.815 MB / 0.6126 GB, free: 39.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/1.367, allocations: 8.801 MB / 0.6212 GB, free: 34.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.367, allocations: 60.88 kB / 0.6212 GB, free: 34.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 6.202e-06/1.367, allocations: 0 / 0.6212 GB, free: 34.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1287/1.496, allocations: 29.41 MB / 0.65 GB, free: 18.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/1.496, allocations: 205.9 kB / 0.6502 GB, free: 18.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007458/1.503, allocations: 4.169 MB / 0.6542 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005097/1.504, allocations: 63.11 kB / 0.6543 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/1.506, allocations: 3.585 MB / 0.6578 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/1.507, allocations: 0.9814 MB / 0.6587 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005374/1.508, allocations: 136 kB / 0.6589 GB, free: 10.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003695/1.508, allocations: 0.5806 MB / 0.6594 GB, free: 9.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005268/1.514, allocations: 2.95 MB / 0.6623 GB, free: 7.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007824/1.522, allocations: 6.695 MB / 0.6689 GB, free: 14.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009226/1.531, allocations: 4.409 MB / 0.6732 GB, free: 11.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/1.531, allocations: 40 kB / 0.6732 GB, free: 11.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.3214/1.852, allocations: 12.57 MB / 0.6855 GB, free: 83.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/1.853, allocations: 62.72 kB / 0.6855 GB, free: 83.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003337/1.853, allocations: 134.4 kB / 0.6857 GB, free: 83.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02625/1.879, allocations: 4.077 MB / 0.6897 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/1.891, allocations: 1.419 MB / 0.691 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07761/1.968, allocations: 25.81 MB / 0.7162 GB, free: 79.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006743/1.975, allocations: 400 kB / 0.7166 GB, free: 79.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/1.976, allocations: 398.7 kB / 0.717 GB, free: 79.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (760): * Single equations (assignments): 754 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001356/1.978, allocations: 0.5958 MB / 0.7176 GB, free: 79.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009519/1.979, allocations: 444.9 kB / 0.718 GB, free: 79.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.998, allocations: 8.067 MB / 0.7259 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.041e-05/1.998, allocations: 26.64 kB / 0.7259 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-05/1.998, allocations: 18.03 kB / 0.7259 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.16e-05/1.998, allocations: 13.66 kB / 0.7259 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03855/2.037, allocations: 16.63 MB / 0.7422 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-05/2.037, allocations: 7.25 kB / 0.7422 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/2.039, allocations: 300.7 kB / 0.7425 GB, free: 71.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01471/2.054, allocations: 3.767 MB / 0.7462 GB, free: 71.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004993/2.054, allocations: 42.53 kB / 0.7462 GB, free: 71.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04194/2.096, allocations: 24.57 MB / 0.7702 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.376e-06/2.096, allocations: 9.938 kB / 0.7702 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02661/2.123, allocations: 12.55 MB / 0.7825 GB, free: 53.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/2.126, allocations: 0.9507 MB / 0.7834 GB, free: 53.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/2.127, allocations: 46.12 kB / 0.7834 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005353/2.132, allocations: 163.2 kB / 0.7836 GB, free: 53.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001424/2.134, allocations: 195.1 kB / 0.7838 GB, free: 53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005228/2.134, allocations: 75.8 kB / 0.7839 GB, free: 52.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00973/2.144, allocations: 2.941 MB / 0.7867 GB, free: 50.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.88e-06/2.144, allocations: 0 / 0.7867 GB, free: 50.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01415/2.158, allocations: 1.429 MB / 0.7881 GB, free: 48.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/2.159, allocations: 193.9 kB / 0.7883 GB, free: 48.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02628/2.186, allocations: 7.778 MB / 0.7959 GB, free: 42.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/2.186, allocations: 0 / 0.7959 GB, free: 42.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01311/2.199, allocations: 3.357 MB / 0.7992 GB, free: 39.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/2.203, allocations: 0.545 MB / 0.7997 GB, free: 38.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/2.225, allocations: 10.34 MB / 0.8098 GB, free: 29.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006286/2.231, allocations: 4.032 MB / 0.8137 GB, free: 26.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006695/2.238, allocations: 2.019 MB / 0.8157 GB, free: 25.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/2.239, allocations: 282.6 kB / 0.816 GB, free: 24.96 MB / 442.7 MB Notification: Performance of SimCode: time 2.613e-06/2.239, allocations: 3.562 kB / 0.816 GB, free: 24.96 MB / 442.7 MB Notification: Performance of Templates: time 0.4075/2.647, allocations: 65.21 MB / 0.8797 GB, free: 93.98 MB / 458.7 MB