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_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadModel(Modelica): time 2.068/2.068, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.913e-05, allocations: 4 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.08801, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4524, allocations: 83.41 MB / 400.3 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4527, allocations: 71.28 kB / 400.4 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06965/0.5223, allocations: 14.91 MB / 415.3 MB, free: 7.859 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.681e-06/0.5224, allocations: 0 / 415.3 MB, free: 7.859 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.56e-05/0.5225, allocations: 12 kB / 415.3 MB, free: 7.848 MB / 330.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.003114/0.5256, allocations: 1.075 MB / 416.4 MB, free: 6.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5256, allocations: 8.031 kB / 416.4 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.526, allocations: 87.02 kB / 416.5 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.5269, allocations: 413.9 kB / 416.9 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/0.527, allocations: 53.81 kB / 417 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.5272, allocations: 68.28 kB / 417 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.529, allocations: 0.7173 MB / 417.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.529, allocations: 7.906 kB / 417.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.5292, allocations: 30.38 kB / 417.8 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.5292, allocations: 16 kB / 417.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.5312, allocations: 0.7043 MB / 418.5 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006393/0.5376, allocations: 2.443 MB / 420.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.539, allocations: 0.6208 MB / 421.6 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/0.5399, allocations: 404.4 kB / 422 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.5401, allocations: 16.59 kB / 422 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.5412, allocations: 491 kB / 422.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 5.068e-06/0.5413, allocations: 3.938 kB / 422.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.008693/0.55, allocations: 2.951 MB / 425.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.5501, allocations: 64.41 kB / 425.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005429/0.5506, allocations: 312.3 kB / 425.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.5508, allocations: 51.27 kB / 425.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.5511, allocations: 261.7 kB / 426.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.5516, allocations: 374.2 kB / 426.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.5517, allocations: 28.67 kB / 426.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.5519, allocations: 371 kB / 426.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/0.5528, allocations: 353.9 kB / 427.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.5539, allocations: 447 kB / 427.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.5547, allocations: 311.4 kB / 427.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.5548, allocations: 4 kB / 427.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003405/0.5582, allocations: 1.162 MB / 429.1 MB, free: 13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.5582, allocations: 4 kB / 429.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.5583, allocations: 11.98 kB / 429.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.5598, allocations: 0.5335 MB / 429.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.561, allocations: 210.1 kB / 429.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.5664, allocations: 3.219 MB / 433.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.5685, allocations: 237.7 kB / 433.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.5688, allocations: 47 kB / 433.3 MB, free: 9.051 MB / 346.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.0004526/0.5693, allocations: 167 kB / 433.5 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.5695, allocations: 67.25 kB / 433.6 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.575, allocations: 1.201 MB / 434.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/0.575, allocations: 8 kB / 434.8 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5751, allocations: 0 / 434.8 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.603e-05/0.5751, allocations: 3.984 kB / 434.8 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.5854, allocations: 2.352 MB / 437.1 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.5855, allocations: 0 / 437.1 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.5869, allocations: 186 kB / 437.3 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.5883, allocations: 0.5151 MB / 437.8 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.5885, allocations: 39.14 kB / 437.9 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004846/0.5934, allocations: 3.056 MB / 440.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.208e-06/0.5934, allocations: 4.031 kB / 440.9 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.5979, allocations: 1.714 MB / 442.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/0.5986, allocations: 232.2 kB / 442.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.5988, allocations: 36 kB / 442.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.6005, allocations: 251.8 kB / 443.2 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/0.6018, allocations: 432.1 kB / 443.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.602, allocations: 39.97 kB / 443.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004431/0.6025, allocations: 257.2 kB / 443.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.34e-07/0.6025, allocations: 0 / 443.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001205/0.6037, allocations: 247.9 kB / 444.1 MB, free: 15.38 MB / 362.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.0003963/0.6041, allocations: 172.9 kB / 444.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.6069, allocations: 1.077 MB / 445.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.391e-06/0.607, allocations: 0 / 445.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.6091, allocations: 0.7051 MB / 446.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.61, allocations: 116.6 kB / 446.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/0.6155, allocations: 1.757 MB / 447.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/0.6163, allocations: 0.9515 MB / 448.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005242/0.6169, allocations: 69.38 kB / 449 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.6171, allocations: 63.41 kB / 449 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.728e-06/0.6172, allocations: 0 / 449 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.03663/0.6538, allocations: 14.89 MB / 463.9 MB, free: 11.49 MB / 378.7 MB