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_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.683e-05, allocations: 4 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2868, allocations: 44.49 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.003855/0.2908, allocations: 2.347 MB / 305.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.2933, allocations: 1.045 MB / 306.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.2936, allocations: 11.94 kB / 306.7 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.2939, allocations: 51.66 kB / 306.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.2942, allocations: 131.6 kB / 306.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2953, allocations: 319.3 kB / 307.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.2959, allocations: 368.3 kB / 307.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.296, allocations: 40.39 kB / 307.6 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004923/0.2965, allocations: 291.4 kB / 307.9 MB, free: 9.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.2985, allocations: 1.393 MB / 309.3 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.2988, allocations: 75.97 kB / 309.4 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.299, allocations: 36 kB / 309.4 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.2993, allocations: 199.4 kB / 309.6 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.2995, allocations: 44 kB / 309.6 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.3004, allocations: 0.5947 MB / 310.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3004, allocations: 0 / 310.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3004, allocations: 0 / 310.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.3004, allocations: 0 / 310.2 MB, free: 6.676 MB / 250.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.005717/0.3061, allocations: 1.225 MB / 311.4 MB, free: 5.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3062, allocations: 8.031 kB / 311.5 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.3064, allocations: 82.95 kB / 311.5 MB, free: 5.312 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.3072, allocations: 406.8 kB / 311.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.3072, allocations: 32.94 kB / 312 MB, free: 4.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.3074, allocations: 35.91 kB / 312 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.3103, allocations: 1.165 MB / 313.2 MB, free: 3.629 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.3103, allocations: 4 kB / 313.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3104, allocations: 19.98 kB / 313.2 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3105, allocations: 8 kB / 313.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004352/0.3148, allocations: 1.775 MB / 315 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006713/0.3216, allocations: 2.553 MB / 317.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.3243, allocations: 0.9381 MB / 318.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.3244, allocations: 12 kB / 318.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/0.3268, allocations: 0.9123 MB / 319.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.016e-06/0.3268, allocations: 0 / 319.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.01863/0.3454, allocations: 6.028 MB / 325.4 MB, free: 7.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.3455, allocations: 81.11 kB / 325.5 MB, free: 7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3471, allocations: 0.843 MB / 326.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.3473, allocations: 49.7 kB / 326.4 MB, free: 6.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.3476, allocations: 304.2 kB / 326.7 MB, free: 5.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.3478, allocations: 158 kB / 326.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.3479, allocations: 8 kB / 326.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3481, allocations: 382.7 kB / 327.2 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.3502, allocations: 0.8719 MB / 328.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.3524, allocations: 0.948 MB / 329 MB, free: 3.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.3543, allocations: 0.7746 MB / 329.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3543, allocations: 0 / 329.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.006123/0.3605, allocations: 2.49 MB / 332.3 MB, free: 120 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.3605, allocations: 4 kB / 332.3 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3605, allocations: 7.953 kB / 332.3 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003191/0.3637, allocations: 1.904 MB / 334.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/0.3647, allocations: 119.9 kB / 334.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.3759, allocations: 6.463 MB / 340.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.3787, allocations: 299.8 kB / 341.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/0.3788, allocations: 23.98 kB / 341.1 MB, free: 6.996 MB / 282.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.0005156/0.3793, allocations: 256 kB / 341.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.3795, allocations: 75.11 kB / 341.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3798, allocations: 98.17 kB / 341.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.3798, allocations: 11.98 kB / 341.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3798, allocations: 0 / 341.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3798, allocations: 0 / 341.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006439/0.3863, allocations: 3.134 MB / 344.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3863, allocations: 0 / 344.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009108/0.3872, allocations: 99.92 kB / 344.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/0.3902, allocations: 1.869 MB / 346.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.3903, allocations: 23.97 kB / 346.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.4005, allocations: 6.192 MB / 352.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4006, allocations: 0 / 352.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008005/0.4086, allocations: 3.304 MB / 356.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006633/0.4093, allocations: 208.2 kB / 356.4 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.4096, allocations: 20 kB / 356.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/0.4128, allocations: 351.6 kB / 356.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002584/0.4154, allocations: 0.6431 MB / 357.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.4155, allocations: 31.97 kB / 357.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.4166, allocations: 0.6748 MB / 358.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4167, allocations: 0 / 358.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001047/0.4177, allocations: 192 kB / 358.3 MB, free: 5.379 MB / 298.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.0003687/0.4181, allocations: 148 kB / 358.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00476/0.4229, allocations: 1.949 MB / 360.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4229, allocations: 0 / 360.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002779/0.4257, allocations: 1.103 MB / 361.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.4264, allocations: 54.91 kB / 361.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006962/0.4333, allocations: 2.286 MB / 363.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.434, allocations: 0.9377 MB / 364.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004011/0.4344, allocations: 39.28 kB / 364.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.4346, allocations: 27.42 kB / 364.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4346, allocations: 4 kB / 364.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of Templates: time 0.04842/0.4831, allocations: 20.93 MB / 385.7 MB, free: 9.77 MB / 330.7 MB