Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.434/2.434, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.568e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 47.56 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5762, allocations: 75.19 MB / 392.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5765, allocations: 71.89 kB / 392.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005511/0.582, allocations: 1.33 MB / 393.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.582, allocations: 0 / 393.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.5821, allocations: 0 / 393.6 MB, free: 11.25 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004274/0.5825, allocations: 353.8 kB / 393.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5826, allocations: 8.031 kB / 394 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.5826, allocations: 46.17 kB / 394 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.5827, allocations: 7.906 kB / 394 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.5829, allocations: 174.6 kB / 394.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5829, allocations: 7.438 kB / 394.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.583, allocations: 11.94 kB / 394.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.5831, allocations: 64.38 kB / 394.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.5832, allocations: 3.938 kB / 394.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5832, allocations: 3.438 kB / 394.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.5832, allocations: 8 kB / 394.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.5833, allocations: 37.55 kB / 394.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.5842, allocations: 372.6 kB / 394.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.5844, allocations: 52.7 kB / 394.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.5845, allocations: 20.36 kB / 394.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.5845, allocations: 4 kB / 394.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.5846, allocations: 34.16 kB / 394.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.816e-06/0.5846, allocations: 2.188 kB / 394.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009538/0.5855, allocations: 0.4945 MB / 395.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.5856, allocations: 59.36 kB / 395.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.5858, allocations: 111.6 kB / 395.4 MB, free: 9.242 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.5858, allocations: 29.7 kB / 395.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.5859, allocations: 89.61 kB / 395.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.5859, allocations: 30.73 kB / 395.6 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.5859, allocations: 3.5 kB / 395.6 MB, free: 9.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5861, allocations: 322.5 kB / 395.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.5861, allocations: 15.81 kB / 395.9 MB, free: 8.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.5862, allocations: 63.47 kB / 396 MB, free: 8.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.688e-05/0.5863, allocations: 31.11 kB / 396 MB, free: 8.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5864, allocations: 480 / 396 MB, free: 8.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002338/0.5866, allocations: 103 kB / 396.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5866, allocations: 4 kB / 396.1 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5867, allocations: 4 kB / 396.1 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5867, allocations: 0 / 396.1 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.5869, allocations: 35.44 kB / 396.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5869, allocations: 0 / 396.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.587, allocations: 8.719 kB / 396.2 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.587, allocations: 4 kB / 396.2 MB, free: 8.523 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.614e-05/0.5871, allocations: 104.5 kB / 396.3 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.5871, allocations: 15.95 kB / 396.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.5872, allocations: 19.36 kB / 396.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.5872, allocations: 0 / 396.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5872, allocations: 0 / 396.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5872, allocations: 7.875 kB / 396.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007164/0.588, allocations: 413.5 kB / 396.7 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.588, allocations: 0 / 396.7 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.5882, allocations: 16 kB / 396.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.5882, allocations: 4 kB / 396.7 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.5882, allocations: 11.94 kB / 396.8 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.5882, allocations: 4 kB / 396.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5882, allocations: 0 / 396.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.5886, allocations: 297.6 kB / 397.1 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.5887, allocations: 81.09 kB / 397.1 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.5887, allocations: 7.312 kB / 397.1 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.5889, allocations: 0 / 397.1 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.5889, allocations: 7.953 kB / 397.1 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.5889, allocations: 7.984 kB / 397.2 MB, free: 7.465 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.295e-05/0.589, allocations: 93.66 kB / 397.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.589, allocations: 0 / 397.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.5894, allocations: 15.69 kB / 397.3 MB, free: 7.367 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000845/0.5902, allocations: 1.172 MB / 398.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.5905, allocations: 52.06 kB / 398.5 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5905, allocations: 0 / 398.5 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.5906, allocations: 27.86 kB / 398.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.5909, allocations: 21.28 kB / 398.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.5919, allocations: 304.6 kB / 398.8 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.5923, allocations: 0.6926 MB / 399.5 MB, free: 5.031 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.5923, allocations: 8.422 kB / 399.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.5924, allocations: 21.12 kB / 399.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of SimCode: time 1.382e-06/0.5924, allocations: 0 / 399.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.617, allocations: 1.598 MB / 401.1 MB, free: 3.477 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/0.6174, allocations: 157.7 kB / 401.3 MB, free: 3.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.057, allocations: 0 / 401.3 MB, free: 3.25 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat