Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.807e-05, allocations: 0 / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3765, allocations: 54.86 MB / 362.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003198/0.3797, allocations: 1.751 MB / 364.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3816, allocations: 0.6206 MB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.3819, allocations: 9.438 kB / 365.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.855e-05/0.382, allocations: 26.41 kB / 365.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.3823, allocations: 75.94 kB / 365.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.3827, allocations: 71.78 kB / 365.4 MB, free: 10 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.383, allocations: 133.5 kB / 365.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3832, allocations: 30.14 kB / 365.5 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3834, allocations: 81.64 kB / 365.6 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3836, allocations: 77.94 kB / 365.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.185e-05/0.3836, allocations: 8.281 kB / 365.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.3837, allocations: 7.812 kB / 365.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.3837, allocations: 33.34 kB / 365.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.336e-05/0.3838, allocations: 23 kB / 365.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.3841, allocations: 179.1 kB / 365.9 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3841, allocations: 1.375 kB / 366 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3842, allocations: 7.875 kB / 366 MB, free: 9.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.3842, allocations: 0 / 366 MB, free: 9.637 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001084/0.3853, allocations: 482 kB / 366.4 MB, free: 9.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3853, allocations: 12.12 kB / 366.4 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.3855, allocations: 25.59 kB / 366.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.3859, allocations: 239.4 kB / 366.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.3859, allocations: 17.34 kB / 366.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/0.386, allocations: 17.97 kB / 366.7 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.3867, allocations: 218.4 kB / 366.9 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.3868, allocations: 9.828 kB / 367 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.3868, allocations: 10.31 kB / 367 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3868, allocations: 5.156 kB / 367 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.3873, allocations: 134 kB / 367.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.3894, allocations: 1.004 MB / 368.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.39, allocations: 223 kB / 368.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.39, allocations: 7.375 kB / 368.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.3901, allocations: 40.5 kB / 368.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 3.296e-06/0.3901, allocations: 0 / 368.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.002147/0.3922, allocations: 1.01 MB / 369.4 MB, free: 6.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.3924, allocations: 132.9 kB / 369.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3926, allocations: 170.8 kB / 369.7 MB, free: 6.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.3927, allocations: 30.92 kB / 369.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.3929, allocations: 210 kB / 369.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.393, allocations: 107.2 kB / 370 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.3931, allocations: 10.28 kB / 370 MB, free: 5.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3932, allocations: 333.8 kB / 370.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.3935, allocations: 63.34 kB / 370.4 MB, free: 5.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.3938, allocations: 187.3 kB / 370.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.3941, allocations: 94.8 kB / 370.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.3941, allocations: 4.984 kB / 370.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007677/0.3949, allocations: 294.9 kB / 371 MB, free: 5.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.3949, allocations: 13.2 kB / 371 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.395, allocations: 4 kB / 371 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.395, allocations: 8.297 kB / 371 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.3956, allocations: 91.84 kB / 371.1 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.3956, allocations: 4 kB / 371.1 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.3959, allocations: 12 kB / 371.1 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.3959, allocations: 16 kB / 371.1 MB, free: 5.055 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.3961, allocations: 145.6 kB / 371.3 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3963, allocations: 31.61 kB / 371.3 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.3966, allocations: 107 kB / 371.4 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3966, allocations: 4 kB / 371.4 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3966, allocations: 4 kB / 371.4 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3967, allocations: 7.984 kB / 371.4 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.3984, allocations: 0.775 MB / 372.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.3984, allocations: 4 kB / 372.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.3991, allocations: 63.91 kB / 372.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.3991, allocations: 4 kB / 372.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.3991, allocations: 12.12 kB / 372.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.3992, allocations: 4 kB / 372.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.3992, allocations: 4 kB / 372.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.4002, allocations: 0.7251 MB / 373 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4004, allocations: 104.8 kB / 373.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.4005, allocations: 12 kB / 373.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.4008, allocations: 11.98 kB / 373.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.4009, allocations: 19.92 kB / 373.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.4009, allocations: 12 kB / 373.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.4011, allocations: 140.2 kB / 373.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4011, allocations: 0 / 373.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006402/0.4018, allocations: 56 kB / 373.4 MB, free: 2.609 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001758/0.402, allocations: 115.1 kB / 373.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005684/0.4025, allocations: 199.9 kB / 373.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4026, allocations: 0 / 373.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.4028, allocations: 88.59 kB / 373.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4038, allocations: 60.31 kB / 373.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.4063, allocations: 1.098 MB / 374.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.4068, allocations: 0.756 MB / 375.7 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.407, allocations: 23.44 kB / 375.7 MB, free: 196 kB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.407, allocations: 96 / 375.7 MB, free: 196 kB / 298.7 MB Notification: Performance of Templates: time 0.007472/0.4145, allocations: 2.768 MB / 378.5 MB, free: 13.43 MB / 314.7 MB