Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 270 MB / 282.7 MB, free: 1.734 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.204e-05, allocations: 4 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 61.88 MB / 408.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.4869, allocations: 108.4 MB / 0.5051 GB, free: 14.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.4872, allocations: 79.97 kB / 0.5052 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.674/1.161, allocations: 96.41 MB / 0.5993 GB, free: 41.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.161, allocations: 0 / 0.5993 GB, free: 41.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002346/1.161, allocations: 87.94 kB / 0.5994 GB, free: 41.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01295/1.174, allocations: 4.593 MB / 0.6039 GB, free: 36.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.174, allocations: 11.97 kB / 0.6039 GB, free: 36.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03285/1.207, allocations: 6.737 MB / 0.6105 GB, free: 29.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/1.224, allocations: 5.992 MB / 0.6163 GB, free: 23.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/1.225, allocations: 328.6 kB / 0.6167 GB, free: 23.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/1.227, allocations: 447.7 kB / 0.6171 GB, free: 22.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02543/1.252, allocations: 10.93 MB / 0.6278 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/1.252, allocations: 59.47 kB / 0.6278 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001518/1.254, allocations: 207.9 kB / 0.628 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/1.256, allocations: 1.019 MB / 0.629 GB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/1.277, allocations: 8.985 MB / 0.6378 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07422/1.351, allocations: 47.62 MB / 0.6843 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/1.366, allocations: 4.083 MB / 0.6883 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/1.37, allocations: 1.811 MB / 0.69 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/1.386, allocations: 7.478 MB / 0.6973 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.393e-05/1.386, allocations: 47.56 kB / 0.6974 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 6.138e-06/1.386, allocations: 0 / 0.6974 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.4154/1.801, allocations: 25.58 MB / 0.7224 GB, free: 129 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/1.801, allocations: 201.5 kB / 0.7225 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008125/1.81, allocations: 3.747 MB / 0.7262 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005369/1.81, allocations: 59.52 kB / 0.7263 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00233/1.812, allocations: 3.116 MB / 0.7293 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.814, allocations: 0.8817 MB / 0.7302 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007243/1.814, allocations: 126.2 kB / 0.7303 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004047/1.815, allocations: 0.5742 MB / 0.7309 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00636/1.821, allocations: 3.366 MB / 0.7341 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008546/1.83, allocations: 6.954 MB / 0.7409 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008714/1.839, allocations: 4.745 MB / 0.7456 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/1.839, allocations: 38.69 kB / 0.7456 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.04501/1.884, allocations: 14.84 MB / 0.7601 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.884, allocations: 61.23 kB / 0.7602 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.884, allocations: 129.1 kB / 0.7603 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02828/1.912, allocations: 5.929 MB / 0.7661 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006585/1.919, allocations: 1.428 MB / 0.7675 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04228/1.961, allocations: 24.97 MB / 0.7918 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007028/1.968, allocations: 392.6 kB / 0.7922 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.97, allocations: 377 kB / 0.7926 GB, free: 100.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (746): * Single equations (assignments): 741 * 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.001349/1.971, allocations: 0.5821 MB / 0.7931 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.972, allocations: 398.8 kB / 0.7935 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03201/2.004, allocations: 10.76 MB / 0.804 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.51e-05/2.004, allocations: 27.95 kB / 0.8041 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/2.004, allocations: 15.84 kB / 0.8041 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.009e-05/2.004, allocations: 11.39 kB / 0.8041 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04896/2.053, allocations: 20.12 MB / 0.8237 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/2.053, allocations: 11.98 kB / 0.8238 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/2.056, allocations: 378.6 kB / 0.8241 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02336/2.079, allocations: 4.992 MB / 0.829 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004962/2.08, allocations: 45.98 kB / 0.829 GB, free: 66.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03628/2.116, allocations: 20.13 MB / 0.8487 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/2.116, allocations: 11.94 kB / 0.8487 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03733/2.154, allocations: 14.5 MB / 0.8629 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/2.155, allocations: 455.8 kB / 0.8633 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009387/2.156, allocations: 53.64 kB / 0.8633 GB, free: 30.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/2.159, allocations: 166.8 kB / 0.8635 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007166/2.16, allocations: 153 kB / 0.8637 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/2.16, allocations: 63.98 kB / 0.8637 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005037/2.165, allocations: 2.631 MB / 0.8663 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.74e-07/2.165, allocations: 0 / 0.8663 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007551/2.173, allocations: 1.333 MB / 0.8676 GB, free: 26.52 MB / 0.5105 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 (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.0007165/2.173, allocations: 187.4 kB / 0.8678 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01366/2.187, allocations: 7.659 MB / 0.8752 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.863e-06/2.187, allocations: 4 kB / 0.8752 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005387/2.193, allocations: 3.049 MB / 0.8782 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/2.196, allocations: 486.5 kB / 0.8787 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/2.217, allocations: 10.39 MB / 0.8888 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005851/2.223, allocations: 3.601 MB / 0.8924 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/2.224, allocations: 303.4 kB / 0.8926 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of SimCode: time 1.677e-06/2.224, allocations: 0 / 0.8926 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of Templates: time 0.4555/2.68, allocations: 103.5 MB / 0.9937 GB, free: 95.66 MB / 0.5261 GB