Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.258/2.258, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.458e-05/4.485e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 50.4 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.6106, allocations: 86.23 MB / 428.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.611, allocations: 82.62 kB / 429 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09986/0.7109, allocations: 22.08 MB / 451 MB, free: 5.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.958e-06/0.711, allocations: 0 / 451 MB, free: 5.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002368/0.7112, allocations: 31.98 kB / 451.1 MB, free: 5.23 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.005101/0.7164, allocations: 1.208 MB / 452.3 MB, free: 4.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/0.7165, allocations: 12.03 kB / 452.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005082/0.717, allocations: 150.2 kB / 452.4 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/0.7176, allocations: 143.2 kB / 452.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.7206, allocations: 0.7469 MB / 453.3 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.7208, allocations: 73.94 kB / 453.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/0.7213, allocations: 100.8 kB / 453.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.7251, allocations: 0.8686 MB / 454.4 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.7252, allocations: 15.33 kB / 454.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.7254, allocations: 39.31 kB / 454.4 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.7255, allocations: 24 kB / 454.4 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.7286, allocations: 0.5964 MB / 455 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.7419, allocations: 3.29 MB / 458.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/0.745, allocations: 0.5901 MB / 458.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7462, allocations: 283.2 kB / 459.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/0.7463, allocations: 12.77 kB / 459.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008876/0.7472, allocations: 328.6 kB / 459.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 3.777e-06/0.7472, allocations: 0 / 459.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.00845/0.7557, allocations: 2.769 MB / 462.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.7558, allocations: 60.41 kB / 462.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.7578, allocations: 0.8212 MB / 463.2 MB, free: 9.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.758, allocations: 45.7 kB / 463.2 MB, free: 9.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006541/0.7587, allocations: 0.5157 MB / 463.7 MB, free: 9.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/0.7593, allocations: 343 kB / 464.1 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.7594, allocations: 20 kB / 464.1 MB, free: 8.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7595, allocations: 345.9 kB / 464.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008123/0.7604, allocations: 258 kB / 464.7 MB, free: 8.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009321/0.7613, allocations: 407.3 kB / 465.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.7623, allocations: 325.9 kB / 465.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7623, allocations: 4 kB / 465.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002917/0.7652, allocations: 0.9845 MB / 466.4 MB, free: 6.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.7653, allocations: 11.59 kB / 466.4 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.7653, allocations: 4 kB / 466.4 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.7661, allocations: 145.6 kB / 466.5 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.7677, allocations: 215.9 kB / 466.7 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/0.773, allocations: 3.599 MB / 470.3 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.7745, allocations: 32 kB / 470.4 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/0.7748, allocations: 35.98 kB / 470.4 MB, free: 2.129 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.0004872/0.7754, allocations: 164.8 kB / 470.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/0.7757, allocations: 114.5 kB / 470.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.7787, allocations: 0.9362 MB / 471.6 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.7787, allocations: 11.95 kB / 471.6 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.7788, allocations: 4 kB / 471.6 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.7788, allocations: 3.984 kB / 471.6 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006554/0.7853, allocations: 2.54 MB / 474.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7854, allocations: 4 kB / 474.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.7871, allocations: 183.8 kB / 474.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000638/0.7877, allocations: 126 kB / 474.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.7878, allocations: 31.98 kB / 474.5 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/0.792, allocations: 3.276 MB / 477.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.7921, allocations: 0 / 477.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/0.7959, allocations: 1.553 MB / 479.3 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/0.7967, allocations: 267.7 kB / 479.6 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.797, allocations: 20 kB / 479.6 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.7978, allocations: 27.98 kB / 479.7 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.7981, allocations: 80.64 kB / 479.7 MB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.541e-05/0.7982, allocations: 31.98 kB / 479.8 MB, free: 8.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001403/0.7996, allocations: 0.6436 MB / 480.4 MB, free: 7.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.7996, allocations: 0 / 480.4 MB, free: 7.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00165/0.8013, allocations: 272.1 kB / 480.7 MB, free: 7.305 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.005466/0.8068, allocations: 3.263 MB / 483.9 MB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.8097, allocations: 0.9705 MB / 484.9 MB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.8097, allocations: 0.875 kB / 484.9 MB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.8114, allocations: 0.659 MB / 485.6 MB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.8129, allocations: 154.2 kB / 485.7 MB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/0.8196, allocations: 2.381 MB / 488.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/0.8206, allocations: 1.135 MB / 489.2 MB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008537/0.8215, allocations: 123.4 kB / 489.4 MB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009402/0.8225, allocations: 447.3 kB / 489.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.8225, allocations: 0 / 489.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08563/0.9081, allocations: 20.05 MB / 0.4979 GB, free: 10.14 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/0.9086, allocations: 224.5 kB / 0.4981 GB, free: 9.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.75/4.659, allocations: 0 / 0.4981 GB, free: 9.91 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat does not exist to compare? outputFormat=mat