Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 1.876/1.876, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.779e-05, allocations: 7.984 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.0968, allocations: 48.69 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.4669, allocations: 94.37 MB / 416.1 MB, free: 1.297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4671, allocations: 81.12 kB / 416.2 MB, free: 1.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8664/1.334, allocations: 144.5 MB / 0.5476 GB, free: 73.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.334, allocations: 3.938 kB / 0.5476 GB, free: 73.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003279/1.334, allocations: 143.3 kB / 0.5477 GB, free: 73.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.01985/1.354, allocations: 6.539 MB / 0.5541 GB, free: 70.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/1.354, allocations: 10.31 kB / 0.5541 GB, free: 70.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05314/1.407, allocations: 3.615 MB / 0.5576 GB, free: 70 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0578/1.465, allocations: 7.635 MB / 0.5651 GB, free: 69.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007312/1.466, allocations: 0.586 MB / 0.5657 GB, free: 69.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003454/1.469, allocations: 0.7803 MB / 0.5664 GB, free: 69.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05711/1.526, allocations: 21.44 MB / 0.5873 GB, free: 64.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004294/1.527, allocations: 93.5 kB / 0.5874 GB, free: 64.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003072/1.53, allocations: 382.1 kB / 0.5878 GB, free: 64.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004078/1.534, allocations: 1.934 MB / 0.5897 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04829/1.582, allocations: 16.89 MB / 0.6062 GB, free: 61.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/1.683, allocations: 79.33 MB / 0.6837 GB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2843/1.967, allocations: 6.458 MB / 0.69 GB, free: 82.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00451/1.972, allocations: 2.046 MB / 0.692 GB, free: 82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02302/1.995, allocations: 9.747 MB / 0.7015 GB, free: 79.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/1.995, allocations: 63.34 kB / 0.7015 GB, free: 79.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 8.034e-06/1.995, allocations: 0 / 0.7015 GB, free: 79.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=320): time 0.09458/2.09, allocations: 22.61 MB / 0.7236 GB, free: 75.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/2.09, allocations: 159 kB / 0.7238 GB, free: 75.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/2.101, allocations: 5.263 MB / 0.7289 GB, free: 74.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005063/2.102, allocations: 67.83 kB / 0.729 GB, free: 74.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00352/2.106, allocations: 5.028 MB / 0.7339 GB, free: 71.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001387/2.107, allocations: 1.217 MB / 0.7351 GB, free: 71.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008053/2.108, allocations: 197.2 kB / 0.7353 GB, free: 71.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005694/2.108, allocations: 0.7116 MB / 0.736 GB, free: 70.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005994/2.114, allocations: 2.63 MB / 0.7385 GB, free: 70.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009276/2.124, allocations: 8.293 MB / 0.7466 GB, free: 63.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009388/2.133, allocations: 4.632 MB / 0.7512 GB, free: 63.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001905/2.133, allocations: 54.47 kB / 0.7512 GB, free: 63.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02435/2.158, allocations: 9.983 MB / 0.761 GB, free: 60.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/2.158, allocations: 94.19 kB / 0.761 GB, free: 60.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002346/2.158, allocations: 202 kB / 0.7612 GB, free: 60.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/2.159, allocations: 303.7 kB / 0.7615 GB, free: 60.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01147/2.17, allocations: 2.39 MB / 0.7639 GB, free: 60.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003569/2.17, allocations: 396.6 kB / 0.7642 GB, free: 59.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/2.181, allocations: 0.6269 MB / 0.7649 GB, free: 59.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/2.183, allocations: 0.5598 MB / 0.7654 GB, free: 59.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (1236): * Single equations (assignments): 1233 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002744/2.185, allocations: 0.8549 MB / 0.7662 GB, free: 59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/2.187, allocations: 0.54 MB / 0.7668 GB, free: 58.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008116/2.195, allocations: 3.186 MB / 0.7699 GB, free: 57.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.586e-05/2.195, allocations: 36.64 kB / 0.7699 GB, free: 57.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/2.195, allocations: 7.906 kB / 0.7699 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-05/2.195, allocations: 13.78 kB / 0.7699 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03229/2.227, allocations: 13.49 MB / 0.7831 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-05/2.227, allocations: 33 kB / 0.7831 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003503/2.231, allocations: 0.5885 MB / 0.7837 GB, free: 51.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.07e-05/2.231, allocations: 54.44 kB / 0.7838 GB, free: 51.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003989/2.231, allocations: 99.66 kB / 0.7839 GB, free: 51.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.997e-05/2.231, allocations: 63.17 kB / 0.7839 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.32e-05/2.231, allocations: 56.64 kB / 0.784 GB, free: 51.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/2.242, allocations: 11.96 MB / 0.7956 GB, free: 38.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002834/2.245, allocations: 0.839 MB / 0.7965 GB, free: 37.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/2.246, allocations: 98.89 kB / 0.7966 GB, free: 37.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004274/2.25, allocations: 198.8 kB / 0.7967 GB, free: 37.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006831/2.251, allocations: 291.2 kB / 0.797 GB, free: 37.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/2.251, allocations: 126.8 kB / 0.7971 GB, free: 37.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008299/2.26, allocations: 3.635 MB / 0.8007 GB, free: 33.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.271e-06/2.26, allocations: 0 / 0.8007 GB, free: 33.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01077/2.271, allocations: 1.555 MB / 0.8022 GB, free: 32.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 298 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008487/2.271, allocations: 272.7 kB / 0.8025 GB, free: 31.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01202/2.283, allocations: 5.827 MB / 0.8082 GB, free: 26.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.539e-05/2.284, allocations: 8 kB / 0.8082 GB, free: 26.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00291/2.286, allocations: 1.418 MB / 0.8096 GB, free: 25.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00474/2.291, allocations: 0.7045 MB / 0.8102 GB, free: 24.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/2.324, allocations: 13.56 MB / 0.8235 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/2.336, allocations: 5.249 MB / 0.8286 GB, free: 8.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/2.338, allocations: 475 kB / 0.8291 GB, free: 7.891 MB / 442.7 MB Notification: Performance of SimCode: time 2.125e-06/2.338, allocations: 4 kB / 0.8291 GB, free: 7.887 MB / 442.7 MB Notification: Performance of Templates: time 0.4165/2.755, allocations: 85.4 MB / 0.9125 GB, free: 74.75 MB / 458.7 MB