Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.844e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005226/0.1375, allocations: 3.24 MB / 414.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1398, allocations: 0.9856 MB / 415.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.1401, allocations: 19.94 kB / 415.2 MB, free: 8.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.1403, allocations: 67.45 kB / 415.2 MB, free: 8.523 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005923/0.1409, allocations: 215.3 kB / 415.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.1414, allocations: 131.8 kB / 415.6 MB, free: 8.184 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.1422, allocations: 423.5 kB / 416 MB, free: 7.766 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.1425, allocations: 125.2 kB / 416.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.1429, allocations: 219.4 kB / 416.3 MB, free: 7.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.1433, allocations: 271.1 kB / 416.6 MB, free: 7.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.1436, allocations: 43.98 kB / 416.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.1437, allocations: 28 kB / 416.7 MB, free: 7.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1438, allocations: 103.5 kB / 416.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.144, allocations: 60 kB / 416.8 MB, free: 6.934 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.1448, allocations: 0.5339 MB / 417.3 MB, free: 6.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1448, allocations: 0 / 417.3 MB, free: 6.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1448, allocations: 0 / 417.3 MB, free: 6.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1448, allocations: 0 / 417.3 MB, free: 6.398 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002417/0.1472, allocations: 0.8565 MB / 418.2 MB, free: 5.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1473, allocations: 12.02 kB / 418.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.1475, allocations: 83 kB / 418.3 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.1482, allocations: 380.8 kB / 418.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.1482, allocations: 41.31 kB / 418.7 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.1484, allocations: 71.89 kB / 418.8 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.1503, allocations: 0.6343 MB / 419.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.49e-05/0.1504, allocations: 7.906 kB / 419.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.1505, allocations: 24 kB / 419.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.1505, allocations: 16 kB / 419.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.1526, allocations: 0.5607 MB / 420 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.1577, allocations: 2.18 MB / 422.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.1599, allocations: 0.7111 MB / 422.9 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.1602, allocations: 97.47 kB / 423 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.1603, allocations: 50.95 kB / 423.1 MB, free: 368 kB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 4.268e-06/0.1603, allocations: 3.938 kB / 423.1 MB, free: 364 kB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.3559/0.5162, allocations: 4.605 MB / 427.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.5164, allocations: 223.5 kB / 427.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.517, allocations: 317.8 kB / 428.2 MB, free: 9.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.5171, allocations: 47.55 kB / 428.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.5173, allocations: 308.2 kB / 428.5 MB, free: 9.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.5177, allocations: 406.3 kB / 428.9 MB, free: 9.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.5178, allocations: 32.03 kB / 429 MB, free: 9.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5179, allocations: 351.2 kB / 429.3 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.5191, allocations: 336.5 kB / 429.6 MB, free: 8.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.5204, allocations: 0.509 MB / 430.1 MB, free: 8.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.5217, allocations: 405.2 kB / 430.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5217, allocations: 1.688 kB / 430.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002942/0.5247, allocations: 1.001 MB / 431.5 MB, free: 7.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.5247, allocations: 6.406 kB / 431.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.5247, allocations: 5.906 kB / 431.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.57e-05/0.5248, allocations: 11.81 kB / 431.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.5268, allocations: 292.5 kB / 431.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.5269, allocations: 16.67 kB / 431.9 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.5277, allocations: 64.27 kB / 431.9 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5278, allocations: 44.53 kB / 432 MB, free: 7.895 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0004023/0.5283, allocations: 227.5 kB / 432.2 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.5285, allocations: 73.58 kB / 432.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006312/0.5292, allocations: 224.5 kB / 432.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.5292, allocations: 13.81 kB / 432.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/0.5293, allocations: 2.25 kB / 432.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.5293, allocations: 7.156 kB / 432.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/0.5353, allocations: 2.393 MB / 434.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.5353, allocations: 4.875 kB / 434.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/0.5375, allocations: 261.8 kB / 435.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.17e-05/0.5376, allocations: 13.14 kB / 435.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.5377, allocations: 29.64 kB / 435.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.53e-05/0.5377, allocations: 7.859 kB / 435.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.5377, allocations: 9.062 kB / 435.2 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/0.5421, allocations: 2.126 MB / 437.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.5428, allocations: 195.7 kB / 437.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.5429, allocations: 25.5 kB / 437.6 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.544, allocations: 56.89 kB / 437.6 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.5443, allocations: 85.52 kB / 437.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.5444, allocations: 35.12 kB / 437.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003929/0.5448, allocations: 255.8 kB / 438 MB, free: 4.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5448, allocations: 0 / 438 MB, free: 4.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001399/0.5462, allocations: 197.2 kB / 438.2 MB, free: 4.352 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0002654/0.5465, allocations: 138.1 kB / 438.3 MB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.5495, allocations: 0.8698 MB / 439.2 MB, free: 4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.5495, allocations: 1.531 kB / 439.2 MB, free: 4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.5512, allocations: 0.5011 MB / 439.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.5526, allocations: 113.8 kB / 439.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/0.5584, allocations: 2.649 MB / 442.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.5591, allocations: 0.9661 MB / 443.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.5597, allocations: 69.05 kB / 443.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5597, allocations: 5.188 kB / 443.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of Templates: time 0.02314/0.5828, allocations: 8.624 MB / 452.1 MB, free: 14.35 MB / 362.7 MB