Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 270 MB / 282.7 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.657e-05, allocations: 0 / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3218, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.4896, allocations: 109 MB / 0.5057 GB, free: 13.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4899, allocations: 75.95 kB / 0.5058 GB, free: 13.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.667/1.157, allocations: 105 MB / 0.6084 GB, free: 32.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.297e-06/1.157, allocations: 0 / 0.6084 GB, free: 32.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002931/1.157, allocations: 108 kB / 0.6085 GB, free: 31.91 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01548/1.173, allocations: 5.19 MB / 0.6135 GB, free: 26.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.173, allocations: 8.031 kB / 0.6135 GB, free: 26.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03327/1.206, allocations: 6.881 MB / 0.6203 GB, free: 19.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/1.225, allocations: 7.187 MB / 0.6273 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003859/1.226, allocations: 373.8 kB / 0.6276 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001885/1.228, allocations: 0.492 MB / 0.6281 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/1.255, allocations: 12.2 MB / 0.64 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002669/1.255, allocations: 71.66 kB / 0.6401 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/1.256, allocations: 239.8 kB / 0.6403 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002169/1.258, allocations: 1.145 MB / 0.6414 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02747/1.286, allocations: 9.931 MB / 0.6511 GB, free: 2.926 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08552/1.371, allocations: 55.65 MB / 0.7055 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01999/1.391, allocations: 5.648 MB / 0.711 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005349/1.397, allocations: 2.822 MB / 0.7138 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3248/1.722, allocations: 8.781 MB / 0.7223 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.722, allocations: 55.47 kB / 0.7224 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=206): time 7.032e-06/1.722, allocations: 0 / 0.7224 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=265): time 0.1277/1.849, allocations: 29.3 MB / 0.751 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/1.85, allocations: 208.4 kB / 0.7512 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008921/1.859, allocations: 4.156 MB / 0.7553 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006235/1.859, allocations: 66.45 kB / 0.7553 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002679/1.862, allocations: 3.444 MB / 0.7587 GB, free: 117 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.863, allocations: 0.9728 MB / 0.7596 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008118/1.864, allocations: 138.7 kB / 0.7598 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004578/1.865, allocations: 0.5917 MB / 0.7603 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00624/1.871, allocations: 2.95 MB / 0.7632 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008385/1.879, allocations: 6.724 MB / 0.7698 GB, free: 109 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008499/1.888, allocations: 4.429 MB / 0.7741 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/1.888, allocations: 38.69 kB / 0.7742 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.03225/1.92, allocations: 12.4 MB / 0.7863 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.92, allocations: 64 kB / 0.7863 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/1.921, allocations: 134.1 kB / 0.7865 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01433/1.935, allocations: 4.083 MB / 0.7904 GB, free: 98.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005983/1.941, allocations: 1.419 MB / 0.7918 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04436/1.985, allocations: 25.82 MB / 0.817 GB, free: 74.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007149/1.993, allocations: 399.5 kB / 0.8174 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/1.994, allocations: 399.1 kB / 0.8178 GB, free: 73.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (763): * Single equations (assignments): 757 * 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.001351/1.995, allocations: 0.6082 MB / 0.8184 GB, free: 73.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.996, allocations: 442.3 kB / 0.8188 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01942/2.016, allocations: 8.06 MB / 0.8267 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-05/2.016, allocations: 29.33 kB / 0.8267 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-05/2.016, allocations: 19.7 kB / 0.8267 GB, free: 66.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.611e-05/2.016, allocations: 19 kB / 0.8268 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03798/2.054, allocations: 16.62 MB / 0.843 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/2.054, allocations: 4 kB / 0.843 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/2.056, allocations: 295.6 kB / 0.8433 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01314/2.069, allocations: 3.773 MB / 0.847 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005148/2.07, allocations: 52.55 kB / 0.847 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.039/2.109, allocations: 24.56 MB / 0.871 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.169e-06/2.109, allocations: 7.938 kB / 0.871 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02523/2.134, allocations: 12.55 MB / 0.8833 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/2.135, allocations: 495.2 kB / 0.8837 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/2.137, allocations: 49.81 kB / 0.8838 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/2.139, allocations: 167.8 kB / 0.8839 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007995/2.14, allocations: 194.1 kB / 0.8841 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003179/2.141, allocations: 75.98 kB / 0.8842 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006396/2.147, allocations: 2.922 MB / 0.887 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.182e-06/2.147, allocations: 4 kB / 0.887 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008051/2.155, allocations: 1.429 MB / 0.8884 GB, free: 3.477 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 (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.000601/2.156, allocations: 200.1 kB / 0.8886 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01696/2.173, allocations: 7.789 MB / 0.8962 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/2.173, allocations: 7.844 kB / 0.8962 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007929/2.181, allocations: 3.355 MB / 0.8995 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/2.185, allocations: 0.5429 MB / 0.9001 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3432/2.528, allocations: 10.91 MB / 0.9107 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008563/2.536, allocations: 4.04 MB / 0.9147 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/2.538, allocations: 323.9 kB / 0.915 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.836e-06/2.538, allocations: 0 / 0.915 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.1829/2.721, allocations: 134.1 MB / 1.046 GB, free: 58.7 MB / 0.5417 GB