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_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.697/1.697, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.75e-05, allocations: 0 / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.0993, allocations: 38.77 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003396/0.1028, allocations: 1.995 MB / 268.9 MB, free: 15.14 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1038, allocations: 363 kB / 269.2 MB, free: 14.78 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.104, allocations: 4 kB / 269.2 MB, free: 14.78 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.996e-05/0.1041, allocations: 35.64 kB / 269.3 MB, free: 14.74 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.1045, allocations: 111.7 kB / 269.4 MB, free: 14.63 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1049, allocations: 59.92 kB / 269.4 MB, free: 14.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.1053, allocations: 203.4 kB / 269.6 MB, free: 14.38 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1055, allocations: 52.92 kB / 269.7 MB, free: 14.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1057, allocations: 103.8 kB / 269.8 MB, free: 14.21 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1059, allocations: 131.6 kB / 269.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.106, allocations: 12 kB / 269.9 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.1061, allocations: 12 kB / 269.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.1062, allocations: 47.83 kB / 270 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.1063, allocations: 32 kB / 270 MB, free: 13.98 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.1067, allocations: 263.5 kB / 270.3 MB, free: 13.73 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1067, allocations: 0 / 270.3 MB, free: 13.73 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1067, allocations: 0 / 270.3 MB, free: 13.73 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.1067, allocations: 0 / 270.3 MB, free: 13.73 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.001462/0.1082, allocations: 0.5694 MB / 270.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/0.1083, allocations: 8.031 kB / 270.9 MB, free: 13.1 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1084, allocations: 39.61 kB / 270.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.1088, allocations: 258.4 kB / 271.1 MB, free: 12.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.1089, allocations: 24.52 kB / 271.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/0.109, allocations: 32 kB / 271.2 MB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/0.1099, allocations: 276.8 kB / 271.5 MB, free: 12.44 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1099, allocations: 0 / 271.5 MB, free: 12.44 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.11, allocations: 12 kB / 271.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.11, allocations: 11.94 kB / 271.5 MB, free: 12.42 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.111, allocations: 286 kB / 271.8 MB, free: 12.14 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.113, allocations: 0.7874 MB / 272.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.114, allocations: 369.1 kB / 272.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.1141, allocations: 8 kB / 272.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1141, allocations: 38.56 kB / 273 MB, free: 10.87 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 2.855e-06/0.1142, allocations: 0 / 273 MB, free: 10.87 MB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.007441/0.1216, allocations: 2.047 MB / 275 MB, free: 8.73 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.1217, allocations: 55.97 kB / 275.1 MB, free: 8.664 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.122, allocations: 174.2 kB / 275.2 MB, free: 8.488 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.122, allocations: 37.64 kB / 275.3 MB, free: 8.445 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1222, allocations: 203.5 kB / 275.5 MB, free: 8.242 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.1224, allocations: 216.8 kB / 275.7 MB, free: 8.027 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.1225, allocations: 16 kB / 275.7 MB, free: 8.012 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1226, allocations: 334.8 kB / 276 MB, free: 7.676 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/0.1232, allocations: 161 kB / 276.2 MB, free: 7.52 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.1238, allocations: 181 kB / 276.4 MB, free: 7.344 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.1245, allocations: 182.2 kB / 276.5 MB, free: 7.164 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1245, allocations: 4 kB / 276.5 MB, free: 7.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001439/0.126, allocations: 494.7 kB / 277 MB, free: 6.672 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.126, allocations: 4 kB / 277 MB, free: 6.668 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.126, allocations: 0 / 277 MB, free: 6.668 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.126, allocations: 4 kB / 277 MB, free: 6.664 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/0.127, allocations: 123.9 kB / 277.2 MB, free: 6.543 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.127, allocations: 7.938 kB / 277.2 MB, free: 6.535 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.1274, allocations: 31.97 kB / 277.2 MB, free: 6.504 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.1274, allocations: 16 kB / 277.2 MB, free: 6.488 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.0002466/0.1277, allocations: 161.7 kB / 277.4 MB, free: 6.32 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.1278, allocations: 35.62 kB / 277.4 MB, free: 6.285 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.128, allocations: 47.33 kB / 277.5 MB, free: 6.238 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.128, allocations: 8 kB / 277.5 MB, free: 6.23 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.128, allocations: 0 / 277.5 MB, free: 6.23 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.128, allocations: 3.984 kB / 277.5 MB, free: 6.227 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.1313, allocations: 1.329 MB / 278.8 MB, free: 4.785 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.1313, allocations: 4 kB / 278.8 MB, free: 4.781 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009755/0.1323, allocations: 128.4 kB / 278.9 MB, free: 4.656 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.1323, allocations: 8 kB / 278.9 MB, free: 4.648 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.1324, allocations: 16 kB / 278.9 MB, free: 4.633 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/0.1324, allocations: 23.88 kB / 279 MB, free: 4.609 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/0.1324, allocations: 4 kB / 279 MB, free: 4.605 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.135, allocations: 1.112 MB / 280.1 MB, free: 3.312 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.1351, allocations: 108.7 kB / 280.2 MB, free: 3.188 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.1352, allocations: 19.94 kB / 280.2 MB, free: 3.168 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.1357, allocations: 43.92 kB / 280.3 MB, free: 3.125 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1358, allocations: 43.95 kB / 280.3 MB, free: 3.082 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.1359, allocations: 23.95 kB / 280.3 MB, free: 3.059 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1361, allocations: 152.3 kB / 280.5 MB, free: 2.91 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1361, allocations: 0 / 280.5 MB, free: 2.91 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.1367, allocations: 92 kB / 280.6 MB, free: 2.82 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.0001886/0.1369, allocations: 131 kB / 280.7 MB, free: 2.684 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.1383, allocations: 446.7 kB / 281.1 MB, free: 2.246 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1383, allocations: 0 / 281.1 MB, free: 2.246 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.1391, allocations: 260.7 kB / 281.4 MB, free: 1.992 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.1398, allocations: 68.03 kB / 281.4 MB, free: 1.926 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.1426, allocations: 1.218 MB / 282.7 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.1431, allocations: 0.8013 MB / 283.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.1434, allocations: 43.42 kB / 283.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1434, allocations: 0 / 283.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of Templates: time 0.01078/0.1542, allocations: 4.4 MB / 287.9 MB, free: 11.35 MB / 250.7 MB