Running command: translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.572e-05, allocations: 7.906 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.004288/0.33, allocations: 1.905 MB / 305.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3317, allocations: 458.4 kB / 305.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.3319, allocations: 8.438 kB / 305.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.3321, allocations: 35.09 kB / 305.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.3325, allocations: 83.78 kB / 305.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.3332, allocations: 135.3 kB / 305.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.3338, allocations: 222.6 kB / 306.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.334, allocations: 35.61 kB / 306.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.3345, allocations: 165.8 kB / 306.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005217/0.335, allocations: 198.9 kB / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.3353, allocations: 59.95 kB / 306.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.3355, allocations: 20 kB / 306.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3356, allocations: 71.73 kB / 306.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.3358, allocations: 28 kB / 306.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007069/0.3365, allocations: 325.6 kB / 307 MB, free: 9.887 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3366, allocations: 4 kB / 307 MB, free: 9.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3366, allocations: 0 / 307 MB, free: 9.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.3366, allocations: 0 / 307 MB, free: 9.883 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002434/0.3391, allocations: 0.5967 MB / 307.6 MB, free: 9.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.3391, allocations: 8.031 kB / 307.6 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.3394, allocations: 35.53 kB / 307.7 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.34, allocations: 279.4 kB / 308 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.3401, allocations: 24.56 kB / 308 MB, free: 8.859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3403, allocations: 31.91 kB / 308 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.342, allocations: 376.7 kB / 308.4 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.342, allocations: 0 / 308.4 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/0.3421, allocations: 20 kB / 308.4 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.3422, allocations: 11.92 kB / 308.4 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.3441, allocations: 405.9 kB / 308.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.3486, allocations: 1.127 MB / 309.9 MB, free: 6.824 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.35, allocations: 299.6 kB / 310.2 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.633e-05/0.3501, allocations: 8.969 kB / 310.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.3502, allocations: 42.5 kB / 310.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 3.868e-06/0.3502, allocations: 0 / 310.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.01155/0.3617, allocations: 2.109 MB / 312.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.3618, allocations: 55.41 kB / 312.4 MB, free: 4.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.3623, allocations: 212.1 kB / 312.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.3625, allocations: 45.7 kB / 312.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.3627, allocations: 148.8 kB / 312.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.3629, allocations: 154 kB / 313 MB, free: 3.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.363, allocations: 8 kB / 313 MB, free: 3.582 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3632, allocations: 338.8 kB / 313.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.3643, allocations: 205 kB / 313.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.3654, allocations: 284.8 kB / 313.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.3663, allocations: 168.7 kB / 314 MB, free: 2.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3663, allocations: 4 kB / 314 MB, free: 2.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003407/0.3697, allocations: 0.6924 MB / 314.7 MB, free: 1.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3698, allocations: 4.156 kB / 314.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.3698, allocations: 4 kB / 314.7 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.3712, allocations: 0.4935 MB / 315.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.3718, allocations: 71.91 kB / 315.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.3737, allocations: 1.39 MB / 316.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.3746, allocations: 95.97 kB / 316.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.3746, allocations: 16 kB / 316.7 MB, free: 15.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002849/0.3749, allocations: 165.7 kB / 316.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3751, allocations: 27.62 kB / 316.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.3752, allocations: 51.3 kB / 317 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3752, allocations: 11.94 kB / 317 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3753, allocations: 0 / 317 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3753, allocations: 0 / 317 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/0.3799, allocations: 1.389 MB / 318.4 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.3799, allocations: 64 / 318.4 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.3805, allocations: 63.91 kB / 318.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.382, allocations: 469.5 kB / 318.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.3821, allocations: 11.98 kB / 318.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.3842, allocations: 1.343 MB / 320.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3842, allocations: 3.938 kB / 320.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.3873, allocations: 1.018 MB / 321.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.3876, allocations: 152.7 kB / 321.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.3878, allocations: 23.94 kB / 321.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.3883, allocations: 47.95 kB / 321.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.3886, allocations: 103.7 kB / 321.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.051e-05/0.3887, allocations: 23.97 kB / 321.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002367/0.389, allocations: 168.5 kB / 321.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.389, allocations: 0 / 321.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006148/0.3896, allocations: 100 kB / 321.9 MB, free: 10.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003003/0.3899, allocations: 143.2 kB / 322 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.3917, allocations: 0.5023 MB / 322.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.3917, allocations: 0 / 322.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.3928, allocations: 308.2 kB / 322.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.3934, allocations: 40.36 kB / 322.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.3972, allocations: 1.159 MB / 324 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3976, allocations: 0.7842 MB / 324.8 MB, free: 7.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.3979, allocations: 34.97 kB / 324.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.398, allocations: 31.36 kB / 324.9 MB, free: 7.277 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3981, allocations: 0 / 324.9 MB, free: 7.277 MB / 266.7 MB Notification: Performance of Templates: time 0.0198/0.4179, allocations: 7.858 MB / 332.7 MB, free: 15.43 MB / 282.7 MB