Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.708/1.708, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.281e-05, allocations: 6.188 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003222/0.1083, allocations: 1.992 MB / 268.9 MB, free: 14.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008903/0.1092, allocations: 355.1 kB / 269.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1094, allocations: 8 kB / 269.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.188e-05/0.1095, allocations: 39.62 kB / 269.3 MB, free: 14.08 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1098, allocations: 107.7 kB / 269.4 MB, free: 13.98 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1101, allocations: 55.94 kB / 269.5 MB, free: 13.92 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.1105, allocations: 203.4 kB / 269.7 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1107, allocations: 56.89 kB / 269.7 MB, free: 13.66 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1109, allocations: 103.8 kB / 269.8 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1112, allocations: 127.6 kB / 269.9 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.1112, allocations: 16 kB / 270 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.1113, allocations: 12 kB / 270 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.1114, allocations: 55.75 kB / 270 MB, free: 13.35 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.466e-05/0.1115, allocations: 32 kB / 270.1 MB, free: 13.32 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.1119, allocations: 255.5 kB / 270.3 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1119, allocations: 0 / 270.3 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1119, allocations: 0 / 270.3 MB, free: 13.07 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1119, allocations: 0 / 270.3 MB, free: 13.07 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001508/0.1134, allocations: 0.5733 MB / 270.9 MB, free: 12.45 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1135, allocations: 8.031 kB / 270.9 MB, free: 12.44 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.1136, allocations: 31.62 kB / 270.9 MB, free: 12.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.114, allocations: 266.4 kB / 271.2 MB, free: 12.11 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.1141, allocations: 24.52 kB / 271.2 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.1142, allocations: 32 kB / 271.2 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.1151, allocations: 276.8 kB / 271.5 MB, free: 11.78 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.1151, allocations: 4 kB / 271.5 MB, free: 11.78 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.1152, allocations: 8 kB / 271.5 MB, free: 11.77 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.1152, allocations: 11.94 kB / 271.5 MB, free: 11.76 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1162, allocations: 282.1 kB / 271.8 MB, free: 11.48 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.1182, allocations: 0.7991 MB / 272.6 MB, free: 10.63 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.1192, allocations: 363.3 kB / 273 MB, free: 10.26 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.1193, allocations: 4 kB / 273 MB, free: 10.26 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1193, allocations: 42.55 kB / 273 MB, free: 10.21 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 3.145e-06/0.1194, allocations: 4 kB / 273 MB, free: 10.2 MB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.007316/0.1267, allocations: 2.039 MB / 275 MB, free: 8.07 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.1268, allocations: 59.97 kB / 275.1 MB, free: 8 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.127, allocations: 170.2 kB / 275.3 MB, free: 7.828 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.1271, allocations: 37.7 kB / 275.3 MB, free: 7.785 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1272, allocations: 145 kB / 275.4 MB, free: 7.637 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.1274, allocations: 216.8 kB / 275.7 MB, free: 7.422 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1275, allocations: 12 kB / 275.7 MB, free: 7.41 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1277, allocations: 346.8 kB / 276 MB, free: 7.062 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.1283, allocations: 169 kB / 276.2 MB, free: 6.898 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.1289, allocations: 180.9 kB / 276.3 MB, free: 6.723 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.1295, allocations: 186.2 kB / 276.5 MB, free: 6.539 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1296, allocations: 0 / 276.5 MB, free: 6.539 MB / 234.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001456/0.131, allocations: 494.6 kB / 277 MB, free: 6.051 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1311, allocations: 8 kB / 277 MB, free: 6.043 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1311, allocations: 0 / 277 MB, free: 6.043 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1311, allocations: 0 / 277 MB, free: 6.043 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.132, allocations: 131.8 kB / 277.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1321, allocations: 0 / 277.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.1325, allocations: 31.97 kB / 277.2 MB, free: 5.883 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.1325, allocations: 20 kB / 277.2 MB, free: 5.863 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002474/0.1328, allocations: 165.7 kB / 277.4 MB, free: 5.691 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.1329, allocations: 31.62 kB / 277.4 MB, free: 5.66 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.1331, allocations: 51.33 kB / 277.4 MB, free: 5.609 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.1331, allocations: 7.984 kB / 277.4 MB, free: 5.602 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.1331, allocations: 0 / 277.4 MB, free: 5.602 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.1331, allocations: 7.922 kB / 277.5 MB, free: 5.594 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.1363, allocations: 1.336 MB / 278.8 MB, free: 4.145 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.1363, allocations: 4 kB / 278.8 MB, free: 4.141 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009837/0.1373, allocations: 128.4 kB / 278.9 MB, free: 4.016 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.1373, allocations: 8 kB / 278.9 MB, free: 4.008 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.1374, allocations: 16 kB / 278.9 MB, free: 3.992 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/0.1374, allocations: 19.88 kB / 279 MB, free: 3.973 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.1374, allocations: 4 kB / 279 MB, free: 3.969 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.1398, allocations: 1.112 MB / 280.1 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.1399, allocations: 108.6 kB / 280.2 MB, free: 2.551 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.14, allocations: 16 kB / 280.2 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.1405, allocations: 43.92 kB / 280.2 MB, free: 2.492 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1407, allocations: 43.89 kB / 280.3 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.1407, allocations: 23.95 kB / 280.3 MB, free: 2.426 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1409, allocations: 144.3 kB / 280.5 MB, free: 2.285 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1409, allocations: 4 kB / 280.5 MB, free: 2.281 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005423/0.1415, allocations: 100 kB / 280.6 MB, free: 2.184 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001782/0.1417, allocations: 123 kB / 280.7 MB, free: 2.055 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.143, allocations: 446.7 kB / 281.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.143, allocations: 0 / 281.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.1438, allocations: 260.7 kB / 281.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.1445, allocations: 67.89 kB / 281.4 MB, free: 1.297 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.1471, allocations: 1.189 MB / 282.6 MB, free: 20 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.1477, allocations: 0.809 MB / 283.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000342/0.148, allocations: 43.27 kB / 283.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.1482, allocations: 39.42 kB / 283.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1482, allocations: 0 / 283.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of Templates: time 0.0122/0.1604, allocations: 3.657 MB / 287.2 MB, free: 11.46 MB / 250.7 MB