Running command: translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.764e-05, allocations: 8 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09058, allocations: 50.41 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.4986, allocations: 85.79 MB / 428.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4989, allocations: 63.78 kB / 428.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06479/0.5637, allocations: 15.12 MB / 444 MB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.128e-06/0.5637, allocations: 0 / 444 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.5638, allocations: 16 kB / 444.1 MB, free: 11.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003052/0.5669, allocations: 1.065 MB / 445.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5669, allocations: 8.031 kB / 445.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.5673, allocations: 93.66 kB / 445.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.5681, allocations: 413.3 kB / 445.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.5682, allocations: 56.81 kB / 445.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.5684, allocations: 74.78 kB / 445.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.5702, allocations: 0.7062 MB / 446.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.5702, allocations: 4 kB / 446.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.5704, allocations: 27.69 kB / 446.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.5704, allocations: 20 kB / 446.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.5722, allocations: 0.7069 MB / 447.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006188/0.5784, allocations: 2.446 MB / 449.7 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.5801, allocations: 0.6093 MB / 450.3 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.5817, allocations: 425 kB / 450.7 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.5818, allocations: 8.781 kB / 450.7 MB, free: 6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.583, allocations: 495.6 kB / 451.2 MB, free: 5.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=89): time 4.82e-06/0.5831, allocations: 0 / 451.2 MB, free: 5.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=109): time 0.00925/0.5923, allocations: 2.945 MB / 454.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.5925, allocations: 62.97 kB / 454.2 MB, free: 3.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.5931, allocations: 315.2 kB / 454.5 MB, free: 2.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002066/0.5933, allocations: 58.2 kB / 454.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.5936, allocations: 263.6 kB / 454.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004604/0.5941, allocations: 370.8 kB / 455.2 MB, free: 2.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.272e-05/0.5942, allocations: 20 kB / 455.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.5945, allocations: 378.8 kB / 455.6 MB, free: 1.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.5957, allocations: 354.6 kB / 455.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.597, allocations: 448.9 kB / 456.4 MB, free: 1.113 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009953/0.598, allocations: 304.9 kB / 456.7 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.359e-06/0.598, allocations: 0 / 456.7 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003681/0.6017, allocations: 1.163 MB / 457.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.6018, allocations: 8 kB / 457.8 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.6018, allocations: 3.984 kB / 457.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.6033, allocations: 0.5449 MB / 458.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.6045, allocations: 199.8 kB / 458.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/0.6102, allocations: 3.228 MB / 461.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.6118, allocations: 235.9 kB / 462 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.612, allocations: 43.92 kB / 462.1 MB, free: 11.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,$whenCondition1,elastoGap.contact,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,massWithStopAndFriction.free,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003562/0.6123, allocations: 167.9 kB / 462.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.6126, allocations: 71.2 kB / 462.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.616, allocations: 1.193 MB / 463.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.6161, allocations: 12 kB / 463.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.019e-06/0.6161, allocations: 3.953 kB / 463.5 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.6161, allocations: 3.984 kB / 463.5 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006153/0.6223, allocations: 2.353 MB / 465.9 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.6223, allocations: 4 kB / 465.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.6235, allocations: 199.9 kB / 466.1 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.6249, allocations: 0.5099 MB / 466.6 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.6251, allocations: 35.95 kB / 466.6 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004928/0.63, allocations: 3.05 MB / 469.7 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.866e-06/0.6301, allocations: 3.938 kB / 469.7 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/0.6345, allocations: 1.708 MB / 471.4 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006107/0.6352, allocations: 232.1 kB / 471.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.6354, allocations: 28 kB / 471.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.637, allocations: 255.8 kB / 471.9 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001351/0.6384, allocations: 436 kB / 472.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.6385, allocations: 51.95 kB / 472.4 MB, free: 456 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004192/0.639, allocations: 245.2 kB / 472.6 MB, free: 208 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.157e-06/0.639, allocations: 0 / 472.6 MB, free: 208 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.00114/0.6401, allocations: 256 kB / 472.8 MB, free: 15.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003872/0.6405, allocations: 172.8 kB / 473 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.6433, allocations: 1.073 MB / 474.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.77e-06/0.6433, allocations: 0 / 474.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.6452, allocations: 0.6965 MB / 474.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/0.6462, allocations: 110.2 kB / 474.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/0.6517, allocations: 1.764 MB / 476.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008008/0.6525, allocations: 0.9515 MB / 477.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005563/0.6531, allocations: 69.38 kB / 477.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.6534, allocations: 63.41 kB / 477.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.832e-06/0.6535, allocations: 0 / 477.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of Templates: time 0.04966/0.7031, allocations: 14.89 MB / 492.6 MB, free: 12.1 MB / 410.7 MB