Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadModel(Modelica): time 1.591/1.591, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.986e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 38.76 MB / 263.8 MB, free: 9.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.3864, allocations: 91.97 MB / 355.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.3867, allocations: 83.95 kB / 355.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6075/0.9942, allocations: 110.4 MB / 466.2 MB, free: 7.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.754e-06/0.9943, allocations: 0 / 466.2 MB, free: 7.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003176/0.9946, allocations: 104 kB / 466.3 MB, free: 7.594 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1738 * Number of variables: 1738 Notification: Performance of Generate backend data structure: time 0.01465/1.009, allocations: 4.909 MB / 471.3 MB, free: 2.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.009, allocations: 8.031 kB / 471.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03574/1.045, allocations: 6.904 MB / 478.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02179/1.067, allocations: 6.753 MB / 484.9 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005843/1.068, allocations: 394.2 kB / 485.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002553/1.07, allocations: 0.5076 MB / 485.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03654/1.107, allocations: 12.48 MB / 498.3 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/1.107, allocations: 67.36 kB / 498.4 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001925/1.109, allocations: 239.9 kB / 498.6 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002158/1.111, allocations: 1.051 MB / 499.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2368/1.348, allocations: 10.18 MB / 0.4979 GB, free: 58.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06158/1.41, allocations: 50.09 MB / 0.5468 GB, free: 30.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01562/1.425, allocations: 4.75 MB / 0.5514 GB, free: 29.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/1.429, allocations: 1.878 MB / 0.5533 GB, free: 28.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01369/1.442, allocations: 7.059 MB / 0.5602 GB, free: 24.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.442, allocations: 56.38 kB / 0.5602 GB, free: 24.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=179): time 6.036e-06/1.442, allocations: 0 / 0.5602 GB, free: 24.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=224): time 0.0758/1.518, allocations: 17.08 MB / 0.5769 GB, free: 19.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/1.518, allocations: 212.9 kB / 0.5771 GB, free: 19.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007156/1.525, allocations: 3.873 MB / 0.5809 GB, free: 18.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003726/1.526, allocations: 59.42 kB / 0.5809 GB, free: 18.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002453/1.528, allocations: 3.563 MB / 0.5844 GB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009153/1.529, allocations: 0.8382 MB / 0.5852 GB, free: 14.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004452/1.53, allocations: 125.6 kB / 0.5854 GB, free: 14.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003599/1.53, allocations: 0.5701 MB / 0.5859 GB, free: 13.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/1.534, allocations: 2.115 MB / 0.588 GB, free: 11.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005981/1.54, allocations: 5.805 MB / 0.5936 GB, free: 4.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/1.546, allocations: 3.503 MB / 0.5971 GB, free: 1.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.851e-05/1.546, allocations: 40 kB / 0.5971 GB, free: 1.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02226/1.568, allocations: 8.292 MB / 0.6052 GB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/1.569, allocations: 64.97 kB / 0.6053 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/1.569, allocations: 132 kB / 0.6054 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004361/1.573, allocations: 1.03 MB / 0.6064 GB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006667/1.58, allocations: 1.412 MB / 0.6078 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/1.594, allocations: 6.864 MB / 0.6145 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006814/1.601, allocations: 334.8 kB / 0.6148 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.602, allocations: 385 kB / 0.6152 GB, free: 1.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 43 (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.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 (768): * Single equations (assignments): 764 * 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.001464/1.604, allocations: 0.5792 MB / 0.6157 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.605, allocations: 406.8 kB / 0.6161 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/1.62, allocations: 3.919 MB / 0.6199 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-05/1.62, allocations: 20 kB / 0.62 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/1.62, allocations: 11.83 kB / 0.62 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-05/1.621, allocations: 14.03 kB / 0.62 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02717/1.648, allocations: 9.816 MB / 0.6296 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/1.648, allocations: 4 kB / 0.6296 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/1.65, allocations: 351.5 kB / 0.6299 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003894/1.654, allocations: 0.7855 MB / 0.6307 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004/1.655, allocations: 55.78 kB / 0.6307 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.251/1.906, allocations: 5.584 MB / 0.6362 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.181e-05/1.906, allocations: 9.844 kB / 0.6362 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02307/1.929, allocations: 6.94 MB / 0.643 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.931, allocations: 0.7088 MB / 0.6437 GB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009964/1.932, allocations: 41.06 kB / 0.6437 GB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/1.935, allocations: 102.9 kB / 0.6438 GB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005805/1.936, allocations: 140.5 kB / 0.6439 GB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/1.936, allocations: 68.64 kB / 0.644 GB, free: 81.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006083/1.942, allocations: 2.726 MB / 0.6467 GB, free: 81.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.215e-06/1.942, allocations: 0 / 0.6467 GB, free: 81.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0074/1.949, allocations: 1.176 MB / 0.6478 GB, free: 81.75 MB / 378.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.0008692/1.95, allocations: 221.4 kB / 0.648 GB, free: 81.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.96, allocations: 5.092 MB / 0.653 GB, free: 81.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.96, allocations: 0 / 0.653 GB, free: 81.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/1.964, allocations: 1.733 MB / 0.6547 GB, free: 81.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/1.967, allocations: 0.5187 MB / 0.6552 GB, free: 81.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.988, allocations: 8.961 MB / 0.6639 GB, free: 79.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007201/1.995, allocations: 3.974 MB / 0.6678 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006651/2.002, allocations: 1.933 MB / 0.6697 GB, free: 78.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.003, allocations: 270.7 kB / 0.67 GB, free: 78.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.222e-06/2.003, allocations: 3.688 kB / 0.67 GB, free: 78.61 MB / 378.7 MB Notification: Performance of Templates: time 0.1157/2.119, allocations: 40.74 MB / 0.7098 GB, free: 64.02 MB / 378.7 MB