Running command: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.824e-05, allocations: 6.031 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09306, allocations: 50.41 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4712, allocations: 86.22 MB / 429.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4715, allocations: 76.47 kB / 429.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08806/0.5596, allocations: 22.09 MB / 451.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.366e-06/0.5596, allocations: 0 / 451.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001062/0.5597, allocations: 35.98 kB / 451.5 MB, free: 5.559 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002588/0.5623, allocations: 1.2 MB / 452.7 MB, free: 4.383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.5624, allocations: 12.03 kB / 452.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/0.5627, allocations: 146.2 kB / 452.8 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.5644, allocations: 0.7333 MB / 453.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.5645, allocations: 74.31 kB / 453.6 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.5648, allocations: 102.9 kB / 453.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.5668, allocations: 0.8675 MB / 454.6 MB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.016e-05/0.5669, allocations: 15.02 kB / 454.6 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.567, allocations: 41.12 kB / 454.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.5671, allocations: 24 kB / 454.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.5687, allocations: 0.5897 MB / 455.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008551/0.5772, allocations: 3.291 MB / 458.6 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.5801, allocations: 0.5901 MB / 459.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.5813, allocations: 291.2 kB / 459.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.547e-05/0.5814, allocations: 12.77 kB / 459.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.5828, allocations: 324.6 kB / 459.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 7.125e-06/0.5828, allocations: 0 / 459.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.009568/0.5924, allocations: 2.773 MB / 462.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.5925, allocations: 64.41 kB / 462.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.5942, allocations: 0.8173 MB / 463.4 MB, free: 10.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-05/0.5943, allocations: 45.69 kB / 463.5 MB, free: 9.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005964/0.5949, allocations: 0.5157 MB / 464 MB, free: 9.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.5953, allocations: 346.9 kB / 464.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.5954, allocations: 16 kB / 464.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.5956, allocations: 349.9 kB / 464.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.5963, allocations: 254 kB / 464.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/0.5971, allocations: 407.3 kB / 465.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008182/0.598, allocations: 330 kB / 465.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.977e-06/0.598, allocations: 0 / 465.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002539/0.6005, allocations: 0.9844 MB / 466.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.6006, allocations: 8 kB / 466.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.6006, allocations: 4 kB / 466.7 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.6012, allocations: 154 kB / 466.8 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.6024, allocations: 207.7 kB / 467 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/0.6074, allocations: 3.595 MB / 470.6 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.6082, allocations: 28 kB / 470.6 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6084, allocations: 44.05 kB / 470.7 MB, free: 2.434 MB / 378.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: 5 ($whenCondition1,$PRE.timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEvent,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * 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: 2 {(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.6086, allocations: 156.8 kB / 470.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.6089, allocations: 114.6 kB / 470.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.6113, allocations: 0.944 MB / 471.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.6114, allocations: 15.95 kB / 471.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.764e-06/0.6114, allocations: 4 kB / 471.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.6114, allocations: 3.984 kB / 471.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005902/0.6173, allocations: 2.54 MB / 474.4 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.276e-06/0.6174, allocations: 0 / 474.4 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.6186, allocations: 187.7 kB / 474.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/0.6191, allocations: 126 kB / 474.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.6192, allocations: 20 kB / 474.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/0.6235, allocations: 3.276 MB / 478 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.76e-06/0.6236, allocations: 11.91 kB / 478.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.6269, allocations: 1.545 MB / 479.6 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/0.6275, allocations: 267.6 kB / 479.9 MB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.6277, allocations: 23.98 kB / 479.9 MB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.6283, allocations: 28 kB / 479.9 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6285, allocations: 80.66 kB / 480 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.6286, allocations: 35.98 kB / 480 MB, free: 8.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001242/0.6299, allocations: 0.6436 MB / 480.7 MB, free: 7.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.6299, allocations: 0 / 480.7 MB, free: 7.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001323/0.6312, allocations: 267.9 kB / 480.9 MB, free: 7.602 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (vehicle.mass.s,vehicle.mass.v,vehicle.windSpeed.s,vehicle.windSpeed.v,vehicle1.mass.s,vehicle1.mass.v,vehicle1.windSpeed.s,vehicle1.windSpeed.v,trailer.windSpeed.s,trailer.windSpeed.v) * Number of discrete variables: 3 ($whenCondition1,timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 2 (timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 2 {(1,100.0%) 3,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001525/0.6328, allocations: 450.1 kB / 481.4 MB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.6351, allocations: 0.9712 MB / 482.3 MB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.962e-06/0.6351, allocations: 0 / 482.3 MB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.6365, allocations: 0.6583 MB / 483 MB, free: 5.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.6375, allocations: 150.5 kB / 483.2 MB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.6423, allocations: 2.161 MB / 485.3 MB, free: 3.242 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.6434, allocations: 1.135 MB / 486.4 MB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006698/0.6441, allocations: 127.3 kB / 486.6 MB, free: 1.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.6444, allocations: 79.41 kB / 486.6 MB, free: 1.867 MB / 394.7 MB Notification: Performance of SimCode: time 1.97e-06/0.6444, allocations: 0 / 486.6 MB, free: 1.867 MB / 394.7 MB Notification: Performance of Templates: time 0.03191/0.6763, allocations: 10.43 MB / 497.1 MB, free: 7.48 MB / 410.7 MB