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.1_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.427e-05, allocations: 8 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08387/0.08393, allocations: 38.78 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.003386/0.08737, allocations: 1.906 MB / 268.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.0888, allocations: 467.3 kB / 269.3 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.08903, allocations: 4 kB / 269.3 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.0892, allocations: 35.75 kB / 269.3 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.08947, allocations: 83.73 kB / 269.4 MB, free: 13.97 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.08999, allocations: 131.8 kB / 269.5 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.09044, allocations: 224.1 kB / 269.7 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.0906, allocations: 27.89 kB / 269.8 MB, free: 13.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.0909, allocations: 163.6 kB / 269.9 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.09127, allocations: 183.5 kB / 270.1 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.09159, allocations: 115.8 kB / 270.2 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.09169, allocations: 20 kB / 270.2 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.09183, allocations: 67.8 kB / 270.3 MB, free: 13.05 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.875e-05/0.09195, allocations: 24 kB / 270.3 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.0925, allocations: 331.3 kB / 270.7 MB, free: 12.71 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.09252, allocations: 4 kB / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.09253, allocations: 0 / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.09255, allocations: 0 / 270.7 MB, free: 12.7 MB / 234.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.001702/0.09427, allocations: 0.6084 MB / 271.3 MB, free: 12.05 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.09432, allocations: 8.031 kB / 271.3 MB, free: 12.04 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.09445, allocations: 31.62 kB / 271.3 MB, free: 12.01 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.0949, allocations: 263.5 kB / 271.6 MB, free: 11.71 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.09496, allocations: 24.52 kB / 271.6 MB, free: 11.69 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/0.09507, allocations: 27.94 kB / 271.6 MB, free: 11.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.09618, allocations: 364.7 kB / 272 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.09622, allocations: 11.84 kB / 272 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.09629, allocations: 12 kB / 272 MB, free: 11.28 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.09631, allocations: 8 kB / 272 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.09757, allocations: 386 kB / 272.4 MB, free: 10.89 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.1006, allocations: 1.108 MB / 273.5 MB, free: 9.703 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/0.1015, allocations: 295.6 kB / 273.8 MB, free: 9.406 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.821e-05/0.1016, allocations: 8.969 kB / 273.8 MB, free: 9.398 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1016, allocations: 34.5 kB / 273.8 MB, free: 9.355 MB / 234.7 MB Notification: Performance of pre-optimization done (n=39): time 3.287e-06/0.1016, allocations: 0 / 273.8 MB, free: 9.355 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.008218/0.1099, allocations: 2.215 MB / 276 MB, free: 7 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.11, allocations: 67.34 kB / 276.1 MB, free: 6.922 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.1103, allocations: 208.2 kB / 276.3 MB, free: 6.715 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/0.1104, allocations: 37.7 kB / 276.3 MB, free: 6.672 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1106, allocations: 156.7 kB / 276.5 MB, free: 6.512 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.1108, allocations: 154 kB / 276.6 MB, free: 6.359 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.1109, allocations: 12 kB / 276.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.111, allocations: 338.8 kB / 277 MB, free: 6.008 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006685/0.1117, allocations: 197 kB / 277.2 MB, free: 5.816 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.1125, allocations: 280.8 kB / 277.5 MB, free: 5.52 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.113, allocations: 160.8 kB / 277.6 MB, free: 5.363 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1131, allocations: 4 kB / 277.6 MB, free: 5.359 MB / 234.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002825/0.1159, allocations: 0.8289 MB / 278.4 MB, free: 4.516 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.116, allocations: 8 kB / 278.5 MB, free: 4.508 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.116, allocations: 0 / 278.5 MB, free: 4.508 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.117, allocations: 361.7 kB / 278.8 MB, free: 4.148 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.1176, allocations: 79.91 kB / 278.9 MB, free: 4.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.1195, allocations: 1.358 MB / 280.2 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008659/0.1204, allocations: 88.05 kB / 280.3 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.1205, allocations: 27.92 kB / 280.4 MB, free: 2.547 MB / 234.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.0002866/0.1208, allocations: 158.1 kB / 280.5 MB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1209, allocations: 35.58 kB / 280.5 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.121, allocations: 51.3 kB / 280.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.1211, allocations: 4 kB / 280.6 MB, free: 2.297 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1211, allocations: 0 / 280.6 MB, free: 2.297 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.1211, allocations: 3.984 kB / 280.6 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/0.126, allocations: 1.507 MB / 282.1 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.1261, allocations: 3.984 kB / 282.1 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.1266, allocations: 55.92 kB / 282.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000916/0.1275, allocations: 337.6 kB / 282.5 MB, free: 320 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.1276, allocations: 23.92 kB / 282.5 MB, free: 296 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.1294, allocations: 1.308 MB / 283.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.1294, allocations: 11.97 kB / 283.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.1327, allocations: 1.127 MB / 285 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.133, allocations: 148.7 kB / 285.1 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.1331, allocations: 12 kB / 285.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.1337, allocations: 55.95 kB / 285.2 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/0.134, allocations: 95.75 kB / 285.3 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.1341, allocations: 24.09 kB / 285.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002412/0.1344, allocations: 172.5 kB / 285.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1344, allocations: 0 / 285.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005801/0.135, allocations: 96 kB / 285.6 MB, free: 13.11 MB / 250.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.0002793/0.1353, allocations: 143 kB / 285.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.1369, allocations: 0.4953 MB / 286.2 MB, free: 12.47 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.137, allocations: 4 kB / 286.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009797/0.1379, allocations: 279.7 kB / 286.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.1385, allocations: 52.91 kB / 286.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.1422, allocations: 1.154 MB / 287.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.1427, allocations: 0.7842 MB / 288.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.1429, allocations: 34.97 kB / 288.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1431, allocations: 35.38 kB / 288.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1431, allocations: 0 / 288.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of Templates: time 0.0193/0.1624, allocations: 6.986 MB / 295.5 MB, free: 3.082 MB / 250.7 MB