Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.373e-05, allocations: 7.938 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.322, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.4858, allocations: 107.2 MB / 489.4 MB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.486, allocations: 79.95 kB / 489.5 MB, free: 1.215 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6479/1.134, allocations: 103.8 MB / 0.5794 GB, free: 96.39 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.641e-06/1.134, allocations: 0 / 0.5794 GB, free: 96.39 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003115/1.134, allocations: 104 kB / 0.5795 GB, free: 96.29 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01576/1.15, allocations: 5.215 MB / 0.5846 GB, free: 91 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.15, allocations: 12.03 kB / 0.5846 GB, free: 90.99 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03421/1.184, allocations: 6.888 MB / 0.5913 GB, free: 84.09 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01984/1.204, allocations: 7.492 MB / 0.5986 GB, free: 76.51 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/1.205, allocations: 373.8 kB / 0.599 GB, free: 76.14 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001764/1.206, allocations: 0.4958 MB / 0.5995 GB, free: 75.64 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02652/1.233, allocations: 12.2 MB / 0.6114 GB, free: 62.32 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002553/1.233, allocations: 79.25 kB / 0.6115 GB, free: 62.25 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001124/1.234, allocations: 235.9 kB / 0.6117 GB, free: 62.02 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/1.236, allocations: 1.148 MB / 0.6128 GB, free: 60.86 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02334/1.26, allocations: 9.924 MB / 0.6225 GB, free: 50.93 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06535/1.325, allocations: 55.72 MB / 0.6769 GB, free: 9.457 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/1.345, allocations: 5.636 MB / 0.6824 GB, free: 3.672 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005245/1.35, allocations: 2.822 MB / 0.6852 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/1.37, allocations: 8.802 MB / 0.6938 GB, free: 7.875 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/1.37, allocations: 67.8 kB / 0.6938 GB, free: 7.801 MB / 490.8 MB Notification: Performance of pre-optimization done (n=206): time 6.473e-06/1.37, allocations: 0 / 0.6938 GB, free: 7.801 MB / 490.8 MB Notification: Performance of matching and sorting (n=265): time 0.4216/1.791, allocations: 29.42 MB / 0.7226 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/1.791, allocations: 213.9 kB / 0.7228 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009011/1.8, allocations: 4.187 MB / 0.7269 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005571/1.801, allocations: 66.47 kB / 0.7269 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002903/1.804, allocations: 3.598 MB / 0.7304 GB, free: 133 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.805, allocations: 0.9779 MB / 0.7314 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007814/1.806, allocations: 134.8 kB / 0.7315 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004673/1.807, allocations: 0.5876 MB / 0.7321 GB, free: 132.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00593/1.813, allocations: 2.954 MB / 0.735 GB, free: 132.1 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008154/1.821, allocations: 6.71 MB / 0.7415 GB, free: 127.2 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008313/1.829, allocations: 4.432 MB / 0.7459 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/1.829, allocations: 36.34 kB / 0.7459 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.03278/1.862, allocations: 12.58 MB / 0.7582 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.862, allocations: 66.48 kB / 0.7582 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/1.862, allocations: 142.5 kB / 0.7584 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01576/1.878, allocations: 4.069 MB / 0.7623 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006614/1.885, allocations: 1.42 MB / 0.7637 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04599/1.931, allocations: 25.82 MB / 0.7889 GB, free: 104.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007472/1.938, allocations: 390.2 kB / 0.7893 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/1.94, allocations: 402.4 kB / 0.7897 GB, free: 104 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (763): * Single equations (assignments): 757 * 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.002086/1.942, allocations: 0.6092 MB / 0.7903 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.943, allocations: 453.4 kB / 0.7907 GB, free: 102.9 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/1.965, allocations: 8.064 MB / 0.7986 GB, free: 96.63 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.779e-05/1.965, allocations: 33.03 kB / 0.7986 GB, free: 96.6 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.889e-05/1.965, allocations: 12 kB / 0.7986 GB, free: 96.59 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-05/1.965, allocations: 14.34 kB / 0.7987 GB, free: 96.59 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06095/2.026, allocations: 16.66 MB / 0.8149 GB, free: 83.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.302e-05/2.026, allocations: 4 kB / 0.8149 GB, free: 83.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/2.03, allocations: 302.1 kB / 0.8152 GB, free: 82.91 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02571/2.055, allocations: 3.767 MB / 0.8189 GB, free: 79.57 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008146/2.056, allocations: 48 kB / 0.8189 GB, free: 79.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05977/2.116, allocations: 24.56 MB / 0.8429 GB, free: 54.57 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.041e-06/2.116, allocations: 4 kB / 0.8429 GB, free: 54.57 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02607/2.142, allocations: 12.55 MB / 0.8552 GB, free: 41.74 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/2.145, allocations: 0.9559 MB / 0.8561 GB, free: 40.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/2.146, allocations: 48 kB / 0.8562 GB, free: 40.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/2.15, allocations: 163.8 kB / 0.8563 GB, free: 40.55 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009542/2.151, allocations: 194.1 kB / 0.8565 GB, free: 40.36 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003368/2.151, allocations: 79.11 kB / 0.8566 GB, free: 40.29 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006373/2.158, allocations: 2.955 MB / 0.8595 GB, free: 37.34 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.474e-06/2.158, allocations: 0 / 0.8595 GB, free: 37.34 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008256/2.166, allocations: 1.431 MB / 0.8609 GB, free: 35.91 MB / 0.4949 GB 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.000772/2.167, allocations: 194.3 kB / 0.8611 GB, free: 35.72 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01548/2.182, allocations: 7.785 MB / 0.8687 GB, free: 27.93 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.142e-06/2.182, allocations: 4 kB / 0.8687 GB, free: 27.93 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006987/2.189, allocations: 3.345 MB / 0.8719 GB, free: 24.55 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/2.193, allocations: 0.5457 MB / 0.8725 GB, free: 24.02 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/2.217, allocations: 10.37 MB / 0.8826 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008328/2.225, allocations: 4.042 MB / 0.8865 GB, free: 9.496 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007304/2.232, allocations: 2.025 MB / 0.8885 GB, free: 7.484 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/2.234, allocations: 287.4 kB / 0.8888 GB, free: 7.207 MB / 0.4949 GB Notification: Performance of SimCode: time 2.348e-06/2.234, allocations: 0 / 0.8888 GB, free: 7.207 MB / 0.4949 GB Notification: Performance of Templates: time 0.449/2.683, allocations: 65.34 MB / 0.9526 GB, free: 132.2 MB / 0.5105 GB