Running command: translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.221e-05/4.245e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 38.76 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3367, allocations: 70.96 MB / 334.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.337, allocations: 67.97 kB / 334.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06227/0.3993, allocations: 13.33 MB / 348.1 MB, free: 5.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.949e-06/0.3993, allocations: 0 / 348.1 MB, free: 5.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.394e-05/0.3994, allocations: 12 kB / 348.1 MB, free: 5.312 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003341/0.4027, allocations: 1.11 MB / 349.3 MB, free: 4.152 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4028, allocations: 12.03 kB / 349.3 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.4031, allocations: 83.06 kB / 349.3 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.4044, allocations: 0.5848 MB / 349.9 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.67e-05/0.4045, allocations: 36.73 kB / 350 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.4047, allocations: 44 kB / 350 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.4078, allocations: 1.442 MB / 351.5 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.4078, allocations: 4 kB / 351.5 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.408, allocations: 24 kB / 351.5 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.408, allocations: 8 kB / 351.5 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.4123, allocations: 2.16 MB / 353.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008351/0.4206, allocations: 3.148 MB / 356.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.4228, allocations: 1.032 MB / 357.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.4245, allocations: 0.8606 MB / 358.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.4246, allocations: 8.5 kB / 358.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002162/0.4268, allocations: 1.118 MB / 359.8 MB, free: 9.402 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.729e-06/0.4268, allocations: 3.938 kB / 359.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0122/0.439, allocations: 5.723 MB / 365.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.4391, allocations: 89.11 kB / 365.6 MB, free: 3.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.4408, allocations: 0.7923 MB / 366.4 MB, free: 2.668 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.441, allocations: 53.7 kB / 366.5 MB, free: 2.609 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.4413, allocations: 296.3 kB / 366.8 MB, free: 2.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.4416, allocations: 173.9 kB / 366.9 MB, free: 2.145 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.4418, allocations: 16 kB / 367 MB, free: 2.129 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00025/0.4421, allocations: 378.8 kB / 367.3 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.4441, allocations: 1.044 MB / 368.4 MB, free: 0.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2089/0.653, allocations: 1.133 MB / 369.5 MB, free: 93.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/0.6568, allocations: 0.9652 MB / 370.5 MB, free: 93.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.6569, allocations: 0 / 370.5 MB, free: 93.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.01157/0.6685, allocations: 3.312 MB / 373.8 MB, free: 93.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.6686, allocations: 12.06 kB / 373.8 MB, free: 93.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.6686, allocations: 2.922 kB / 373.8 MB, free: 93.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02559/0.6942, allocations: 11.42 MB / 385.2 MB, free: 86.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.6957, allocations: 126.1 kB / 385.3 MB, free: 86.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/0.711, allocations: 7.108 MB / 392.4 MB, free: 79.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.7131, allocations: 308.3 kB / 392.7 MB, free: 79.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.7134, allocations: 108 kB / 392.9 MB, free: 78.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,$whenCondition2,stop1.free,$PRE.stop1.startForward,stop1.startForward,$PRE.stop1.startBackward,stop1.startBackward,stop1.locked,$PRE.stop1.mode,stop1.mode,stop1.stopped,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,$whenCondition1,stop2.free,$PRE.stop2.startForward,stop2.startForward,$PRE.stop2.startBackward,stop2.startBackward,stop2.locked,$PRE.stop2.mode,stop2.mode,stop2.stopped) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002975/0.7137, allocations: 158.7 kB / 393 MB, free: 78.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.7139, allocations: 79.62 kB / 393.1 MB, free: 78.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.7142, allocations: 98.3 kB / 393.2 MB, free: 78.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.643e-06/0.7142, allocations: 8.562 kB / 393.2 MB, free: 78.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.146e-06/0.7142, allocations: 4 kB / 393.2 MB, free: 78.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.042e-06/0.7142, allocations: 3.984 kB / 393.2 MB, free: 78.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008171/0.7224, allocations: 4.516 MB / 397.7 MB, free: 74.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.703e-06/0.7225, allocations: 0 / 397.7 MB, free: 74.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.7231, allocations: 95.94 kB / 397.8 MB, free: 74.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01383/0.737, allocations: 11.32 MB / 409.1 MB, free: 62.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.7372, allocations: 43.95 kB / 409.2 MB, free: 62.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009218/0.7464, allocations: 6.809 MB / 416 MB, free: 55.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.195e-06/0.7465, allocations: 8.781 kB / 416 MB, free: 55.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00736/0.7538, allocations: 4.287 MB / 420.3 MB, free: 51.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009469/0.7548, allocations: 415.3 kB / 420.7 MB, free: 50.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.7551, allocations: 28 kB / 420.7 MB, free: 50.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.7569, allocations: 311.6 kB / 421 MB, free: 50.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001916/0.7588, allocations: 0.6666 MB / 421.7 MB, free: 49.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/0.759, allocations: 99.95 kB / 421.8 MB, free: 49.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000862/0.7599, allocations: 0.6202 MB / 422.4 MB, free: 49.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.7599, allocations: 6.344 kB / 422.4 MB, free: 49.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001037/0.761, allocations: 221.6 kB / 422.6 MB, free: 48.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (stop2.s,stop2.v,stop1.s,stop1.v,mass.s,mass.v) * Number of discrete variables: 18 ($whenCondition1,stop2.free,stop2.startForward,stop2.startBackward,stop2.locked,stop2.mode,stop2.stopped,$whenCondition2,stop1.free,stop1.startForward,stop1.startBackward,stop1.locked,stop1.mode,stop1.stopped,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode) * Number of discrete states: 9 (supportFriction.mode,supportFriction.startForward,supportFriction.startBackward,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002978/0.7613, allocations: 149.4 kB / 422.8 MB, free: 48.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.7636, allocations: 1.652 MB / 424.4 MB, free: 47.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.7636, allocations: 0 / 424.4 MB, free: 47.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.765, allocations: 0.937 MB / 425.4 MB, free: 46.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.7657, allocations: 70.61 kB / 425.4 MB, free: 46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.7708, allocations: 1.993 MB / 427.4 MB, free: 44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.7713, allocations: 0.9377 MB / 428.4 MB, free: 43.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000354/0.7716, allocations: 67.28 kB / 428.4 MB, free: 42.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.7718, allocations: 43.42 kB / 428.5 MB, free: 42.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.958e-06/0.7718, allocations: 0 / 428.5 MB, free: 42.93 MB / 314.7 MB Notification: Performance of Templates: time 0.0281/0.8, allocations: 14.87 MB / 443.3 MB, free: 28.07 MB / 314.7 MB