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.889/1.889, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.932e-05, allocations: 2.219 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.07901, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/0.3979, allocations: 72 MB / 371.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3982, allocations: 66.12 kB / 371.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02183/0.42, allocations: 5.639 MB / 377.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.646e-06/0.4201, allocations: 0 / 377.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.4201, allocations: 5.219 kB / 377.6 MB, free: 21.25 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.0008917/0.421, allocations: 0.5452 MB / 378.1 MB, free: 20.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4211, allocations: 9.75 kB / 378.1 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.4212, allocations: 36.39 kB / 378.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.4215, allocations: 254.4 kB / 378.4 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.4215, allocations: 22.19 kB / 378.4 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.4216, allocations: 35.16 kB / 378.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.4222, allocations: 242 kB / 378.7 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.4222, allocations: 9.531 kB / 378.7 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.4223, allocations: 11.28 kB / 378.7 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4223, allocations: 6.25 kB / 378.7 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.4228, allocations: 220.5 kB / 378.9 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.4244, allocations: 0.8092 MB / 379.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.4251, allocations: 332.2 kB / 380.1 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.4255, allocations: 171.7 kB / 380.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.4255, allocations: 12.23 kB / 380.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.4256, allocations: 41.25 kB / 380.3 MB, free: 20.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.899e-06/0.4256, allocations: 0 / 380.3 MB, free: 20.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.004602/0.4302, allocations: 1.761 MB / 382.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.4303, allocations: 60.61 kB / 382.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.4305, allocations: 173.8 kB / 382.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.4305, allocations: 34.33 kB / 382.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.4306, allocations: 199.5 kB / 382.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.4308, allocations: 211.4 kB / 382.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.4308, allocations: 14.16 kB / 382.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.4309, allocations: 334.9 kB / 383.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.4313, allocations: 137.1 kB / 383.2 MB, free: 18.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.4316, allocations: 141.7 kB / 383.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.432, allocations: 157.5 kB / 383.5 MB, free: 18.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.892e-06/0.432, allocations: 1.5 kB / 383.5 MB, free: 18.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009216/0.4329, allocations: 428.8 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.433, allocations: 5.469 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.999e-06/0.433, allocations: 3.953 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.433, allocations: 6.219 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.4337, allocations: 126.6 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.4337, allocations: 1.844 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.434, allocations: 30.81 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.4341, allocations: 21.72 kB / 384.1 MB, free: 18.63 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.0001193/0.4342, allocations: 139.2 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/0.4344, allocations: 32.78 kB / 384.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.4345, allocations: 48.97 kB / 384.3 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.4345, allocations: 13.95 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4345, allocations: 0 / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4346, allocations: 6.094 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.4369, allocations: 1.265 MB / 385.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.4369, allocations: 12.38 kB / 385.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/0.4377, allocations: 121.8 kB / 385.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-05/0.4377, allocations: 14.75 kB / 385.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.4377, allocations: 20.56 kB / 385.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/0.4378, allocations: 8.844 kB / 385.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.4378, allocations: 5.5 kB / 385.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.4392, allocations: 1.027 MB / 386.8 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.4393, allocations: 108.6 kB / 386.9 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.4394, allocations: 16.86 kB / 386.9 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.4398, allocations: 38.05 kB / 387 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.4399, allocations: 50.27 kB / 387 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.44, allocations: 21.81 kB / 387 MB, free: 17.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.4401, allocations: 143 kB / 387.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4401, allocations: 0 / 387.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005805/0.4407, allocations: 97.38 kB / 387.3 MB, free: 17.1 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.0001563/0.4409, allocations: 120.4 kB / 387.4 MB, free: 17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.4417, allocations: 382.2 kB / 387.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4417, allocations: 0 / 387.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.4422, allocations: 224.6 kB / 388 MB, free: 16.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.4428, allocations: 73.73 kB / 388.1 MB, free: 16.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4445, allocations: 0.8539 MB / 388.9 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4448, allocations: 0.8017 MB / 389.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.445, allocations: 39.03 kB / 389.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.975e-06/0.445, allocations: 0 / 389.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Templates: time 0.007977/0.453, allocations: 4.373 MB / 394.1 MB, free: 15.35 MB / 314.7 MB