Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.512e-05, allocations: 4 kB / 273.1 MB, free: 252 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0856/0.08565, allocations: 48.7 MB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.453, allocations: 93.35 MB / 415.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4533, allocations: 75.94 kB / 415.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6102/1.064, allocations: 94.65 MB / 0.4979 GB, free: 93.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.616e-06/1.064, allocations: 0 / 0.4979 GB, free: 93.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003008/1.064, allocations: 87.36 kB / 0.498 GB, free: 93.5 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: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.01512/1.079, allocations: 4.608 MB / 0.5025 GB, free: 92.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.079, allocations: 8 kB / 0.5025 GB, free: 92.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03635/1.115, allocations: 6.735 MB / 0.5091 GB, free: 91.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01831/1.134, allocations: 6.302 MB / 0.5152 GB, free: 91.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/1.134, allocations: 329.7 kB / 0.5155 GB, free: 91.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001913/1.136, allocations: 439.5 kB / 0.516 GB, free: 91.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02637/1.163, allocations: 10.91 MB / 0.5266 GB, free: 88.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002273/1.163, allocations: 63.28 kB / 0.5267 GB, free: 88.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/1.164, allocations: 212.1 kB / 0.5269 GB, free: 88.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/1.166, allocations: 1.015 MB / 0.5279 GB, free: 88.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/1.188, allocations: 8.977 MB / 0.5366 GB, free: 88.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05574/1.244, allocations: 47.55 MB / 0.5831 GB, free: 53.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/1.257, allocations: 4.085 MB / 0.5871 GB, free: 51.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/1.26, allocations: 1.79 MB / 0.5888 GB, free: 50.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/1.274, allocations: 7.511 MB / 0.5961 GB, free: 46.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.274, allocations: 58.69 kB / 0.5962 GB, free: 46.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 6.369e-06/1.274, allocations: 0 / 0.5962 GB, free: 46.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.09804/1.372, allocations: 25.69 MB / 0.6213 GB, free: 27.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.372, allocations: 205.9 kB / 0.6215 GB, free: 27.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006739/1.379, allocations: 3.757 MB / 0.6252 GB, free: 23.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005106/1.379, allocations: 61.69 kB / 0.6252 GB, free: 23.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/1.381, allocations: 3.221 MB / 0.6284 GB, free: 20.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/1.382, allocations: 0.8744 MB / 0.6292 GB, free: 19.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005575/1.383, allocations: 128 kB / 0.6293 GB, free: 19.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003479/1.383, allocations: 0.5705 MB / 0.6299 GB, free: 18.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005893/1.389, allocations: 3.359 MB / 0.6332 GB, free: 15.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007959/1.397, allocations: 6.929 MB / 0.6399 GB, free: 6.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008041/1.405, allocations: 4.748 MB / 0.6446 GB, free: 1.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.585e-05/1.405, allocations: 36 kB / 0.6446 GB, free: 1.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.05547/1.461, allocations: 14.96 MB / 0.6592 GB, free: 2.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.461, allocations: 62.77 kB / 0.6593 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/1.461, allocations: 128 kB / 0.6594 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3213/1.783, allocations: 5.921 MB / 0.6652 GB, free: 95.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006771/1.789, allocations: 1.429 MB / 0.6666 GB, free: 95.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04381/1.833, allocations: 24.95 MB / 0.6909 GB, free: 92.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007423/1.841, allocations: 398.6 kB / 0.6913 GB, free: 92.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.842, allocations: 374 kB / 0.6917 GB, free: 92.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (743): * Single equations (assignments): 738 * Array equations: 3 * 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 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00168/1.844, allocations: 0.5781 MB / 0.6922 GB, free: 92.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000969/1.845, allocations: 405.8 kB / 0.6926 GB, free: 92.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03396/1.879, allocations: 10.76 MB / 0.7031 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/1.879, allocations: 22.16 kB / 0.7032 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/1.879, allocations: 12.06 kB / 0.7032 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.993e-05/1.879, allocations: 10.08 kB / 0.7032 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05861/1.938, allocations: 20.13 MB / 0.7228 GB, free: 81.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.938, allocations: 6.656 kB / 0.7228 GB, free: 81.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/1.94, allocations: 383.7 kB / 0.7232 GB, free: 81.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02454/1.965, allocations: 4.988 MB / 0.7281 GB, free: 80.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005322/1.965, allocations: 44.81 kB / 0.7281 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03458/2, allocations: 20.15 MB / 0.7478 GB, free: 71.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/2, allocations: 11.02 kB / 0.7478 GB, free: 71.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03641/2.036, allocations: 14.5 MB / 0.762 GB, free: 60.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002775/2.039, allocations: 0.9565 MB / 0.7629 GB, free: 59.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/2.04, allocations: 44.97 kB / 0.763 GB, free: 59.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/2.044, allocations: 167.8 kB / 0.7631 GB, free: 59.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007473/2.044, allocations: 157.8 kB / 0.7633 GB, free: 59.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/2.045, allocations: 69.08 kB / 0.7633 GB, free: 58.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004913/2.05, allocations: 2.639 MB / 0.7659 GB, free: 56.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.177e-06/2.05, allocations: 0 / 0.7659 GB, free: 56.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007238/2.057, allocations: 1.324 MB / 0.7672 GB, free: 54.99 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005972/2.058, allocations: 184.3 kB / 0.7674 GB, free: 54.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01294/2.07, allocations: 7.651 MB / 0.7749 GB, free: 47.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.688e-06/2.071, allocations: 0 / 0.7749 GB, free: 47.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005103/2.076, allocations: 3.03 MB / 0.7778 GB, free: 44.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/2.079, allocations: 488.6 kB / 0.7783 GB, free: 43.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/2.097, allocations: 9.89 MB / 0.7879 GB, free: 34.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005732/2.103, allocations: 3.6 MB / 0.7915 GB, free: 30.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.011/2.114, allocations: 1.967 MB / 0.7934 GB, free: 28.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/2.117, allocations: 263.4 kB / 0.7936 GB, free: 28.39 MB / 442.7 MB Notification: Performance of SimCode: time 2.526e-06/2.117, allocations: 2.906 kB / 0.7936 GB, free: 28.39 MB / 442.7 MB Notification: Performance of Templates: time 0.3865/2.503, allocations: 62.99 MB / 0.8551 GB, free: 103.7 MB / 458.7 MB