Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.255e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 61.87 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.4964, allocations: 118.1 MB / 0.5146 GB, free: 4.449 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4967, allocations: 83.95 kB / 0.5147 GB, free: 4.367 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9047/1.401, allocations: 156.4 MB / 0.6675 GB, free: 3.488 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.402, allocations: 0 / 0.6675 GB, free: 3.488 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003174/1.402, allocations: 135.9 kB / 0.6676 GB, free: 3.355 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01932/1.421, allocations: 6.534 MB / 0.674 GB, free: 12.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.421, allocations: 16.03 kB / 0.674 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03724/1.459, allocations: 6.675 MB / 0.6805 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02475/1.483, allocations: 7.937 MB / 0.6883 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006644/1.484, allocations: 0.5215 MB / 0.6888 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/1.487, allocations: 0.7106 MB / 0.6895 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04797/1.535, allocations: 18.6 MB / 0.7076 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003004/1.535, allocations: 83.14 kB / 0.7077 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001427/1.536, allocations: 343.8 kB / 0.708 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003161/1.54, allocations: 1.719 MB / 0.7097 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6562/2.196, allocations: 15.96 MB / 0.7253 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09903/2.295, allocations: 74.13 MB / 0.7977 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02051/2.316, allocations: 6.085 MB / 0.8036 GB, free: 46.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005249/2.321, allocations: 2.705 MB / 0.8063 GB, free: 45.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0277/2.349, allocations: 13.88 MB / 0.8198 GB, free: 38.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/2.349, allocations: 66.09 kB / 0.8199 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 7.219e-06/2.349, allocations: 0 / 0.8199 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.07818/2.427, allocations: 19.13 MB / 0.8386 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/2.427, allocations: 187.6 kB / 0.8388 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009829/2.437, allocations: 5.133 MB / 0.8438 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005407/2.437, allocations: 77.7 kB / 0.8438 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003107/2.441, allocations: 4.858 MB / 0.8486 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/2.442, allocations: 1.281 MB / 0.8498 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006345/2.443, allocations: 186.5 kB / 0.85 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000504/2.443, allocations: 0.713 MB / 0.8507 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00597/2.449, allocations: 3.147 MB / 0.8538 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009286/2.458, allocations: 8.549 MB / 0.8621 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009722/2.468, allocations: 5.2 MB / 0.8672 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/2.468, allocations: 52 kB / 0.8673 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03071/2.499, allocations: 11.81 MB / 0.8788 GB, free: 11.41 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/2.499, allocations: 91.8 kB / 0.8789 GB, free: 11.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002801/2.5, allocations: 192.1 kB / 0.8791 GB, free: 11.14 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005695/2.505, allocations: 1.32 MB / 0.8804 GB, free: 10.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009857/2.515, allocations: 2.192 MB / 0.8825 GB, free: 8.195 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/2.531, allocations: 7.103 MB / 0.8894 GB, free: 1.816 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009119/2.54, allocations: 0.5558 MB / 0.89 GB, free: 1.34 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/2.542, allocations: 0.5464 MB / 0.8905 GB, free: 0.7969 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1155): * Single equations (assignments): 1148 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00195/2.544, allocations: 0.8105 MB / 0.8913 GB, free: 0 / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/2.545, allocations: 0.5368 MB / 0.8918 GB, free: 15.46 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/2.56, allocations: 5.262 MB / 0.897 GB, free: 11.06 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/2.56, allocations: 43.77 kB / 0.897 GB, free: 11.02 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/2.56, allocations: 8 kB / 0.897 GB, free: 11.01 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-05/2.56, allocations: 13.78 kB / 0.897 GB, free: 11.01 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03806/2.598, allocations: 14.01 MB / 0.9107 GB, free: 15.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/2.598, allocations: 12 kB / 0.9107 GB, free: 15.32 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003184/2.601, allocations: 0.533 MB / 0.9112 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0047/2.606, allocations: 0.9277 MB / 0.9122 GB, free: 14.22 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005652/2.607, allocations: 71.56 kB / 0.9122 GB, free: 14.15 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/2.619, allocations: 5.404 MB / 0.9175 GB, free: 9.254 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-05/2.619, allocations: 19.88 kB / 0.9175 GB, free: 9.234 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.349/2.968, allocations: 10.3 MB / 0.9276 GB, free: 128 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/2.97, allocations: 0.5651 MB / 0.9281 GB, free: 127.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/2.971, allocations: 65.16 kB / 0.9282 GB, free: 127.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/2.975, allocations: 191.7 kB / 0.9284 GB, free: 127.9 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009192/2.976, allocations: 219.5 kB / 0.9286 GB, free: 127.9 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00041/2.977, allocations: 108 kB / 0.9287 GB, free: 127.9 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.008489/2.985, allocations: 3.542 MB / 0.9321 GB, free: 127.7 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.109e-06/2.985, allocations: 0 / 0.9321 GB, free: 127.7 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.009985/2.995, allocations: 1.657 MB / 0.9338 GB, free: 127.7 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009307/2.996, allocations: 266.3 kB / 0.934 GB, free: 127.6 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01482/3.011, allocations: 7.33 MB / 0.9412 GB, free: 127.5 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/3.011, allocations: 6.969 kB / 0.9412 GB, free: 127.5 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.005009/3.016, allocations: 2.315 MB / 0.9434 GB, free: 127.3 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/3.02, allocations: 0.6389 MB / 0.9441 GB, free: 127.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03014/3.05, allocations: 13.43 MB / 0.9572 GB, free: 124.5 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/3.061, allocations: 5.319 MB / 0.9624 GB, free: 123.6 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/3.063, allocations: 453 kB / 0.9628 GB, free: 123.6 MB / 0.5574 GB Notification: Performance of SimCode: time 1.603e-06/3.063, allocations: 0 / 0.9628 GB, free: 123.6 MB / 0.5574 GB Notification: Performance of Templates: time 0.2146/3.278, allocations: 119.8 MB / 1.08 GB, free: 53.77 MB / 0.5574 GB