Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.063e-05, allocations: 4 kB / 347 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3204, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.4875, allocations: 109.4 MB / 0.5061 GB, free: 13.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4878, allocations: 87.88 kB / 0.5062 GB, free: 13.13 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5303/1.018, allocations: 74.18 MB / 0.5786 GB, free: 62.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.065e-06/1.018, allocations: 0 / 0.5786 GB, free: 62.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001532/1.018, allocations: 68 kB / 0.5787 GB, free: 62.44 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008513/1.027, allocations: 3.389 MB / 0.582 GB, free: 58.99 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.027, allocations: 8.031 kB / 0.582 GB, free: 58.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/1.038, allocations: 2.082 MB / 0.584 GB, free: 56.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/1.049, allocations: 3.948 MB / 0.5879 GB, free: 52.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/1.049, allocations: 262.9 kB / 0.5882 GB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/1.051, allocations: 351.8 kB / 0.5885 GB, free: 52.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/1.069, allocations: 8.888 MB / 0.5972 GB, free: 42.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/1.069, allocations: 59.45 kB / 0.5972 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008691/1.07, allocations: 171.9 kB / 0.5974 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001292/1.071, allocations: 0.8878 MB / 0.5983 GB, free: 41.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/1.086, allocations: 7.002 MB / 0.6051 GB, free: 34.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04652/1.133, allocations: 42.94 MB / 0.647 GB, free: 5.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009969/1.143, allocations: 3.274 MB / 0.6502 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/1.145, allocations: 1.435 MB / 0.6516 GB, free: 1.043 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00874/1.154, allocations: 4.432 MB / 0.656 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/1.154, allocations: 47.06 kB / 0.656 GB, free: 12.35 MB / 474.7 MB Notification: Performance of pre-optimization done (n=121): time 5.562e-06/1.154, allocations: 4 kB / 0.656 GB, free: 12.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=129): time 0.03113/1.185, allocations: 9.591 MB / 0.6654 GB, free: 2.625 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.185, allocations: 167 kB / 0.6655 GB, free: 2.426 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00656/1.192, allocations: 3.29 MB / 0.6687 GB, free: 15.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002578/1.192, allocations: 49.69 kB / 0.6688 GB, free: 15.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002827/1.195, allocations: 2.693 MB / 0.6714 GB, free: 12.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008016/1.196, allocations: 0.5171 MB / 0.6719 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/1.196, allocations: 104 kB / 0.672 GB, free: 11.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004918/1.197, allocations: 0.5378 MB / 0.6726 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/1.2, allocations: 1.643 MB / 0.6742 GB, free: 9.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007157/1.208, allocations: 5.037 MB / 0.6791 GB, free: 2.773 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005921/1.214, allocations: 2.874 MB / 0.6819 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.805e-05/1.214, allocations: 32 kB / 0.6819 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01583/1.23, allocations: 6.163 MB / 0.6879 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.23, allocations: 57 kB / 0.688 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/1.23, allocations: 120 kB / 0.6881 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008662/1.231, allocations: 340.7 kB / 0.6884 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/1.236, allocations: 1.287 MB / 0.6897 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/1.24, allocations: 2.29 MB / 0.6919 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005013/1.245, allocations: 291.4 kB / 0.6922 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008091/1.246, allocations: 332 kB / 0.6925 GB, free: 4.863 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (666): * Single equations (assignments): 662 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001019/1.247, allocations: 0.5284 MB / 0.693 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/1.247, allocations: 311.9 kB / 0.6933 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006247/1.254, allocations: 2.346 MB / 0.6956 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-05/1.254, allocations: 19.98 kB / 0.6956 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.254, allocations: 8 kB / 0.6956 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.254, allocations: 3.984 kB / 0.6956 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/1.269, allocations: 5.915 MB / 0.7014 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.269, allocations: 4 kB / 0.7014 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.27, allocations: 175.8 kB / 0.7016 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002858/1.273, allocations: 0.7107 MB / 0.7023 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/1.273, allocations: 28 kB / 0.7023 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008166/1.282, allocations: 4.439 MB / 0.7067 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.221e-06/1.282, allocations: 4 kB / 0.7067 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009286/1.291, allocations: 4.42 MB / 0.711 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.292, allocations: 373.4 kB / 0.7113 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/1.292, allocations: 20 kB / 0.7113 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.294, allocations: 79.95 kB / 0.7114 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/1.294, allocations: 72.64 kB / 0.7115 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.294, allocations: 32 kB / 0.7115 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3374/1.632, allocations: 2.285 MB / 0.7138 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.407e-06/1.632, allocations: 0 / 0.7138 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005893/1.638, allocations: 0.8264 MB / 0.7146 GB, free: 135.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004457/1.638, allocations: 160.2 kB / 0.7147 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007071/1.645, allocations: 3.791 MB / 0.7184 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.2e-06/1.645, allocations: 2.344 kB / 0.7184 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.647, allocations: 1.077 MB / 0.7195 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.649, allocations: 355.8 kB / 0.7198 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/1.662, allocations: 6.293 MB / 0.726 GB, free: 134 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003931/1.666, allocations: 2.859 MB / 0.7287 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.667, allocations: 252.2 kB / 0.729 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.659e-06/1.667, allocations: 0 / 0.729 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.08457/1.752, allocations: 60.75 MB / 0.7883 GB, free: 103.2 MB / 0.5105 GB