Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.85e-05/4.856e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5007, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.1632/0.6639, allocations: 69.02 MB / 431.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05494/0.7189, allocations: 14.54 MB / 446.4 MB, free: 10 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01621/0.7352, allocations: 363.2 kB / 446.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.7481, allocations: 3.64 MB / 450.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03848/0.7866, allocations: 9.657 MB / 460.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.7929, allocations: 1.026 MB / 461.1 MB, free: 11.28 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008382/0.8013, allocations: 2.882 MB / 464 MB, free: 8.391 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.019/0.8204, allocations: 7.698 MB / 471.7 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.8247, allocations: 1.387 MB / 473.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006417/0.8311, allocations: 2.357 MB / 475.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.835, allocations: 0.7842 MB / 476.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.8368, allocations: 200 kB / 476.4 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005579/0.8424, allocations: 2.685 MB / 479.1 MB, free: 9.219 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.8451, allocations: 467.9 kB / 479.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.8642, allocations: 9.336 MB / 488.9 MB, free: 15.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8643, allocations: 4 kB / 488.9 MB, free: 15.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.8643, allocations: 0 / 488.9 MB, free: 15.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003837/0.8647, allocations: 0 / 488.9 MB, free: 15.4 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.0259/0.8906, allocations: 6.532 MB / 495.4 MB, free: 8.781 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.8907, allocations: 12.03 kB / 495.4 MB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03008/0.9208, allocations: 3.27 MB / 498.7 MB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/0.9334, allocations: 4.377 MB / 0.4913 GB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006418/0.9341, allocations: 451.4 kB / 0.4917 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002914/0.937, allocations: 0.5739 MB / 0.4923 GB, free: 32 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6707/1.608, allocations: 21.5 MB / 0.5133 GB, free: 106.9 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000262/1.608, allocations: 66.84 kB / 0.5133 GB, free: 106.9 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/1.609, allocations: 283 kB / 0.5136 GB, free: 106.7 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008483/1.618, allocations: 3.529 MB / 0.5171 GB, free: 103.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0647/1.683, allocations: 17.5 MB / 0.5341 GB, free: 85.69 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1162/1.799, allocations: 70.23 MB / 0.6027 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08915/1.888, allocations: 14.58 MB / 0.617 GB, free: 15.55 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03597/1.924, allocations: 14.39 MB / 0.631 GB, free: 0.9375 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07392/1.998, allocations: 12.47 MB / 0.6432 GB, free: 4.406 MB / 458.8 MB Notification: Performance of pre-optimization done (n=287): time 1.106e-05/1.998, allocations: 0 / 0.6432 GB, free: 4.406 MB / 458.8 MB Notification: Performance of matching and sorting (n=323): time 0.5922/2.59, allocations: 43.62 MB / 0.6858 GB, free: 167.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/2.591, allocations: 159.6 kB / 0.6859 GB, free: 167 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01447/2.605, allocations: 5.699 MB / 0.6915 GB, free: 165 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007818/2.606, allocations: 73.33 kB / 0.6916 GB, free: 164.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005529/2.611, allocations: 5.291 MB / 0.6968 GB, free: 160.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002079/2.614, allocations: 1.233 MB / 0.698 GB, free: 160 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009957/2.615, allocations: 196.2 kB / 0.6981 GB, free: 159.9 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006264/2.615, allocations: 0.7138 MB / 0.6988 GB, free: 159.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009812/2.625, allocations: 3.299 MB / 0.7021 GB, free: 158.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01331/2.638, allocations: 9.057 MB / 0.7109 GB, free: 149.6 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/2.652, allocations: 5.255 MB / 0.716 GB, free: 147.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002302/2.652, allocations: 56.78 kB / 0.7161 GB, free: 147.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03393/2.686, allocations: 12.27 MB / 0.7281 GB, free: 138.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000198/2.686, allocations: 117.7 kB / 0.7282 GB, free: 137.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002864/2.686, allocations: 204 kB / 0.7284 GB, free: 137.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/2.688, allocations: 0.5364 MB / 0.7289 GB, free: 137.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01488/2.703, allocations: 2.402 MB / 0.7313 GB, free: 134.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/2.707, allocations: 2.711 MB / 0.7339 GB, free: 132 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/2.718, allocations: 0.5641 MB / 0.7345 GB, free: 131.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/2.72, allocations: 0.5781 MB / 0.735 GB, free: 130.8 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1238 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008728/2.729, allocations: 3.326 MB / 0.7383 GB, free: 127.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/2.73, allocations: 0.536 MB / 0.7388 GB, free: 126.9 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/2.752, allocations: 4.483 MB / 0.7432 GB, free: 122.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-05/2.752, allocations: 32 kB / 0.7432 GB, free: 122.4 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/2.752, allocations: 0 / 0.7432 GB, free: 122.4 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/2.752, allocations: 19.94 kB / 0.7432 GB, free: 122.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05148/2.804, allocations: 13.51 MB / 0.7564 GB, free: 108.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.486e-05/2.804, allocations: 31 kB / 0.7564 GB, free: 108.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005641/2.809, allocations: 0.6909 MB / 0.7571 GB, free: 107.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.575e-05/2.809, allocations: 47.95 kB / 0.7572 GB, free: 107.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004827/2.81, allocations: 97.5 kB / 0.7573 GB, free: 107.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.767e-05/2.81, allocations: 59.78 kB / 0.7573 GB, free: 107.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.712e-05/2.81, allocations: 43.81 kB / 0.7574 GB, free: 107.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/2.828, allocations: 11.47 MB / 0.7685 GB, free: 94.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004063/2.832, allocations: 0.8764 MB / 0.7694 GB, free: 93.57 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002339/2.835, allocations: 88.77 kB / 0.7695 GB, free: 93.49 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00698/2.842, allocations: 189.5 kB / 0.7697 GB, free: 93.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/2.843, allocations: 281 kB / 0.7699 GB, free: 93.03 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004084/2.843, allocations: 120.7 kB / 0.7701 GB, free: 92.91 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0126/2.856, allocations: 3.987 MB / 0.7739 GB, free: 88.93 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.312e-06/2.856, allocations: 0 / 0.7739 GB, free: 88.93 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01575/2.872, allocations: 1.594 MB / 0.7755 GB, free: 87.34 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 303 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001599/2.873, allocations: 274.4 kB / 0.7758 GB, free: 87.07 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02528/2.899, allocations: 7.342 MB / 0.7829 GB, free: 79.74 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.709e-05/2.899, allocations: 4 kB / 0.7829 GB, free: 79.74 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007741/2.906, allocations: 1.936 MB / 0.7848 GB, free: 77.81 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/2.912, allocations: 0.6986 MB / 0.7855 GB, free: 77.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04169/2.954, allocations: 18.62 MB / 0.8037 GB, free: 58.08 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/2.966, allocations: 5.256 MB / 0.8088 GB, free: 52.78 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.013/2.979, allocations: 2.785 MB / 0.8115 GB, free: 49.99 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/2.981, allocations: 415.4 kB / 0.8119 GB, free: 49.58 MB / 490.8 MB Notification: Performance of SimCode: time 1.633e-06/2.981, allocations: 4 kB / 0.8119 GB, free: 49.58 MB / 490.8 MB Notification: Performance of Templates: time 0.4967/3.478, allocations: 51.14 MB / 0.8619 GB, free: 137.4 MB / 490.8 MB