Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.18/2.18, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.936e-05, allocations: 4 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3287, allocations: 54.84 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.526, allocations: 100.2 MB / 459.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5263, allocations: 83.94 kB / 460 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6547/1.181, allocations: 94.7 MB / 0.5417 GB, free: 103.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.02e-06/1.181, allocations: 1.125 kB / 0.5417 GB, free: 103.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002883/1.181, allocations: 87.62 kB / 0.5418 GB, free: 103.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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01458/1.196, allocations: 4.608 MB / 0.5463 GB, free: 101.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.196, allocations: 14.06 kB / 0.5463 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03454/1.231, allocations: 6.737 MB / 0.5529 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/1.249, allocations: 6.297 MB / 0.559 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/1.249, allocations: 325.7 kB / 0.5594 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001853/1.251, allocations: 440.8 kB / 0.5598 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/1.277, allocations: 10.91 MB / 0.5704 GB, free: 96.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000266/1.277, allocations: 75.53 kB / 0.5705 GB, free: 96.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/1.278, allocations: 209.6 kB / 0.5707 GB, free: 96.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/1.28, allocations: 1.016 MB / 0.5717 GB, free: 96.47 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/1.302, allocations: 8.982 MB / 0.5805 GB, free: 93.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05422/1.356, allocations: 47.56 MB / 0.6269 GB, free: 55.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/1.369, allocations: 4.077 MB / 0.6309 GB, free: 51.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/1.372, allocations: 1.789 MB / 0.6326 GB, free: 50.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/1.385, allocations: 7.513 MB / 0.64 GB, free: 42.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.385, allocations: 51.56 kB / 0.64 GB, free: 42.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=180): time 6.463e-06/1.385, allocations: 3.938 kB / 0.64 GB, free: 42.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=236): time 0.09819/1.483, allocations: 25.67 MB / 0.6651 GB, free: 17.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.483, allocations: 209.9 kB / 0.6653 GB, free: 16.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006498/1.49, allocations: 3.752 MB / 0.669 GB, free: 13.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005128/1.49, allocations: 61.7 kB / 0.669 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.492, allocations: 3.23 MB / 0.6722 GB, free: 9.863 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.493, allocations: 0.869 MB / 0.673 GB, free: 9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005973/1.494, allocations: 131.5 kB / 0.6732 GB, free: 8.875 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000373/1.494, allocations: 0.5705 MB / 0.6737 GB, free: 8.297 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005723/1.5, allocations: 3.359 MB / 0.677 GB, free: 4.934 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008831/1.509, allocations: 6.937 MB / 0.6838 GB, free: 12.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009955/1.519, allocations: 4.742 MB / 0.6884 GB, free: 7.465 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/1.519, allocations: 36 kB / 0.6884 GB, free: 7.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.04881/1.568, allocations: 14.97 MB / 0.703 GB, free: 8.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.568, allocations: 60 kB / 0.7031 GB, free: 8.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/1.568, allocations: 132.1 kB / 0.7032 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02946/1.598, allocations: 5.925 MB / 0.709 GB, free: 2.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007133/1.605, allocations: 1.431 MB / 0.7104 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.322/1.927, allocations: 24.95 MB / 0.7348 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007168/1.934, allocations: 402.4 kB / 0.7352 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.936, allocations: 372 kB / 0.7355 GB, free: 114.4 MB / 490.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.001323/1.937, allocations: 0.5749 MB / 0.7361 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.938, allocations: 395.5 kB / 0.7365 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03431/1.972, allocations: 10.77 MB / 0.747 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.071e-05/1.972, allocations: 26.31 kB / 0.747 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/1.972, allocations: 10.66 kB / 0.747 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.879e-05/1.972, allocations: 11.44 kB / 0.747 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05117/2.024, allocations: 20.13 MB / 0.7667 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/2.024, allocations: 7.25 kB / 0.7667 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/2.026, allocations: 382.4 kB / 0.767 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02458/2.051, allocations: 4.99 MB / 0.7719 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005487/2.052, allocations: 50.09 kB / 0.772 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03348/2.085, allocations: 20.14 MB / 0.7916 GB, free: 92.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/2.085, allocations: 10.23 kB / 0.7916 GB, free: 92.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03833/2.123, allocations: 14.5 MB / 0.8058 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00293/2.126, allocations: 0.9606 MB / 0.8067 GB, free: 82.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/2.128, allocations: 38.94 kB / 0.8068 GB, free: 82.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003853/2.132, allocations: 177.5 kB / 0.8069 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000856/2.133, allocations: 152.4 kB / 0.8071 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/2.133, allocations: 62.69 kB / 0.8071 GB, free: 82.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005221/2.138, allocations: 2.646 MB / 0.8097 GB, free: 79.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.01e-07/2.138, allocations: 0 / 0.8097 GB, free: 79.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007045/2.145, allocations: 1.317 MB / 0.811 GB, free: 78.3 MB / 490.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.0006046/2.146, allocations: 191.7 kB / 0.8112 GB, free: 78.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01293/2.159, allocations: 7.637 MB / 0.8187 GB, free: 70.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.953e-06/2.159, allocations: 0 / 0.8187 GB, free: 70.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005284/2.164, allocations: 3.041 MB / 0.8216 GB, free: 67.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/2.168, allocations: 489.8 kB / 0.8221 GB, free: 67.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/2.187, allocations: 9.886 MB / 0.8317 GB, free: 57.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005642/2.193, allocations: 3.607 MB / 0.8353 GB, free: 53.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006721/2.2, allocations: 1.967 MB / 0.8372 GB, free: 52.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/2.201, allocations: 259.4 kB / 0.8374 GB, free: 51.77 MB / 490.7 MB Notification: Performance of SimCode: time 2.181e-06/2.201, allocations: 6.469 kB / 0.8374 GB, free: 51.77 MB / 490.7 MB Notification: Performance of Templates: time 0.4121/2.613, allocations: 62.97 MB / 0.8989 GB, free: 127 MB / 0.4948 GB