Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.838e-05, allocations: 0 / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09203, allocations: 50.41 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.4965, allocations: 105.4 MB / 447.9 MB, free: 5.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4968, allocations: 92.56 kB / 448 MB, free: 5.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6724/1.169, allocations: 112.7 MB / 0.5476 GB, free: 99.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.796e-06/1.169, allocations: 0 / 0.5476 GB, free: 99.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003366/1.17, allocations: 102.8 kB / 0.5477 GB, free: 99.45 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01522/1.185, allocations: 4.921 MB / 0.5525 GB, free: 97.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.185, allocations: 7.781 kB / 0.5525 GB, free: 97.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0373/1.222, allocations: 6.9 MB / 0.5592 GB, free: 97.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01959/1.242, allocations: 6.46 MB / 0.5655 GB, free: 96.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/1.242, allocations: 390.2 kB / 0.5659 GB, free: 96.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/1.244, allocations: 0.5232 MB / 0.5664 GB, free: 96.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03158/1.276, allocations: 12.5 MB / 0.5786 GB, free: 93.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/1.276, allocations: 62.72 kB / 0.5787 GB, free: 93.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/1.278, allocations: 243.7 kB / 0.5789 GB, free: 92.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/1.279, allocations: 1.05 MB / 0.5799 GB, free: 92.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/1.306, allocations: 10.2 MB / 0.5899 GB, free: 89.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06149/1.367, allocations: 50.15 MB / 0.6389 GB, free: 46.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/1.383, allocations: 4.763 MB / 0.6435 GB, free: 42.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/1.386, allocations: 1.878 MB / 0.6453 GB, free: 40.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/1.398, allocations: 7.02 MB / 0.6522 GB, free: 33.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.398, allocations: 59.5 kB / 0.6523 GB, free: 33.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 6.107e-06/1.399, allocations: 0 / 0.6523 GB, free: 33.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.07066/1.469, allocations: 17.01 MB / 0.6689 GB, free: 16.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/1.469, allocations: 209.9 kB / 0.6691 GB, free: 16.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007811/1.477, allocations: 3.877 MB / 0.6729 GB, free: 12.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003841/1.478, allocations: 61.7 kB / 0.6729 GB, free: 12.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.48, allocations: 3.445 MB / 0.6763 GB, free: 8.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009395/1.481, allocations: 0.8359 MB / 0.6771 GB, free: 7.891 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005562/1.482, allocations: 128 kB / 0.6772 GB, free: 7.766 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003875/1.482, allocations: 0.5795 MB / 0.6778 GB, free: 7.176 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004315/1.486, allocations: 2.109 MB / 0.6798 GB, free: 5.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2711/1.757, allocations: 5.823 MB / 0.6855 GB, free: 86.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007604/1.765, allocations: 3.511 MB / 0.689 GB, free: 86.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002203/1.765, allocations: 37.78 kB / 0.689 GB, free: 86.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.02279/1.788, allocations: 8.164 MB / 0.697 GB, free: 85.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/1.788, allocations: 65.45 kB / 0.697 GB, free: 85.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002569/1.789, allocations: 132 kB / 0.6972 GB, free: 85.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004375/1.793, allocations: 1.025 MB / 0.6982 GB, free: 85.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006303/1.799, allocations: 1.429 MB / 0.6995 GB, free: 85.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/1.812, allocations: 6.883 MB / 0.7063 GB, free: 84.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00627/1.818, allocations: 331.6 kB / 0.7066 GB, free: 84.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.819, allocations: 384.5 kB / 0.707 GB, free: 84.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (771): * Single equations (assignments): 767 * 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%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001448/1.821, allocations: 0.5979 MB / 0.7075 GB, free: 84.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009005/1.822, allocations: 406.6 kB / 0.7079 GB, free: 84.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009342/1.831, allocations: 3.608 MB / 0.7114 GB, free: 83.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.177e-05/1.831, allocations: 25.92 kB / 0.7115 GB, free: 83.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/1.831, allocations: 9.219 kB / 0.7115 GB, free: 83.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.929e-05/1.831, allocations: 11.94 kB / 0.7115 GB, free: 83.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03545/1.867, allocations: 9.8 MB / 0.7211 GB, free: 81.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/1.867, allocations: 3.875 kB / 0.7211 GB, free: 81.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004103/1.871, allocations: 362.2 kB / 0.7214 GB, free: 81.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006704/1.878, allocations: 0.7941 MB / 0.7222 GB, free: 81.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005954/1.878, allocations: 45 kB / 0.7222 GB, free: 81.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.898, allocations: 5.598 MB / 0.7277 GB, free: 78.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-05/1.898, allocations: 16.62 kB / 0.7277 GB, free: 78.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02452/1.922, allocations: 6.936 MB / 0.7345 GB, free: 74.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/1.925, allocations: 450.5 kB / 0.7349 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/1.926, allocations: 45.84 kB / 0.735 GB, free: 74.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005112/1.932, allocations: 100.2 kB / 0.7351 GB, free: 74.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005233/1.932, allocations: 146.2 kB / 0.7352 GB, free: 74.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/1.932, allocations: 68.09 kB / 0.7353 GB, free: 74.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006105/1.938, allocations: 2.727 MB / 0.7379 GB, free: 73.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.163e-06/1.938, allocations: 0 / 0.7379 GB, free: 73.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007453/1.946, allocations: 1.179 MB / 0.7391 GB, free: 73.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (176): * Single equations (assignments): 172 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007469/1.947, allocations: 234.9 kB / 0.7393 GB, free: 72.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01021/1.957, allocations: 5.121 MB / 0.7443 GB, free: 71.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.957, allocations: 0 / 0.7443 GB, free: 71.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003292/1.96, allocations: 1.731 MB / 0.746 GB, free: 70.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.964, allocations: 0.5068 MB / 0.7465 GB, free: 70.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.99, allocations: 9.575 MB / 0.7558 GB, free: 66.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01217/2.002, allocations: 3.983 MB / 0.7597 GB, free: 64.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/2.005, allocations: 319.5 kB / 0.76 GB, free: 64.82 MB / 442.7 MB Notification: Performance of SimCode: time 2.563e-06/2.005, allocations: 0 / 0.76 GB, free: 64.82 MB / 442.7 MB Notification: Performance of Templates: time 0.1621/2.167, allocations: 85.68 MB / 0.8437 GB, free: 5.695 MB / 458.7 MB