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_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 1.851/1.851, allocations: 209.3 MB / 221.9 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.123e-05, allocations: 4 kB / 273.1 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.08524, allocations: 48.69 MB / 321.7 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.357/0.4423, allocations: 93.35 MB / 415.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.4425, allocations: 73.33 kB / 415.2 MB, free: 2.293 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3958/0.8383, allocations: 94.66 MB / 0.4979 GB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.923e-06/0.8384, allocations: 0 / 0.4979 GB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004804/0.8389, allocations: 87.94 kB / 0.498 GB, free: 10.55 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: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.02642/0.8653, allocations: 4.608 MB / 0.5025 GB, free: 5.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.041e-05/0.8654, allocations: 8.031 kB / 0.5025 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05553/0.921, allocations: 6.741 MB / 0.5091 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02063/0.9417, allocations: 6.285 MB / 0.5152 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004757/0.9422, allocations: 328.6 kB / 0.5155 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/0.9442, allocations: 439.8 kB / 0.5159 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2741/1.218, allocations: 10.9 MB / 0.5266 GB, free: 84.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002704/1.219, allocations: 70.53 kB / 0.5266 GB, free: 84.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/1.22, allocations: 211.2 kB / 0.5268 GB, free: 84.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001976/1.222, allocations: 1.017 MB / 0.5278 GB, free: 84.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/1.247, allocations: 8.974 MB / 0.5366 GB, free: 84.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05494/1.302, allocations: 47.57 MB / 0.5831 GB, free: 55.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/1.315, allocations: 4.079 MB / 0.587 GB, free: 54.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/1.318, allocations: 1.792 MB / 0.5888 GB, free: 53.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01322/1.331, allocations: 7.508 MB / 0.5961 GB, free: 49.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/1.331, allocations: 53.16 kB / 0.5962 GB, free: 49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 6.446e-06/1.331, allocations: 0 / 0.5962 GB, free: 49 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.09958/1.431, allocations: 25.68 MB / 0.6212 GB, free: 42.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.431, allocations: 205.7 kB / 0.6214 GB, free: 42.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/1.439, allocations: 3.76 MB / 0.6251 GB, free: 40.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000532/1.44, allocations: 61.08 kB / 0.6252 GB, free: 40.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/1.442, allocations: 3.106 MB / 0.6282 GB, free: 38.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.443, allocations: 0.8733 MB / 0.6291 GB, free: 37.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006564/1.444, allocations: 126.2 kB / 0.6292 GB, free: 37.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003806/1.444, allocations: 0.584 MB / 0.6297 GB, free: 37.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006223/1.45, allocations: 3.358 MB / 0.633 GB, free: 35.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008207/1.459, allocations: 6.93 MB / 0.6398 GB, free: 27.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008198/1.467, allocations: 4.738 MB / 0.6444 GB, free: 23.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.022e-05/1.467, allocations: 40 kB / 0.6445 GB, free: 23.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.04291/1.51, allocations: 14.82 MB / 0.6589 GB, free: 11.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.51, allocations: 60 kB / 0.659 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.51, allocations: 126.9 kB / 0.6591 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02666/1.537, allocations: 5.926 MB / 0.6649 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006462/1.543, allocations: 1.431 MB / 0.6663 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3785/1.922, allocations: 24.96 MB / 0.6907 GB, free: 90.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007176/1.929, allocations: 393.1 kB / 0.691 GB, free: 90.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.931, allocations: 376.4 kB / 0.6914 GB, free: 90.68 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.001573/1.932, allocations: 0.5742 MB / 0.692 GB, free: 90.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.933, allocations: 396.1 kB / 0.6923 GB, free: 90.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03564/1.969, allocations: 10.76 MB / 0.7028 GB, free: 90.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.457e-05/1.969, allocations: 27.45 kB / 0.7029 GB, free: 90.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.984e-05/1.969, allocations: 9.469 kB / 0.7029 GB, free: 90.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-05/1.969, allocations: 12.47 kB / 0.7029 GB, free: 90.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05178/2.021, allocations: 20.12 MB / 0.7225 GB, free: 87.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/2.021, allocations: 7 kB / 0.7226 GB, free: 87.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/2.024, allocations: 386.3 kB / 0.7229 GB, free: 87.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02357/2.047, allocations: 4.992 MB / 0.7278 GB, free: 87.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005217/2.048, allocations: 40.12 kB / 0.7278 GB, free: 87.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03258/2.08, allocations: 20.15 MB / 0.7475 GB, free: 78.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.27e-06/2.08, allocations: 8.594 kB / 0.7475 GB, free: 78.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03569/2.116, allocations: 14.5 MB / 0.7617 GB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/2.119, allocations: 0.9618 MB / 0.7626 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/2.12, allocations: 42.59 kB / 0.7627 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003325/2.123, allocations: 178.5 kB / 0.7628 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007703/2.124, allocations: 151.7 kB / 0.763 GB, free: 72.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/2.124, allocations: 61.88 kB / 0.763 GB, free: 72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005407/2.13, allocations: 2.64 MB / 0.7656 GB, free: 71.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.009e-06/2.13, allocations: 0 / 0.7656 GB, free: 71.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007371/2.137, allocations: 1.329 MB / 0.7669 GB, free: 70.93 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.000698/2.138, allocations: 188 kB / 0.7671 GB, free: 70.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01379/2.152, allocations: 7.657 MB / 0.7746 GB, free: 67.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.898e-06/2.152, allocations: 0 / 0.7746 GB, free: 67.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005498/2.157, allocations: 3.054 MB / 0.7776 GB, free: 64.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/2.161, allocations: 485.4 kB / 0.778 GB, free: 63.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/2.182, allocations: 10.39 MB / 0.7882 GB, free: 54.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006233/2.188, allocations: 3.603 MB / 0.7917 GB, free: 52.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/2.19, allocations: 310.4 kB / 0.792 GB, free: 51.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.872e-06/2.19, allocations: 2.219 kB / 0.792 GB, free: 51.79 MB / 442.7 MB Notification: Performance of Templates: time 0.4053/2.596, allocations: 103.3 MB / 0.8929 GB, free: 84.43 MB / 458.7 MB