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.2_cpp_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.868e-05, allocations: 0 / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.268, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.3859, allocations: 75.6 MB / 369.7 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/0.3863, allocations: 71.95 kB / 369.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06455/0.4508, allocations: 13.47 MB / 383.2 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.4509, allocations: 4 kB / 383.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.906e-05/0.451, allocations: 11.94 kB / 383.3 MB, free: 8.777 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003268/0.4542, allocations: 1.092 MB / 384.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4543, allocations: 12.03 kB / 384.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.4546, allocations: 79.02 kB / 384.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4557, allocations: 490.8 kB / 384.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.4558, allocations: 16 kB / 384.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.456, allocations: 20 kB / 385 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002529/0.4585, allocations: 1.02 MB / 386 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.4605, allocations: 0.825 MB / 386.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.4605, allocations: 11.83 kB / 386.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.4607, allocations: 0 / 386.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.4607, allocations: 8 kB / 386.8 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007229/0.4679, allocations: 2.342 MB / 389.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4694, allocations: 0.622 MB / 389.8 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.4706, allocations: 498.1 kB / 390.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/0.4707, allocations: 8 kB / 390.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.4723, allocations: 0.7278 MB / 391 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 4.242e-06/0.4723, allocations: 4 kB / 391 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.009033/0.4814, allocations: 3.278 MB / 394.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.4815, allocations: 85.11 kB / 394.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.4824, allocations: 0.4916 MB / 394.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.4826, allocations: 41.69 kB / 394.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.4829, allocations: 298.9 kB / 395.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.4832, allocations: 173.6 kB / 395.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.4833, allocations: 3.984 kB / 395.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.4835, allocations: 334.8 kB / 395.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.4847, allocations: 0.5013 MB / 396.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.4859, allocations: 0.5806 MB / 396.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.4871, allocations: 439.6 kB / 397.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.251e-06/0.4871, allocations: 4 kB / 397.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004429/0.4916, allocations: 1.593 MB / 398.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4916, allocations: 8 kB / 398.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-05/0.4917, allocations: 8 kB / 398.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009515/0.5012, allocations: 4.129 MB / 402.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.5027, allocations: 119.8 kB / 403.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.522, allocations: 5.471 MB / 408.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/0.5256, allocations: 279.8 kB / 408.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004678/0.5261, allocations: 112 kB / 408.9 MB, free: 14.43 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: stop2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: stop1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: supportFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real 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): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007505/0.5269, allocations: 142.1 kB / 409.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.5273, allocations: 75.09 kB / 409.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008331/0.5357, allocations: 1.454 MB / 410.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.5357, allocations: 4 kB / 410.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.5358, allocations: 0 / 410.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.5358, allocations: 7.984 kB / 410.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.5484, allocations: 2.447 MB / 413 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/0.5485, allocations: 8.078 kB / 413.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.5498, allocations: 95.88 kB / 413.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/0.565, allocations: 4.149 MB / 417.3 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003097/0.5654, allocations: 31.95 kB / 417.3 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.5829, allocations: 5.14 MB / 422.5 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-05/0.583, allocations: 8.234 kB / 422.5 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2072/0.7902, allocations: 2.212 MB / 424.7 MB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/0.791, allocations: 308.5 kB / 425 MB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.7912, allocations: 16.53 kB / 425 MB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/0.7929, allocations: 296.6 kB / 425.3 MB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001977/0.7949, allocations: 0.6611 MB / 426 MB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/0.7952, allocations: 92.62 kB / 426 MB, free: 111.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007468/0.7959, allocations: 488.6 kB / 426.5 MB, free: 111.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.796, allocations: 0 / 426.5 MB, free: 111.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001228/0.7972, allocations: 215.9 kB / 426.7 MB, free: 111.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 32 * 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.000355/0.7976, allocations: 153.9 kB / 426.9 MB, free: 111.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.8002, allocations: 1.316 MB / 428.2 MB, free: 111.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.447e-06/0.8003, allocations: 2.562 kB / 428.2 MB, free: 111.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.8018, allocations: 0.7701 MB / 429 MB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.8025, allocations: 59.69 kB / 429 MB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.8079, allocations: 1.868 MB / 430.9 MB, free: 110.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.8085, allocations: 0.9343 MB / 431.8 MB, free: 110.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.8087, allocations: 36.42 kB / 431.9 MB, free: 110.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.725e-06/0.8087, allocations: 4 kB / 431.9 MB, free: 110.1 MB / 362.7 MB Notification: Performance of Templates: time 0.02271/0.8314, allocations: 14.93 MB / 446.8 MB, free: 102 MB / 362.7 MB