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_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.777/1.777, allocations: 171.1 MB / 186.3 MB, free: 1.336 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.341e-05, allocations: 6.172 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.08911, allocations: 38.77 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004529/0.0937, allocations: 2.726 MB / 269.6 MB, free: 14.38 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.09598, allocations: 0.8068 MB / 270.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.09637, allocations: 15.94 kB / 270.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.09653, allocations: 55.53 kB / 270.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005171/0.09706, allocations: 159.5 kB / 270.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.09789, allocations: 107.8 kB / 270.8 MB, free: 13.23 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.09915, allocations: 303.9 kB / 271 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004386/0.09964, allocations: 116.3 kB / 271.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.1003, allocations: 175.6 kB / 271.3 MB, free: 12.65 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007624/0.1011, allocations: 211.3 kB / 271.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1014, allocations: 27.94 kB / 271.6 MB, free: 12.42 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.1016, allocations: 20 kB / 271.6 MB, free: 12.4 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.1019, allocations: 79.67 kB / 271.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.1022, allocations: 52 kB / 271.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1033, allocations: 435 kB / 272.1 MB, free: 11.84 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1034, allocations: 0 / 272.1 MB, free: 11.84 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1034, allocations: 0 / 272.1 MB, free: 11.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.137e-05/0.1034, allocations: 0 / 272.1 MB, free: 11.84 MB / 234.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.003681/0.1071, allocations: 0.7605 MB / 272.9 MB, free: 11.03 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.1072, allocations: 12.03 kB / 272.9 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.1075, allocations: 55.34 kB / 273 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.1084, allocations: 318.1 kB / 273.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.1085, allocations: 37 kB / 273.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.1087, allocations: 51.91 kB / 273.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.1111, allocations: 466.2 kB / 273.8 MB, free: 10.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.19e-05/0.1112, allocations: 4 kB / 273.8 MB, free: 10.06 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1113, allocations: 20 kB / 273.8 MB, free: 10.04 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.1113, allocations: 15.98 kB / 273.9 MB, free: 10.03 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.1144, allocations: 495.7 kB / 274.3 MB, free: 9.543 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006136/0.1206, allocations: 1.394 MB / 275.7 MB, free: 8.09 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.1233, allocations: 0.5561 MB / 276.3 MB, free: 7.527 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.1235, allocations: 12.45 kB / 276.3 MB, free: 7.516 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.1236, allocations: 39.12 kB / 276.3 MB, free: 7.469 MB / 234.7 MB Notification: Performance of pre-optimization done (n=67): time 5.831e-06/0.1236, allocations: 0 / 276.3 MB, free: 7.469 MB / 234.7 MB Notification: Performance of matching and sorting (n=103): time 0.02282/0.1464, allocations: 3.285 MB / 279.6 MB, free: 4.105 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.1466, allocations: 64.34 kB / 279.7 MB, free: 4.027 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.1472, allocations: 226.1 kB / 279.9 MB, free: 3.801 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.1473, allocations: 41.7 kB / 280 MB, free: 3.754 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.1476, allocations: 243.8 kB / 280.2 MB, free: 3.512 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/0.1482, allocations: 346.8 kB / 280.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.1483, allocations: 20 kB / 280.5 MB, free: 3.148 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.1485, allocations: 346.8 kB / 280.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.1502, allocations: 293.8 kB / 281.2 MB, free: 2.516 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.152, allocations: 353.4 kB / 281.5 MB, free: 2.16 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.1537, allocations: 314.9 kB / 281.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1537, allocations: 0 / 281.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003932/0.1577, allocations: 0.794 MB / 282.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.1579, allocations: 4 kB / 282.6 MB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.1579, allocations: 0 / 282.6 MB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.1579, allocations: 8 kB / 282.6 MB, free: 1.043 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.1599, allocations: 215.7 kB / 282.8 MB, free: 0.832 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.16, allocations: 7.953 kB / 282.8 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.1607, allocations: 59.95 kB / 282.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.1608, allocations: 28 kB / 282.9 MB, free: 0.7383 MB / 234.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.0003829/0.1612, allocations: 197.7 kB / 283.1 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.1614, allocations: 59.28 kB / 283.2 MB, free: 488 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.1616, allocations: 69.39 kB / 283.3 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.1616, allocations: 12 kB / 283.3 MB, free: 408 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.1616, allocations: 0 / 283.3 MB, free: 408 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.1617, allocations: 11.92 kB / 283.3 MB, free: 396 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/0.1671, allocations: 2.025 MB / 285.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.1671, allocations: 4 kB / 285.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.1688, allocations: 212.3 kB / 285.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.246e-05/0.1688, allocations: 8 kB / 285.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.801e-05/0.169, allocations: 31.98 kB / 285.6 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/0.169, allocations: 11.94 kB / 285.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.169, allocations: 7.938 kB / 285.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/0.1732, allocations: 1.634 MB / 287.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.1737, allocations: 176.4 kB / 287.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.1739, allocations: 28 kB / 287.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.1746, allocations: 67.91 kB / 287.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.1748, allocations: 68.84 kB / 287.5 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/0.1749, allocations: 35.95 kB / 287.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000263/0.1752, allocations: 178 kB / 287.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1752, allocations: 4 kB / 287.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007799/0.176, allocations: 152 kB / 287.9 MB, free: 11.44 MB / 250.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.000229/0.1762, allocations: 138.8 kB / 288 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002642/0.1789, allocations: 0.7543 MB / 288.8 MB, free: 10.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.1789, allocations: 0 / 288.8 MB, free: 10.54 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.1804, allocations: 458.7 kB / 289.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.1815, allocations: 96.83 kB / 289.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.186, allocations: 1.869 MB / 291.2 MB, free: 8.027 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.1866, allocations: 0.8774 MB / 292.1 MB, free: 7.121 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.1871, allocations: 71.34 kB / 292.1 MB, free: 7.051 MB / 250.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1871, allocations: 0 / 292.1 MB, free: 7.051 MB / 250.7 MB Notification: Performance of Templates: time 0.01839/0.2055, allocations: 6.993 MB / 299.1 MB, free: 48 kB / 250.7 MB