Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 2.42/2.42, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.054e-05, allocations: 0 / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 50.42 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004518/0.1146, allocations: 2.777 MB / 347.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1168, allocations: 0.8065 MB / 348.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.1172, allocations: 15.94 kB / 348.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.1173, allocations: 59.53 kB / 348.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.1178, allocations: 151.6 kB / 348.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.1183, allocations: 111.8 kB / 348.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.1189, allocations: 307.9 kB / 349.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.1192, allocations: 112.3 kB / 349.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.1195, allocations: 175.5 kB / 349.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.1199, allocations: 215.3 kB / 349.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.12, allocations: 20 kB / 349.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.1201, allocations: 20 kB / 349.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1202, allocations: 79.67 kB / 349.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1203, allocations: 48 kB / 349.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.1209, allocations: 439 kB / 350.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.121, allocations: 0 / 350.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.121, allocations: 0 / 350.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.121, allocations: 0 / 350.3 MB, free: 3.625 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002358/0.1234, allocations: 0.7632 MB / 351 MB, free: 2.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1234, allocations: 12.03 kB / 351.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.1236, allocations: 59.3 kB / 351.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.1242, allocations: 314.1 kB / 351.4 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.1242, allocations: 40.94 kB / 351.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.1244, allocations: 44 kB / 351.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.1259, allocations: 462.4 kB / 352 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.1259, allocations: 7.906 kB / 352 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.126, allocations: 23.94 kB / 352 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.126, allocations: 8 kB / 352 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.1279, allocations: 499.6 kB / 352.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003627/0.1315, allocations: 1.39 MB / 353.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1331, allocations: 0.5558 MB / 354.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.1332, allocations: 12.55 kB / 354.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1333, allocations: 39.12 kB / 354.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.517e-06/0.1333, allocations: 0 / 354.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.01315/0.1465, allocations: 3.277 MB / 357.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1465, allocations: 64.41 kB / 357.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.1469, allocations: 218.2 kB / 358 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/0.147, allocations: 49.64 kB / 358.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1471, allocations: 243.7 kB / 358.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.1475, allocations: 354.8 kB / 358.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.1476, allocations: 16 kB / 358.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1477, allocations: 350.8 kB / 359 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.1488, allocations: 285.9 kB / 359.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.1499, allocations: 361.4 kB / 359.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.151, allocations: 310.9 kB / 360 MB, free: 9.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1511, allocations: 0 / 360 MB, free: 9.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002589/0.1537, allocations: 0.7901 MB / 360.7 MB, free: 8.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1537, allocations: 11.98 kB / 360.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1538, allocations: 0 / 360.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.1538, allocations: 4 kB / 360.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.1554, allocations: 215.7 kB / 361 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.1554, allocations: 15.92 kB / 361 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.1561, allocations: 55.97 kB / 361 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.1562, allocations: 27.98 kB / 361.1 MB, free: 8.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * 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.0003483/0.1565, allocations: 197.7 kB / 361.3 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.1567, allocations: 59.3 kB / 361.3 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1569, allocations: 73.39 kB / 361.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.1569, allocations: 8 kB / 361.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.157, allocations: 0 / 361.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.157, allocations: 7.984 kB / 361.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005051/0.162, allocations: 2.021 MB / 363.4 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.1621, allocations: 8 kB / 363.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.1637, allocations: 216.3 kB / 363.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-05/0.1638, allocations: 19.89 kB / 363.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.858e-05/0.1639, allocations: 23.98 kB / 363.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.1639, allocations: 8 kB / 363.7 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/0.1639, allocations: 11.94 kB / 363.7 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.168, allocations: 1.634 MB / 365.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.1683, allocations: 132.5 kB / 365.5 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.1684, allocations: 20 kB / 365.5 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007037/0.1691, allocations: 63.95 kB / 365.6 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.1693, allocations: 76.8 kB / 365.6 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.1694, allocations: 28 kB / 365.7 MB, free: 3.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002584/0.1697, allocations: 178 kB / 365.8 MB, free: 3.434 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1697, allocations: 8 kB / 365.8 MB, free: 3.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007178/0.1704, allocations: 152 kB / 366 MB, free: 3.277 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * 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.0002015/0.1706, allocations: 131 kB / 366.1 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.1731, allocations: 0.7543 MB / 366.9 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.1732, allocations: 4 kB / 366.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.1747, allocations: 454.7 kB / 367.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.1757, allocations: 100.8 kB / 367.4 MB, free: 1.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.18, allocations: 1.846 MB / 369.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.1806, allocations: 0.8774 MB / 370.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.1811, allocations: 67.41 kB / 370.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1811, allocations: 0 / 370.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of Templates: time 0.01768/0.1988, allocations: 7.006 MB / 377.2 MB, free: 7.91 MB / 314.7 MB