Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.816e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3281, allocations: 54.85 MB / 359.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.5198, allocations: 102.9 MB / 462.7 MB, free: 9.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.5202, allocations: 71.97 kB / 462.8 MB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7635/1.284, allocations: 126.4 MB / 0.5754 GB, free: 100.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.284, allocations: 0 / 0.5754 GB, free: 100.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003304/1.284, allocations: 120.8 kB / 0.5755 GB, free: 100.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.02019/1.304, allocations: 6.32 MB / 0.5816 GB, free: 97.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.304, allocations: 15.66 kB / 0.5817 GB, free: 97.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04408/1.348, allocations: 8.315 MB / 0.5898 GB, free: 94.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0222/1.371, allocations: 7.37 MB / 0.597 GB, free: 90.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/1.371, allocations: 443.5 kB / 0.5974 GB, free: 90.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003064/1.374, allocations: 0.5903 MB / 0.598 GB, free: 90.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0369/1.411, allocations: 15.53 MB / 0.6131 GB, free: 73.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003342/1.412, allocations: 71.25 kB / 0.6132 GB, free: 73.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002615/1.414, allocations: 284 kB / 0.6135 GB, free: 73.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002639/1.417, allocations: 1.622 MB / 0.6151 GB, free: 71.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03151/1.449, allocations: 13.57 MB / 0.6283 GB, free: 58.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0879/1.537, allocations: 63.99 MB / 0.6908 GB, free: 8.789 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/1.557, allocations: 6.388 MB / 0.697 GB, free: 2.145 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3296/1.887, allocations: 3.522 MB / 0.7005 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03153/1.918, allocations: 14.45 MB / 0.7146 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/1.918, allocations: 62.39 kB / 0.7147 GB, free: 105.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=289): time 7.984e-06/1.918, allocations: 3.188 kB / 0.7147 GB, free: 105.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.1177/2.036, allocations: 29.75 MB / 0.7437 GB, free: 99.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/2.036, allocations: 210.7 kB / 0.7439 GB, free: 99.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/2.046, allocations: 4.774 MB / 0.7486 GB, free: 97.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007185/2.047, allocations: 73.55 kB / 0.7486 GB, free: 97.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003285/2.051, allocations: 4.42 MB / 0.753 GB, free: 94.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001667/2.052, allocations: 1.251 MB / 0.7542 GB, free: 93.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/2.053, allocations: 174.3 kB / 0.7543 GB, free: 93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007814/2.054, allocations: 0.6778 MB / 0.755 GB, free: 92.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008879/2.063, allocations: 4.487 MB / 0.7594 GB, free: 90.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/2.075, allocations: 9.37 MB / 0.7685 GB, free: 82.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/2.086, allocations: 6.424 MB / 0.7748 GB, free: 80.53 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/2.087, allocations: 50 kB / 0.7749 GB, free: 80.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04961/2.136, allocations: 18.06 MB / 0.7925 GB, free: 69.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/2.136, allocations: 76 kB / 0.7926 GB, free: 69.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/2.137, allocations: 176.9 kB / 0.7927 GB, free: 68.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02561/2.162, allocations: 5.624 MB / 0.7982 GB, free: 65.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009298/2.171, allocations: 2.06 MB / 0.8002 GB, free: 63.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03616/2.208, allocations: 23.62 MB / 0.8233 GB, free: 40.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009206/2.217, allocations: 0.5393 MB / 0.8238 GB, free: 40.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/2.219, allocations: 0.5049 MB / 0.8243 GB, free: 39.78 MB / 474.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.002328/2.221, allocations: 0.747 MB / 0.8251 GB, free: 39.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/2.223, allocations: 0.4945 MB / 0.8255 GB, free: 38.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0357/2.258, allocations: 12.35 MB / 0.8376 GB, free: 26.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.926e-05/2.258, allocations: 54.25 kB / 0.8377 GB, free: 26.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/2.258, allocations: 8 kB / 0.8377 GB, free: 26.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.772e-05/2.258, allocations: 23.89 kB / 0.8377 GB, free: 26.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05926/2.318, allocations: 23.95 MB / 0.8611 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/2.318, allocations: 7.938 kB / 0.8611 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003855/2.322, allocations: 0.5709 MB / 0.8616 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0237/2.345, allocations: 4.643 MB / 0.8662 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007868/2.346, allocations: 63.19 kB / 0.8662 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3261/2.672, allocations: 18.91 MB / 0.8847 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/2.673, allocations: 6.281 kB / 0.8847 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04549/2.718, allocations: 17.38 MB / 0.9017 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0037/2.722, allocations: 1.218 MB / 0.9029 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.724, allocations: 57.48 kB / 0.9029 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004546/2.728, allocations: 247.5 kB / 0.9032 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/2.729, allocations: 193 kB / 0.9034 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006376/2.73, allocations: 84.98 kB / 0.9034 GB, free: 107.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007822/2.738, allocations: 3.313 MB / 0.9067 GB, free: 106 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.053e-06/2.738, allocations: 0 / 0.9067 GB, free: 106 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01038/2.748, allocations: 1.711 MB / 0.9083 GB, free: 105.8 MB / 490.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.001036/2.749, allocations: 212.3 kB / 0.9085 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01913/2.769, allocations: 10.11 MB / 0.9184 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.932e-06/2.769, allocations: 3.812 kB / 0.9184 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007583/2.776, allocations: 3.891 MB / 0.9222 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/2.78, allocations: 0.5774 MB / 0.9228 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/2.817, allocations: 13.49 MB / 0.936 GB, free: 95.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.827, allocations: 4.752 MB / 0.9406 GB, free: 93.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01152/2.838, allocations: 2.99 MB / 0.9435 GB, free: 93.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002325/2.841, allocations: 351.2 kB / 0.9439 GB, free: 93.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.824e-06/2.841, allocations: 0 / 0.9439 GB, free: 93.83 MB / 490.7 MB Notification: Performance of Templates: time 0.1942/3.035, allocations: 72.66 MB / 1.015 GB, free: 35.53 MB / 490.7 MB