Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 1.905/1.905, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.486e-05/5.503e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.4757, allocations: 96.07 MB / 417.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.476, allocations: 70.47 kB / 417.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.764/1.24, allocations: 126.4 MB / 0.5315 GB, free: 77.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.918e-06/1.24, allocations: 4.125 kB / 0.5315 GB, free: 77.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006342/1.241, allocations: 120.3 kB / 0.5316 GB, free: 77.98 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.02773/1.268, allocations: 6.32 MB / 0.5378 GB, free: 75.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.268, allocations: 13.86 kB / 0.5378 GB, free: 75.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04283/1.311, allocations: 8.316 MB / 0.546 GB, free: 75.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02133/1.333, allocations: 7.37 MB / 0.5532 GB, free: 74.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005099/1.333, allocations: 454.5 kB / 0.5536 GB, free: 74.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002756/1.336, allocations: 0.5814 MB / 0.5542 GB, free: 74.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03616/1.372, allocations: 15.52 MB / 0.5693 GB, free: 71.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/1.373, allocations: 81.53 kB / 0.5694 GB, free: 71.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0014/1.374, allocations: 282.6 kB / 0.5697 GB, free: 71.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002398/1.376, allocations: 1.618 MB / 0.5712 GB, free: 71.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/1.407, allocations: 13.57 MB / 0.5845 GB, free: 70.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07964/1.487, allocations: 63.98 MB / 0.647 GB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/1.504, allocations: 6.398 MB / 0.6532 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005107/1.509, allocations: 3.521 MB / 0.6567 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02895/1.538, allocations: 14.67 MB / 0.671 GB, free: 0 / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/1.538, allocations: 68.84 kB / 0.671 GB, free: 15.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=289): time 6.858e-06/1.538, allocations: 0 / 0.671 GB, free: 15.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.4913/2.029, allocations: 29.75 MB / 0.7001 GB, free: 84.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/2.029, allocations: 214 kB / 0.7003 GB, free: 84.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/2.041, allocations: 4.776 MB / 0.705 GB, free: 84.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007276/2.042, allocations: 72.7 kB / 0.705 GB, free: 84.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003443/2.045, allocations: 4.421 MB / 0.7094 GB, free: 82.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001645/2.047, allocations: 1.25 MB / 0.7106 GB, free: 81.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009168/2.048, allocations: 170.2 kB / 0.7107 GB, free: 81.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006189/2.049, allocations: 0.6852 MB / 0.7114 GB, free: 81.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008495/2.057, allocations: 4.484 MB / 0.7158 GB, free: 81.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/2.068, allocations: 9.37 MB / 0.7249 GB, free: 75.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/2.079, allocations: 6.416 MB / 0.7312 GB, free: 75.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001508/2.079, allocations: 52.75 kB / 0.7313 GB, free: 75.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.0504/2.13, allocations: 18.07 MB / 0.7489 GB, free: 71.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/2.13, allocations: 78.25 kB / 0.749 GB, free: 71.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/2.13, allocations: 174.2 kB / 0.7491 GB, free: 71.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0261/2.156, allocations: 5.631 MB / 0.7546 GB, free: 70.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009522/2.166, allocations: 2.056 MB / 0.7566 GB, free: 70.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03683/2.203, allocations: 23.63 MB / 0.7797 GB, free: 59.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009471/2.212, allocations: 0.5446 MB / 0.7803 GB, free: 59.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/2.214, allocations: 0.5006 MB / 0.7807 GB, free: 59.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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 prepare postOptimizeDAE: time 0.001647/2.216, allocations: 0.7443 MB / 0.7815 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/2.217, allocations: 0.4955 MB / 0.782 GB, free: 58.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03998/2.257, allocations: 12.35 MB / 0.794 GB, free: 51.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-05/2.257, allocations: 55.89 kB / 0.7941 GB, free: 51.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/2.257, allocations: 11.56 kB / 0.7941 GB, free: 51.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.376e-05/2.257, allocations: 14.53 kB / 0.7941 GB, free: 51.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05801/2.315, allocations: 23.95 MB / 0.8175 GB, free: 31.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/2.315, allocations: 8 kB / 0.8175 GB, free: 31.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/2.319, allocations: 0.5747 MB / 0.8181 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02227/2.341, allocations: 4.641 MB / 0.8226 GB, free: 25.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006831/2.342, allocations: 63.89 kB / 0.8227 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02891/2.371, allocations: 18.91 MB / 0.8411 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/2.371, allocations: 13.25 kB / 0.8411 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3047/2.676, allocations: 17.36 MB / 0.8581 GB, free: 90.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004056/2.68, allocations: 1.225 MB / 0.8593 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001897/2.682, allocations: 55.45 kB / 0.8593 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004822/2.687, allocations: 250.4 kB / 0.8596 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.688, allocations: 197.2 kB / 0.8598 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000535/2.689, allocations: 81.8 kB / 0.8598 GB, free: 90.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00858/2.697, allocations: 3.313 MB / 0.8631 GB, free: 90.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.079e-06/2.697, allocations: 1.406 kB / 0.8631 GB, free: 90.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01074/2.708, allocations: 1.705 MB / 0.8647 GB, free: 90.55 MB / 458.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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/2.709, allocations: 211.4 kB / 0.8649 GB, free: 90.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0187/2.728, allocations: 10.11 MB / 0.8748 GB, free: 90.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/2.728, allocations: 3.438 kB / 0.8748 GB, free: 90.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007271/2.735, allocations: 3.906 MB / 0.8786 GB, free: 90.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/2.74, allocations: 0.5843 MB / 0.8792 GB, free: 90.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/2.77, allocations: 13.48 MB / 0.8924 GB, free: 87.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009864/2.78, allocations: 4.752 MB / 0.897 GB, free: 87.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01052/2.79, allocations: 2.991 MB / 0.8999 GB, free: 86.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00239/2.793, allocations: 348.8 kB / 0.9003 GB, free: 86.95 MB / 458.7 MB Notification: Performance of SimCode: time 1.898e-06/2.793, allocations: 3.125 kB / 0.9003 GB, free: 86.95 MB / 458.7 MB Notification: Performance of Templates: time 0.1616/2.954, allocations: 72.66 MB / 0.9712 GB, free: 46.2 MB / 458.7 MB