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.719/1.719, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.071e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 38.77 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3213, allocations: 66.71 MB / 330.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.3215, allocations: 67.95 kB / 330.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02356/0.3451, allocations: 5.649 MB / 336.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.508e-06/0.3452, allocations: 0 / 336.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.3452, allocations: 8 kB / 336.2 MB, free: 1.281 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00105/0.3463, allocations: 0.5497 MB / 336.8 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3463, allocations: 8.031 kB / 336.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.836e-05/0.3464, allocations: 31.62 kB / 336.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.3468, allocations: 258.4 kB / 337 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.3469, allocations: 20.52 kB / 337.1 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.347, allocations: 35.98 kB / 337.1 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.3476, allocations: 243.8 kB / 337.3 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3476, allocations: 0 / 337.3 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.3477, allocations: 12 kB / 337.4 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3477, allocations: 8 kB / 337.4 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.3483, allocations: 221.1 kB / 337.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.3501, allocations: 0.799 MB / 338.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.3509, allocations: 343.2 kB / 338.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.3513, allocations: 176.8 kB / 338.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.3514, allocations: 8 kB / 338.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3514, allocations: 34.56 kB / 338.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 3.521e-06/0.3514, allocations: 0 / 338.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.004926/0.3563, allocations: 1.757 MB / 340.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.3564, allocations: 63.97 kB / 340.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3567, allocations: 173.9 kB / 340.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.3568, allocations: 41.7 kB / 341 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3569, allocations: 141 kB / 341.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.3571, allocations: 220.8 kB / 341.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3572, allocations: 8 kB / 341.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.3574, allocations: 342.8 kB / 341.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.3578, allocations: 141.1 kB / 341.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.3581, allocations: 143.9 kB / 341.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.3586, allocations: 155.3 kB / 342.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.17e-06/0.3586, allocations: 0 / 342.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00101/0.3596, allocations: 442.7 kB / 342.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3596, allocations: 4 kB / 342.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.164e-06/0.3597, allocations: 4 kB / 342.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3597, allocations: 0 / 342.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.3604, allocations: 135.8 kB / 342.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3604, allocations: 0 / 342.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.3607, allocations: 31.98 kB / 342.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.3608, allocations: 23.89 kB / 342.7 MB, free: 10.47 MB / 298.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.0001686/0.361, allocations: 136.8 kB / 342.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3611, allocations: 35.62 kB / 342.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.3613, allocations: 43.34 kB / 342.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3613, allocations: 4 kB / 342.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.329e-06/0.3613, allocations: 4 kB / 342.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3613, allocations: 3.984 kB / 342.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.364, allocations: 1.259 MB / 344.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.3641, allocations: 8 kB / 344.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.3648, allocations: 127.8 kB / 344.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.3648, allocations: 8 kB / 344.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.3649, allocations: 20.45 kB / 344.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/0.3649, allocations: 19.89 kB / 344.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.537e-06/0.365, allocations: 7.984 kB / 344.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.3667, allocations: 1.021 MB / 345.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3669, allocations: 104.7 kB / 345.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/0.367, allocations: 23.98 kB / 345.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.3674, allocations: 31.98 kB / 345.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3675, allocations: 51.84 kB / 345.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.3676, allocations: 23.98 kB / 345.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.3678, allocations: 140.4 kB / 345.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.13e-07/0.3678, allocations: 0 / 345.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005908/0.3684, allocations: 96 kB / 345.9 MB, free: 6.996 MB / 298.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.0002157/0.3686, allocations: 123.1 kB / 346 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009433/0.3696, allocations: 382 kB / 346.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3696, allocations: 0 / 346.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.3701, allocations: 227.4 kB / 346.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.3709, allocations: 70.02 kB / 346.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.3728, allocations: 0.8318 MB / 347.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.3734, allocations: 0.7972 MB / 348.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.3737, allocations: 51.25 kB / 348.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3739, allocations: 35.42 kB / 348.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of SimCode: time 1.909e-06/0.3739, allocations: 4 kB / 348.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of Templates: time 0.01156/0.3855, allocations: 3.649 MB / 352 MB, free: 0.7461 MB / 298.7 MB