Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.078/1.078, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.809e-05, allocations: 4 kB / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05547/0.05552, allocations: 25.18 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004095/0.05968, allocations: 2.38 MB / 182.1 MB, free: 7.234 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.06176, allocations: 0.702 MB / 182.8 MB, free: 6.527 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.06215, allocations: 15.94 kB / 182.8 MB, free: 6.512 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.0623, allocations: 51.55 kB / 182.8 MB, free: 6.461 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.06274, allocations: 131.6 kB / 183 MB, free: 6.332 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.06326, allocations: 111.8 kB / 183.1 MB, free: 6.223 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006968/0.06397, allocations: 295.9 kB / 183.4 MB, free: 5.934 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.06432, allocations: 104.7 kB / 183.5 MB, free: 5.832 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.06475, allocations: 167.5 kB / 183.6 MB, free: 5.668 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.06518, allocations: 211.3 kB / 183.8 MB, free: 5.461 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.06531, allocations: 20 kB / 183.9 MB, free: 5.441 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 8.502e-05/0.0654, allocations: 20 kB / 183.9 MB, free: 5.422 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.06553, allocations: 79.67 kB / 184 MB, free: 5.344 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.06568, allocations: 48 kB / 184 MB, free: 5.297 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.06633, allocations: 411.1 kB / 184.4 MB, free: 4.895 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.06635, allocations: 0 / 184.4 MB, free: 4.895 MB / 154.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.06637, allocations: 0 / 184.4 MB, free: 4.895 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.06639, allocations: 0 / 184.4 MB, free: 4.895 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002386/0.06879, allocations: 0.7527 MB / 185.2 MB, free: 4.094 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.06885, allocations: 8.031 kB / 185.2 MB, free: 4.086 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.06904, allocations: 55.34 kB / 185.2 MB, free: 4.031 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.0696, allocations: 293.3 kB / 185.5 MB, free: 3.707 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.678e-05/0.06968, allocations: 40.98 kB / 185.5 MB, free: 3.668 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.06982, allocations: 44 kB / 185.6 MB, free: 3.625 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.07137, allocations: 446.4 kB / 186 MB, free: 3.18 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.07144, allocations: 7.859 kB / 186 MB, free: 3.172 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.409e-05/0.07151, allocations: 16 kB / 186 MB, free: 3.156 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.07154, allocations: 12 kB / 186.1 MB, free: 3.145 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.07348, allocations: 475.7 kB / 186.5 MB, free: 2.68 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.0773, allocations: 1.351 MB / 187.9 MB, free: 1.266 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.07896, allocations: 0.4967 MB / 188.4 MB, free: 0.7578 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.21e-05/0.07908, allocations: 8.562 kB / 188.4 MB, free: 0.75 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.07913, allocations: 39.11 kB / 188.4 MB, free: 0.7031 MB / 154.7 MB Notification: Performance of pre-optimization done (n=62): time 3.166e-06/0.07914, allocations: 0 / 188.4 MB, free: 0.7031 MB / 154.7 MB Notification: Performance of matching and sorting (n=98): time 0.01353/0.09268, allocations: 3.195 MB / 191.6 MB, free: 13.43 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.0928, allocations: 60.41 kB / 191.7 MB, free: 13.36 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.09315, allocations: 209.8 kB / 191.9 MB, free: 13.14 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/0.09325, allocations: 45.7 kB / 191.9 MB, free: 13.09 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.09344, allocations: 239.8 kB / 192.2 MB, free: 12.85 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.09383, allocations: 335 kB / 192.5 MB, free: 12.52 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.0939, allocations: 16 kB / 192.5 MB, free: 12.5 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.0941, allocations: 350.8 kB / 192.8 MB, free: 12.15 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.0952, allocations: 269.9 kB / 193.1 MB, free: 11.89 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.09639, allocations: 353.4 kB / 193.4 MB, free: 11.54 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.09753, allocations: 302.9 kB / 193.7 MB, free: 11.24 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.09756, allocations: 4 kB / 193.7 MB, free: 11.24 MB / 170.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002524/0.1001, allocations: 0.7627 MB / 194.5 MB, free: 10.47 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.1002, allocations: 8 kB / 194.5 MB, free: 10.46 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1002, allocations: 3.938 kB / 194.5 MB, free: 10.46 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.1002, allocations: 4 kB / 194.5 MB, free: 10.45 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.1018, allocations: 207.8 kB / 194.7 MB, free: 10.25 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.1018, allocations: 8 kB / 194.7 MB, free: 10.24 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.1025, allocations: 51.97 kB / 194.8 MB, free: 10.19 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/0.1026, allocations: 35.92 kB / 194.8 MB, free: 10.16 MB / 170.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 (108): * Single equations (assignments): 108 * 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.0003533/0.103, allocations: 197.4 kB / 195 MB, free: 9.953 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1031, allocations: 51.44 kB / 195.1 MB, free: 9.902 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.1034, allocations: 69.27 kB / 195.1 MB, free: 9.836 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.1034, allocations: 12 kB / 195.1 MB, free: 9.824 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.1034, allocations: 0 / 195.1 MB, free: 9.824 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.1034, allocations: 3.984 kB / 195.1 MB, free: 9.82 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.1086, allocations: 1.965 MB / 197.1 MB, free: 7.738 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.1087, allocations: 4 kB / 197.1 MB, free: 7.734 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.1103, allocations: 212.3 kB / 197.3 MB, free: 7.527 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/0.1103, allocations: 8 kB / 197.3 MB, free: 7.52 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/0.1104, allocations: 27.98 kB / 197.4 MB, free: 7.492 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/0.1105, allocations: 8 kB / 197.4 MB, free: 7.484 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.1105, allocations: 7.938 kB / 197.4 MB, free: 7.477 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/0.1146, allocations: 1.592 MB / 199 MB, free: 5.691 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.115, allocations: 176.4 kB / 199.1 MB, free: 5.5 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.1152, allocations: 24 kB / 199.2 MB, free: 5.477 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/0.1159, allocations: 63.95 kB / 199.2 MB, free: 5.414 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.1161, allocations: 64.47 kB / 199.3 MB, free: 5.352 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.1162, allocations: 35.98 kB / 199.3 MB, free: 5.316 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.1165, allocations: 170 kB / 199.5 MB, free: 5.148 MB / 170.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1165, allocations: 0 / 199.5 MB, free: 5.148 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.00075/0.1172, allocations: 152 kB / 199.6 MB, free: 5 MB / 170.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 (98): * Single equations (assignments): 98 * 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.0002203/0.1175, allocations: 131 kB / 199.8 MB, free: 4.859 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.12, allocations: 0.7203 MB / 200.5 MB, free: 4.137 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.12, allocations: 4 kB / 200.5 MB, free: 4.133 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.1214, allocations: 436.6 kB / 200.9 MB, free: 3.707 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.1225, allocations: 104.4 kB / 201 MB, free: 3.605 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.1268, allocations: 1.797 MB / 202.8 MB, free: 1.715 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.1275, allocations: 0.8726 MB / 203.7 MB, free: 0.8164 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.1279, allocations: 63.41 kB / 203.7 MB, free: 0.7578 MB / 170.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1279, allocations: 0 / 203.7 MB, free: 0.7578 MB / 170.7 MB Notification: Performance of Templates: time 0.1725/0.3005, allocations: 6.72 MB / 210.5 MB, free: 21.71 MB / 170.7 MB