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_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadModel(Modelica): time 2.112/2.112, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.779e-05, allocations: 6.812 kB / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08926, allocations: 50.41 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.485, allocations: 86.22 MB / 428.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.4854, allocations: 70.66 kB / 428.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09151/0.5769, allocations: 22.08 MB / 450.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.577, allocations: 0 / 450.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001563/0.5771, allocations: 35.98 kB / 451 MB, free: 5.574 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.004595/0.5817, allocations: 1.204 MB / 452.2 MB, free: 4.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.5818, allocations: 12.02 kB / 452.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006488/0.5825, allocations: 142.2 kB / 452.3 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.5854, allocations: 0.731 MB / 453 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.5855, allocations: 73.88 kB / 453.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003832/0.5859, allocations: 104 kB / 453.2 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.5895, allocations: 0.8713 MB / 454.1 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.562e-05/0.5896, allocations: 7.906 kB / 454.1 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.5898, allocations: 44.11 kB / 454.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.5899, allocations: 27.98 kB / 454.2 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.5928, allocations: 0.5919 MB / 454.8 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.6079, allocations: 3.295 MB / 458.1 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.6097, allocations: 0.5863 MB / 458.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/0.6105, allocations: 287.2 kB / 458.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.204e-05/0.6106, allocations: 12.77 kB / 458.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008605/0.6115, allocations: 328.6 kB / 459.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 7.798e-06/0.6115, allocations: 0 / 459.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.007693/0.6192, allocations: 2.773 MB / 462 MB, free: 10.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.6193, allocations: 64.41 kB / 462.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.621, allocations: 0.8134 MB / 462.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.6212, allocations: 45.69 kB / 462.9 MB, free: 9.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/0.6218, allocations: 0.5196 MB / 463.5 MB, free: 9.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.6222, allocations: 346.9 kB / 463.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/0.6222, allocations: 20 kB / 463.8 MB, free: 9.098 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.6225, allocations: 345.9 kB / 464.2 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.6232, allocations: 258 kB / 464.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008276/0.624, allocations: 403.3 kB / 464.8 MB, free: 8.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.6248, allocations: 322 kB / 465.1 MB, free: 7.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.578e-06/0.6249, allocations: 4 kB / 465.1 MB, free: 7.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002487/0.6274, allocations: 0.9886 MB / 466.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.6274, allocations: 7.625 kB / 466.1 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.6275, allocations: 8 kB / 466.1 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.6281, allocations: 145.6 kB / 466.3 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.6293, allocations: 211.7 kB / 466.5 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005052/0.6344, allocations: 3.607 MB / 470.1 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/0.6352, allocations: 27.94 kB / 470.1 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.6353, allocations: 39.98 kB / 470.2 MB, free: 2.43 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.0002773/0.6356, allocations: 156.7 kB / 470.3 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.6358, allocations: 110.7 kB / 470.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.6383, allocations: 0.9401 MB / 471.4 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.6384, allocations: 15.94 kB / 471.4 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-06/0.6384, allocations: 8 kB / 471.4 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.6384, allocations: 3.984 kB / 471.4 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/0.6442, allocations: 2.54 MB / 473.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.6442, allocations: 4 kB / 473.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.6454, allocations: 187.7 kB / 474.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005112/0.6459, allocations: 121.6 kB / 474.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/0.646, allocations: 20 kB / 474.2 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/0.6503, allocations: 3.284 MB / 477.5 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.6503, allocations: 8.219 kB / 477.5 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/0.6536, allocations: 1.545 MB / 479.1 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006191/0.6543, allocations: 267.7 kB / 479.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.6545, allocations: 31.92 kB / 479.4 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.6551, allocations: 24 kB / 479.4 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.6553, allocations: 80.62 kB / 479.5 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6554, allocations: 35.98 kB / 479.5 MB, free: 8.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001265/0.6567, allocations: 0.6358 MB / 480.2 MB, free: 7.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.6567, allocations: 0 / 480.2 MB, free: 7.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001343/0.6581, allocations: 275.9 kB / 480.4 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.6596, allocations: 441.8 kB / 480.9 MB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.6619, allocations: 0.9751 MB / 481.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.74e-06/0.6619, allocations: 0 / 481.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.6633, allocations: 0.6552 MB / 482.5 MB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.665, allocations: 154.2 kB / 482.6 MB, free: 5.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/0.6729, allocations: 2.169 MB / 484.8 MB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.6746, allocations: 1.132 MB / 485.9 MB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001157/0.6758, allocations: 127.4 kB / 486.1 MB, free: 1.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.6763, allocations: 79.41 kB / 486.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of SimCode: time 2.217e-06/0.6763, allocations: 0 / 486.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of Templates: time 0.03638/0.7127, allocations: 10.44 MB / 496.6 MB, free: 7.473 MB / 410.7 MB