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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.853e-05, allocations: 8 kB / 348.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3396, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.5043, allocations: 90.33 MB / 0.4889 GB, free: 288 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.5046, allocations: 63.97 kB / 0.4889 GB, free: 224 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03083/0.5355, allocations: 6.64 MB / 0.4954 GB, free: 9.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.5355, allocations: 0 / 0.4954 GB, free: 9.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.5356, allocations: 8 kB / 0.4954 GB, free: 9.543 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009813/0.5366, allocations: 0.5299 MB / 0.4959 GB, free: 8.969 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5366, allocations: 12.03 kB / 0.4959 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.5369, allocations: 51.59 kB / 0.496 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.5373, allocations: 250.5 kB / 0.4962 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.5373, allocations: 28.78 kB / 0.4963 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.5374, allocations: 35.86 kB / 0.4963 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.5381, allocations: 290.8 kB / 0.4966 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.5381, allocations: 4 kB / 0.4966 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.5382, allocations: 12 kB / 0.4966 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.5382, allocations: 8 kB / 0.4966 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.5387, allocations: 188.2 kB / 0.4968 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.5412, allocations: 1.293 MB / 0.498 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.5419, allocations: 309.3 kB / 0.4983 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.5422, allocations: 108.4 kB / 0.4984 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.5422, allocations: 12.41 kB / 0.4985 GB, free: 6.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.5423, allocations: 38.56 kB / 0.4985 GB, free: 6.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=36): time 3.448e-06/0.5423, allocations: 0 / 0.4985 GB, free: 6.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002337/0.5446, allocations: 1.349 MB / 0.4998 GB, free: 4.582 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.5448, allocations: 162.2 kB / 0.5 GB, free: 4.387 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.545, allocations: 193 kB / 0.5001 GB, free: 4.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.5451, allocations: 33.7 kB / 0.5002 GB, free: 4.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.5453, allocations: 176.2 kB / 0.5003 GB, free: 3.973 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.5454, allocations: 157.7 kB / 0.5005 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.5455, allocations: 12 kB / 0.5005 GB, free: 3.805 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5457, allocations: 334.8 kB / 0.5008 GB, free: 3.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.5459, allocations: 93.12 kB / 0.5009 GB, free: 3.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.5463, allocations: 231 kB / 0.5011 GB, free: 3.094 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.5466, allocations: 124.1 kB / 0.5013 GB, free: 2.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.485e-06/0.5467, allocations: 7.938 kB / 0.5013 GB, free: 2.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000907/0.5476, allocations: 393.3 kB / 0.5016 GB, free: 2.574 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5476, allocations: 7.953 kB / 0.5016 GB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.5476, allocations: 4 kB / 0.5016 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.5477, allocations: 8 kB / 0.5017 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.5483, allocations: 119.8 kB / 0.5018 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/0.5483, allocations: 8.766 kB / 0.5018 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.5486, allocations: 20 kB / 0.5018 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.5487, allocations: 20 kB / 0.5018 GB, free: 2.391 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001517/0.5488, allocations: 136.8 kB / 0.5019 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.549, allocations: 31.62 kB / 0.502 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.5494, allocations: 119.4 kB / 0.5021 GB, free: 2.094 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5494, allocations: 8 kB / 0.5021 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.5494, allocations: 0 / 0.5021 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5494, allocations: 7.984 kB / 0.5021 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.5516, allocations: 1.026 MB / 0.5031 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.5516, allocations: 8.125 kB / 0.5031 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.5523, allocations: 91.89 kB / 0.5032 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.5523, allocations: 8 kB / 0.5032 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.5524, allocations: 15.98 kB / 0.5032 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.5524, allocations: 7.938 kB / 0.5032 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.03e-06/0.5524, allocations: 4.25 kB / 0.5032 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.5537, allocations: 0.9552 MB / 0.5042 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.5538, allocations: 108.8 kB / 0.5043 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.5539, allocations: 15.94 kB / 0.5043 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.5544, allocations: 8 kB / 0.5043 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.5545, allocations: 43.84 kB / 0.5043 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.5545, allocations: 16 kB / 0.5044 GB, free: 15.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.5547, allocations: 153.6 kB / 0.5045 GB, free: 15.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.5547, allocations: 0 / 0.5045 GB, free: 15.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007828/0.5555, allocations: 83.94 kB / 0.5046 GB, free: 15.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.0001692/0.5557, allocations: 121.9 kB / 0.5047 GB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006307/0.5564, allocations: 259.7 kB / 0.5049 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.428e-06/0.5564, allocations: 7.938 kB / 0.505 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.5567, allocations: 125 kB / 0.5051 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.5574, allocations: 67.02 kB / 0.5051 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.5598, allocations: 1.127 MB / 0.5062 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.5604, allocations: 0.7884 MB / 0.507 GB, free: 12.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.5607, allocations: 42.95 kB / 0.507 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.5608, allocations: 31.42 kB / 0.5071 GB, free: 12.67 MB / 442.7 MB Notification: Performance of SimCode: time 1.721e-06/0.5608, allocations: 0 / 0.5071 GB, free: 12.67 MB / 442.7 MB Notification: Performance of Templates: time 0.009526/0.5703, allocations: 2.826 MB / 0.5098 GB, free: 9.875 MB / 442.7 MB