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_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 270 MB / 283.6 MB, free: 1.805 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.391e-05, allocations: 7.984 kB / 348.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3638, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.5054, allocations: 91.12 MB / 0.4896 GB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.5056, allocations: 63.97 kB / 0.4897 GB, free: 15.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05603/0.5617, allocations: 11.8 MB / 0.5012 GB, free: 3.523 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.152e-06/0.5617, allocations: 0 / 0.5012 GB, free: 3.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.62e-05/0.5618, allocations: 16 kB / 0.5012 GB, free: 3.508 MB / 426.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.003008/0.5648, allocations: 0.8297 MB / 0.502 GB, free: 2.633 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.5649, allocations: 12.03 kB / 0.502 GB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.5652, allocations: 83.02 kB / 0.5021 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5664, allocations: 367.3 kB / 0.5025 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.5665, allocations: 41.31 kB / 0.5025 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.5668, allocations: 63.91 kB / 0.5026 GB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.5691, allocations: 0.5696 MB / 0.5031 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.429e-05/0.5692, allocations: 7.906 kB / 0.5031 GB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.5694, allocations: 20 kB / 0.5032 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.5694, allocations: 16 kB / 0.5032 GB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.5715, allocations: 441.3 kB / 0.5036 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00802/0.5796, allocations: 2.205 MB / 0.5058 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.5822, allocations: 0.636 MB / 0.5064 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.5834, allocations: 295.7 kB / 0.5067 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.5837, allocations: 93.53 kB / 0.5067 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.893e-05/0.5838, allocations: 50.94 kB / 0.5068 GB, free: 13.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 8.399e-06/0.5838, allocations: 0 / 0.5068 GB, free: 13.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.01684/0.6006, allocations: 4.099 MB / 0.5108 GB, free: 9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002084/0.6009, allocations: 222.2 kB / 0.511 GB, free: 8.734 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000785/0.6017, allocations: 311.2 kB / 0.5113 GB, free: 8.426 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.6019, allocations: 41.7 kB / 0.5113 GB, free: 8.379 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.6023, allocations: 269 kB / 0.5116 GB, free: 8.109 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006864/0.603, allocations: 414 kB / 0.512 GB, free: 7.699 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.6031, allocations: 20 kB / 0.512 GB, free: 7.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003371/0.6035, allocations: 386.8 kB / 0.5124 GB, free: 7.293 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.6047, allocations: 266.6 kB / 0.5126 GB, free: 7.031 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.6062, allocations: 455.8 kB / 0.5131 GB, free: 6.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.6078, allocations: 334 kB / 0.5134 GB, free: 6.191 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.6078, allocations: 0 / 0.5134 GB, free: 6.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003856/0.6117, allocations: 0.905 MB / 0.5143 GB, free: 5.277 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.6118, allocations: 8 kB / 0.5143 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.6118, allocations: 5.016 kB / 0.5143 GB, free: 5.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.983e-05/0.6119, allocations: 12.44 kB / 0.5143 GB, free: 5.254 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.6147, allocations: 299.6 kB / 0.5146 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.443e-05/0.6148, allocations: 12 kB / 0.5146 GB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.616, allocations: 55.97 kB / 0.5146 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.6163, allocations: 43.98 kB / 0.5147 GB, free: 4.852 MB / 442.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.0004216/0.6167, allocations: 176.8 kB / 0.5149 GB, free: 4.672 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/0.6173, allocations: 71.2 kB / 0.5149 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000862/0.6182, allocations: 210.7 kB / 0.5151 GB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.6182, allocations: 12 kB / 0.5151 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.6183, allocations: 8 kB / 0.5151 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/0.6183, allocations: 12.03 kB / 0.5152 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.6294, allocations: 2.269 MB / 0.5174 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.6295, allocations: 0 / 0.5174 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003218/0.6327, allocations: 263.7 kB / 0.5176 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-05/0.6328, allocations: 12.28 kB / 0.5176 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.633, allocations: 24 kB / 0.5177 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.83e-05/0.6331, allocations: 19.88 kB / 0.5177 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/0.6331, allocations: 4 kB / 0.5177 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/0.6378, allocations: 1.933 MB / 0.5196 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004779/0.6384, allocations: 200.3 kB / 0.5198 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6385, allocations: 24 kB / 0.5198 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/0.6394, allocations: 59.91 kB / 0.5198 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.6396, allocations: 92.33 kB / 0.5199 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.529e-05/0.6398, allocations: 32 kB / 0.52 GB, free: 15.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004014/0.6402, allocations: 245.2 kB / 0.5202 GB, free: 14.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.6402, allocations: 0 / 0.5202 GB, free: 14.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001208/0.6414, allocations: 196 kB / 0.5204 GB, free: 14.75 MB / 458.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.0002588/0.6417, allocations: 152.2 kB / 0.5205 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.6435, allocations: 0.7284 MB / 0.5212 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.427e-06/0.6435, allocations: 0 / 0.5212 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6446, allocations: 445.7 kB / 0.5217 GB, free: 13.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6458, allocations: 95.75 kB / 0.5218 GB, free: 13.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.6502, allocations: 1.984 MB / 0.5237 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008464/0.6511, allocations: 0.9564 MB / 0.5246 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006777/0.6518, allocations: 97.62 kB / 0.5247 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.6521, allocations: 63.42 kB / 0.5248 GB, free: 10.14 MB / 458.7 MB Notification: Performance of SimCode: time 1.815e-06/0.6521, allocations: 0 / 0.5248 GB, free: 10.14 MB / 458.7 MB Notification: Performance of Templates: time 0.02119/0.6733, allocations: 6.302 MB / 0.5309 GB, free: 3.871 MB / 458.7 MB