Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 2.234/2.234, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.591e-05, allocations: 0 / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3323, allocations: 54.85 MB / 359.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.4905, allocations: 101.1 MB / 460.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4907, allocations: 67.97 kB / 460.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6539/1.145, allocations: 103.3 MB / 0.5509 GB, free: 102.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.028e-06/1.145, allocations: 0 / 0.5509 GB, free: 102.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00034/1.145, allocations: 103.4 kB / 0.551 GB, free: 102.3 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01791/1.163, allocations: 5.187 MB / 0.5561 GB, free: 100.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.163, allocations: 19.2 kB / 0.5561 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03876/1.202, allocations: 6.889 MB / 0.5629 GB, free: 99.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/1.223, allocations: 7.484 MB / 0.5702 GB, free: 99.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/1.223, allocations: 373.3 kB / 0.5705 GB, free: 99.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/1.226, allocations: 0.4992 MB / 0.571 GB, free: 99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/1.257, allocations: 12.18 MB / 0.5829 GB, free: 92.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003379/1.257, allocations: 79.28 kB / 0.583 GB, free: 92.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001878/1.259, allocations: 236.7 kB / 0.5832 GB, free: 92.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/1.261, allocations: 1.139 MB / 0.5843 GB, free: 92.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/1.287, allocations: 9.924 MB / 0.594 GB, free: 89.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06707/1.355, allocations: 55.61 MB / 0.6483 GB, free: 35.42 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01788/1.372, allocations: 5.656 MB / 0.6538 GB, free: 29.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004315/1.377, allocations: 2.811 MB / 0.6566 GB, free: 26.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01702/1.394, allocations: 8.796 MB / 0.6652 GB, free: 17.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.394, allocations: 55.86 kB / 0.6652 GB, free: 17.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=206): time 6.648e-06/1.394, allocations: 3.938 kB / 0.6652 GB, free: 17.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.1249/1.519, allocations: 29.41 MB / 0.6939 GB, free: 4.426 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/1.519, allocations: 209.9 kB / 0.6942 GB, free: 4.176 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.529, allocations: 4.161 MB / 0.6982 GB, free: 16 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.2705/1.8, allocations: 60.67 kB / 0.6983 GB, free: 108.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002867/1.803, allocations: 3.428 MB / 0.7016 GB, free: 107.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.804, allocations: 0.9801 MB / 0.7026 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006854/1.805, allocations: 134.9 kB / 0.7027 GB, free: 107.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005026/1.805, allocations: 0.5935 MB / 0.7033 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006558/1.812, allocations: 2.943 MB / 0.7062 GB, free: 107.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009276/1.821, allocations: 6.698 MB / 0.7127 GB, free: 102.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009383/1.831, allocations: 4.42 MB / 0.717 GB, free: 102.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002122/1.831, allocations: 40.16 kB / 0.7171 GB, free: 102.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.03466/1.866, allocations: 12.4 MB / 0.7292 GB, free: 99.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.866, allocations: 58.59 kB / 0.7292 GB, free: 99.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.866, allocations: 133.2 kB / 0.7293 GB, free: 99.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01552/1.882, allocations: 4.074 MB / 0.7333 GB, free: 99.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007018/1.889, allocations: 1.419 MB / 0.7347 GB, free: 98.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04758/1.936, allocations: 25.8 MB / 0.7599 GB, free: 86.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007632/1.944, allocations: 399.2 kB / 0.7603 GB, free: 86.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.946, allocations: 403.2 kB / 0.7607 GB, free: 85.98 MB / 474.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.00255/1.948, allocations: 0.5963 MB / 0.7613 GB, free: 85.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.949, allocations: 443.4 kB / 0.7617 GB, free: 85.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/1.972, allocations: 8.069 MB / 0.7696 GB, free: 82.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.119e-05/1.972, allocations: 28.59 kB / 0.7696 GB, free: 82.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.972, allocations: 14.75 kB / 0.7696 GB, free: 82.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.972e-05/1.972, allocations: 15.39 kB / 0.7696 GB, free: 82.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04157/2.014, allocations: 16.63 MB / 0.7859 GB, free: 74.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.704e-05/2.014, allocations: 8 kB / 0.7859 GB, free: 74.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/2.016, allocations: 291.7 kB / 0.7861 GB, free: 74.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/2.029, allocations: 3.771 MB / 0.7898 GB, free: 71.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005884/2.029, allocations: 58.22 kB / 0.7899 GB, free: 71.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03999/2.069, allocations: 24.55 MB / 0.8139 GB, free: 50.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/2.069, allocations: 11.94 kB / 0.8139 GB, free: 50.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02553/2.095, allocations: 12.56 MB / 0.8261 GB, free: 37.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002982/2.098, allocations: 0.9443 MB / 0.8271 GB, free: 36.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/2.099, allocations: 48.73 kB / 0.8271 GB, free: 36.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/2.103, allocations: 160.7 kB / 0.8273 GB, free: 36.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/2.104, allocations: 194.1 kB / 0.8274 GB, free: 36.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004578/2.105, allocations: 72.86 kB / 0.8275 GB, free: 36.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007106/2.112, allocations: 2.942 MB / 0.8304 GB, free: 33.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.26e-06/2.112, allocations: 0 / 0.8304 GB, free: 33.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008914/2.121, allocations: 1.424 MB / 0.8318 GB, free: 32.03 MB / 474.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.0008883/2.122, allocations: 198.4 kB / 0.832 GB, free: 31.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01616/2.138, allocations: 7.768 MB / 0.8395 GB, free: 24.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.425e-06/2.138, allocations: 4 kB / 0.8395 GB, free: 24.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006972/2.145, allocations: 3.361 MB / 0.8428 GB, free: 20.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/2.149, allocations: 0.5567 MB / 0.8434 GB, free: 20.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/2.175, allocations: 10.92 MB / 0.854 GB, free: 9.105 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008307/2.183, allocations: 4.032 MB / 0.858 GB, free: 5.062 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/2.185, allocations: 323.4 kB / 0.8583 GB, free: 4.746 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-06/2.185, allocations: 4 kB / 0.8583 GB, free: 4.742 MB / 474.7 MB Notification: Performance of Templates: time 0.4711/2.656, allocations: 133.9 MB / 0.9891 GB, free: 50.23 MB / 490.7 MB