Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.277e-05, allocations: 6.031 kB / 292.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09624, allocations: 50.42 MB / 343.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.4958, allocations: 77.72 MB / 420.8 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4961, allocations: 62.47 kB / 420.9 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02334/0.5195, allocations: 5.888 MB / 426.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.667e-06/0.5195, allocations: 3.938 kB / 426.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.367e-05/0.5195, allocations: 11.94 kB / 426.8 MB, free: 11.46 MB / 346.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.001003/0.5206, allocations: 0.5391 MB / 427.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5206, allocations: 8.031 kB / 427.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.5207, allocations: 31.62 kB / 427.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.5211, allocations: 252.3 kB / 427.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.5212, allocations: 23 kB / 427.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.5212, allocations: 29.81 kB / 427.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.5218, allocations: 252 kB / 427.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5219, allocations: 3.906 kB / 427.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.5219, allocations: 13.62 kB / 427.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5219, allocations: 4 kB / 427.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.5225, allocations: 220.9 kB / 428.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.5242, allocations: 0.8032 MB / 428.9 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006746/0.5249, allocations: 340.2 kB / 429.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.5253, allocations: 173.8 kB / 429.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.5253, allocations: 11.94 kB / 429.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.5254, allocations: 30.56 kB / 429.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.361e-06/0.5254, allocations: 4 kB / 429.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.004754/0.5302, allocations: 1.757 MB / 431.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.5303, allocations: 59.97 kB / 431.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.5305, allocations: 179.2 kB / 431.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.5306, allocations: 43.95 kB / 431.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5307, allocations: 137.9 kB / 431.6 MB, free: 7.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.5309, allocations: 210 kB / 431.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.531, allocations: 10.56 kB / 431.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5312, allocations: 352.6 kB / 432.2 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.5315, allocations: 136.4 kB / 432.3 MB, free: 6.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.5319, allocations: 145.9 kB / 432.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.5323, allocations: 154.1 kB / 432.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-06/0.5323, allocations: 3.938 kB / 432.6 MB, free: 6.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009473/0.5332, allocations: 439.1 kB / 433.1 MB, free: 6.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5333, allocations: 4 kB / 433.1 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.671e-06/0.5333, allocations: 4 kB / 433.1 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.5333, allocations: 3.984 kB / 433.1 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.534, allocations: 131.1 kB / 433.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.534, allocations: 0 / 433.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.5343, allocations: 31.23 kB / 433.2 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.5344, allocations: 19.5 kB / 433.3 MB, free: 6.008 MB / 346.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.0001598/0.5346, allocations: 137.8 kB / 433.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5347, allocations: 39.61 kB / 433.4 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.5348, allocations: 47.53 kB / 433.5 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.5348, allocations: 4 kB / 433.5 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.836e-06/0.5349, allocations: 4 kB / 433.5 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5349, allocations: 3.984 kB / 433.5 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.5374, allocations: 1.259 MB / 434.7 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.5375, allocations: 8.562 kB / 434.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.5382, allocations: 127.2 kB / 434.9 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.5382, allocations: 8 kB / 434.9 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.5383, allocations: 18.88 kB / 434.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/0.5383, allocations: 15.92 kB / 434.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.737e-06/0.5383, allocations: 4 kB / 434.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.5399, allocations: 1.021 MB / 435.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.5401, allocations: 111.8 kB / 436.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.5402, allocations: 18.94 kB / 436.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.5406, allocations: 39.03 kB / 436.1 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.5407, allocations: 42.72 kB / 436.2 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.5408, allocations: 19.5 kB / 436.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.5409, allocations: 152.3 kB / 436.3 MB, free: 3.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.41e-07/0.541, allocations: 4 kB / 436.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005684/0.5415, allocations: 92.44 kB / 436.4 MB, free: 3.133 MB / 346.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.0001893/0.5417, allocations: 121.1 kB / 436.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008248/0.5426, allocations: 378.5 kB / 436.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.263e-06/0.5426, allocations: 0 / 436.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.5431, allocations: 224.3 kB / 437.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.5437, allocations: 79.34 kB / 437.2 MB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.5455, allocations: 0.8272 MB / 438 MB, free: 1.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.5461, allocations: 0.7972 MB / 438.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.5464, allocations: 47.25 kB / 438.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.5465, allocations: 39.42 kB / 438.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of SimCode: time 1.859e-06/0.5466, allocations: 0 / 438.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of Templates: time 0.01157/0.5581, allocations: 3.647 MB / 442.6 MB, free: 13.2 MB / 362.7 MB