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_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 1.847/1.847, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.573e-05, allocations: 0 / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08785, allocations: 48.69 MB / 321.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.4503, allocations: 94.24 MB / 416 MB, free: 1.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.4505, allocations: 74.09 kB / 416.1 MB, free: 1.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4005/0.851, allocations: 103.1 MB / 0.507 GB, free: 1.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.8511, allocations: 0 / 0.507 GB, free: 1.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003646/0.8515, allocations: 107.9 kB / 0.5071 GB, free: 1.254 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.01829/0.8698, allocations: 5.198 MB / 0.5122 GB, free: 11.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.8698, allocations: 12.03 kB / 0.5122 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03662/0.9065, allocations: 6.881 MB / 0.5189 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2635/1.17, allocations: 7.473 MB / 0.5262 GB, free: 82.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/1.17, allocations: 370 kB / 0.5266 GB, free: 82.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/1.173, allocations: 0.4936 MB / 0.527 GB, free: 82.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03104/1.204, allocations: 12.17 MB / 0.5389 GB, free: 79.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003268/1.204, allocations: 73.5 kB / 0.539 GB, free: 79.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/1.206, allocations: 239.1 kB / 0.5392 GB, free: 79.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002198/1.208, allocations: 1.14 MB / 0.5403 GB, free: 79.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/1.232, allocations: 9.912 MB / 0.55 GB, free: 79.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06691/1.299, allocations: 55.58 MB / 0.6043 GB, free: 42.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/1.316, allocations: 5.651 MB / 0.6098 GB, free: 40.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004213/1.32, allocations: 2.816 MB / 0.6126 GB, free: 39.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/1.337, allocations: 8.804 MB / 0.6212 GB, free: 34.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/1.337, allocations: 55.16 kB / 0.6212 GB, free: 34.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 6.567e-06/1.337, allocations: 3.781 kB / 0.6212 GB, free: 34.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1174/1.454, allocations: 29.41 MB / 0.6499 GB, free: 18.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/1.455, allocations: 209.9 kB / 0.6501 GB, free: 18.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008173/1.463, allocations: 4.17 MB / 0.6542 GB, free: 14.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005477/1.463, allocations: 63.11 kB / 0.6543 GB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002418/1.466, allocations: 3.43 MB / 0.6576 GB, free: 11.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.467, allocations: 0.9706 MB / 0.6586 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006878/1.468, allocations: 136.9 kB / 0.6587 GB, free: 10.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004117/1.468, allocations: 0.5943 MB / 0.6593 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00559/1.474, allocations: 2.946 MB / 0.6622 GB, free: 7.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00817/1.482, allocations: 6.697 MB / 0.6687 GB, free: 15.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009322/1.491, allocations: 4.412 MB / 0.673 GB, free: 11.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/1.492, allocations: 44 kB / 0.673 GB, free: 11.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.03499/1.527, allocations: 12.38 MB / 0.6851 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.527, allocations: 60 kB / 0.6852 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/1.527, allocations: 132 kB / 0.6853 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2658/1.793, allocations: 4.077 MB / 0.6893 GB, free: 86.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/1.799, allocations: 1.417 MB / 0.6907 GB, free: 86.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04511/1.845, allocations: 25.81 MB / 0.7159 GB, free: 82.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007048/1.852, allocations: 398.8 kB / 0.7163 GB, free: 82.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.853, allocations: 398.8 kB / 0.7167 GB, free: 82.84 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.001718/1.855, allocations: 0.602 MB / 0.7172 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.856, allocations: 444.2 kB / 0.7177 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/1.875, allocations: 8.062 MB / 0.7255 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.165e-05/1.876, allocations: 27.94 kB / 0.7256 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/1.876, allocations: 14.31 kB / 0.7256 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.696e-05/1.876, allocations: 12.91 kB / 0.7256 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03786/1.914, allocations: 16.63 MB / 0.7418 GB, free: 75.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/1.914, allocations: 3.938 kB / 0.7418 GB, free: 75.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.916, allocations: 297.3 kB / 0.7421 GB, free: 75.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01305/1.929, allocations: 3.77 MB / 0.7458 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000582/1.929, allocations: 47.88 kB / 0.7459 GB, free: 74.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03941/1.969, allocations: 24.57 MB / 0.7698 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/1.969, allocations: 6.906 kB / 0.7699 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02482/1.994, allocations: 12.55 MB / 0.7821 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/1.996, allocations: 0.9505 MB / 0.783 GB, free: 55.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/1.998, allocations: 45.25 kB / 0.7831 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00348/2.001, allocations: 169.5 kB / 0.7832 GB, free: 54.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/2.002, allocations: 192.8 kB / 0.7834 GB, free: 54.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/2.003, allocations: 72.88 kB / 0.7835 GB, free: 54.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006607/2.009, allocations: 2.947 MB / 0.7864 GB, free: 52.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.03e-06/2.009, allocations: 0 / 0.7864 GB, free: 52.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008536/2.018, allocations: 1.421 MB / 0.7878 GB, free: 50.75 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.0008188/2.019, allocations: 193.9 kB / 0.788 GB, free: 50.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01565/2.034, allocations: 7.784 MB / 0.7956 GB, free: 43.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/2.035, allocations: 0 / 0.7956 GB, free: 43.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006896/2.041, allocations: 3.362 MB / 0.7988 GB, free: 40.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/2.045, allocations: 0.5455 MB / 0.7994 GB, free: 40.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/2.069, allocations: 10.91 MB / 0.81 GB, free: 30.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007631/2.077, allocations: 4.042 MB / 0.814 GB, free: 27.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/2.079, allocations: 329.9 kB / 0.8143 GB, free: 27.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.921e-06/2.079, allocations: 0 / 0.8143 GB, free: 27.25 MB / 442.7 MB Notification: Performance of Templates: time 0.4481/2.527, allocations: 133.8 MB / 0.9449 GB, free: 53.62 MB / 458.7 MB