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.2_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.8/1.8, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.887e-05, allocations: 3.531 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08176/0.08181, allocations: 44.51 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/0.404, allocations: 72 MB / 371.8 MB, free: 21.63 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4042, allocations: 62.61 kB / 371.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02282/0.4271, allocations: 5.638 MB / 377.5 MB, free: 20.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.747e-06/0.4271, allocations: 0 / 377.5 MB, free: 20.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.4272, allocations: 6.062 kB / 377.5 MB, free: 20.9 MB / 314.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.0008964/0.4281, allocations: 0.549 MB / 378.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4281, allocations: 9.344 kB / 378.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.4282, allocations: 37.34 kB / 378.1 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.4285, allocations: 245.4 kB / 378.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.4286, allocations: 24.12 kB / 378.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.4287, allocations: 30.03 kB / 378.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.4292, allocations: 252.8 kB / 378.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.4293, allocations: 7.188 kB / 378.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.4293, allocations: 14.5 kB / 378.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4294, allocations: 6.125 kB / 378.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.4299, allocations: 230 kB / 378.9 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.4314, allocations: 0.8086 MB / 379.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.4321, allocations: 337.8 kB / 380.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.4325, allocations: 175.9 kB / 380.2 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.4325, allocations: 8.547 kB / 380.2 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4326, allocations: 40.09 kB / 380.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.418e-06/0.4326, allocations: 0 / 380.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.004378/0.437, allocations: 1.762 MB / 382 MB, free: 19.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.437, allocations: 59.28 kB / 382.1 MB, free: 19.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.4373, allocations: 176.7 kB / 382.3 MB, free: 19.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.4373, allocations: 34.83 kB / 382.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.4374, allocations: 198.4 kB / 382.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.4375, allocations: 214.4 kB / 382.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.4376, allocations: 13.12 kB / 382.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.4377, allocations: 329.1 kB / 383 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.438, allocations: 141.5 kB / 383.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.4383, allocations: 148.3 kB / 383.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.4387, allocations: 157.1 kB / 383.5 MB, free: 18.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-06/0.4387, allocations: 0 / 383.5 MB, free: 18.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008871/0.4396, allocations: 430.8 kB / 383.9 MB, free: 18.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4397, allocations: 5.188 kB / 383.9 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4397, allocations: 5.578 kB / 383.9 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4397, allocations: 1.781 kB / 383.9 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.4404, allocations: 131.1 kB / 384 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.4404, allocations: 2.875 kB / 384 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.4407, allocations: 30.75 kB / 384.1 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.4408, allocations: 16.91 kB / 384.1 MB, free: 18.28 MB / 314.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.0001155/0.4409, allocations: 133.3 kB / 384.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.441, allocations: 33.12 kB / 384.3 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.4411, allocations: 53.88 kB / 384.3 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4412, allocations: 11.2 kB / 384.3 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.273e-06/0.4412, allocations: 0 / 384.3 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.6e-06/0.4412, allocations: 8.016 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.4434, allocations: 1.271 MB / 385.6 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4435, allocations: 3.5 kB / 385.6 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006712/0.4441, allocations: 131 kB / 385.7 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.4442, allocations: 10.36 kB / 385.7 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.4442, allocations: 20 kB / 385.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.4443, allocations: 12.89 kB / 385.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.93e-06/0.4443, allocations: 5.188 kB / 385.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.4457, allocations: 1.029 MB / 386.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/0.4458, allocations: 108.5 kB / 386.9 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.4459, allocations: 18.09 kB / 386.9 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.4462, allocations: 38 kB / 387 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/0.4464, allocations: 45.98 kB / 387 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.4464, allocations: 23.06 kB / 387 MB, free: 16.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.4466, allocations: 144.1 kB / 387.2 MB, free: 16.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.4466, allocations: 0 / 387.2 MB, free: 16.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005757/0.4472, allocations: 99.78 kB / 387.3 MB, free: 16.75 MB / 314.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.0001498/0.4473, allocations: 129.2 kB / 387.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007862/0.4481, allocations: 389.4 kB / 387.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.518e-06/0.4482, allocations: 0 / 387.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.4486, allocations: 228.5 kB / 388 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.4492, allocations: 70.36 kB / 388.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4508, allocations: 0.8681 MB / 388.9 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.4511, allocations: 0.7975 MB / 389.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.4513, allocations: 44.23 kB / 389.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of SimCode: time 2.167e-06/0.4513, allocations: 1.656 kB / 389.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of Templates: time 0.007719/0.4591, allocations: 4.387 MB / 394.2 MB, free: 15 MB / 314.7 MB