Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.207/2.207, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.749e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3313, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.496, allocations: 70.31 MB / 364.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4963, allocations: 63.97 kB / 364.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005408/0.5018, allocations: 1.307 MB / 365.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5018, allocations: 3.938 kB / 365.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5018, allocations: 0 / 365.9 MB, free: 10.16 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.0004785/0.5023, allocations: 354.3 kB / 366.3 MB, free: 9.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5024, allocations: 8.031 kB / 366.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.5024, allocations: 4 kB / 366.3 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.5027, allocations: 178.9 kB / 366.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5027, allocations: 4 kB / 366.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.5027, allocations: 8 kB / 366.5 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001348/0.5029, allocations: 31.98 kB / 366.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.5031, allocations: 61.62 kB / 366.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.5031, allocations: 0 / 366.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5031, allocations: 0 / 366.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5031, allocations: 0 / 366.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/0.504, allocations: 344.2 kB / 366.9 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.5041, allocations: 58.5 kB / 366.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.5042, allocations: 16.86 kB / 367 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.5042, allocations: 0 / 367 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5043, allocations: 38.5 kB / 367 MB, free: 8.922 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.5043, allocations: 0 / 367 MB, free: 8.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009043/0.5052, allocations: 493.7 kB / 367.5 MB, free: 8.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.5052, allocations: 55.39 kB / 367.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.5053, allocations: 97 kB / 367.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.5054, allocations: 25.7 kB / 367.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.5055, allocations: 100 kB / 367.7 MB, free: 8.047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.5055, allocations: 27.56 kB / 367.8 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5056, allocations: 0 / 367.8 MB, free: 8.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5057, allocations: 322.8 kB / 368.1 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.5058, allocations: 16 kB / 368.1 MB, free: 7.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.5059, allocations: 56.66 kB / 368.2 MB, free: 7.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.5059, allocations: 23.92 kB / 368.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.506, allocations: 8 kB / 368.2 MB, free: 7.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002299/0.5062, allocations: 93.5 kB / 368.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5062, allocations: 8 kB / 368.3 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5062, allocations: 96 / 368.3 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.5063, allocations: 7.938 kB / 368.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.5065, allocations: 23.92 kB / 368.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5065, allocations: 7.953 kB / 368.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.5066, allocations: 4 kB / 368.3 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.5066, allocations: 4 kB / 368.3 MB, free: 7.426 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.967e-05/0.5067, allocations: 112.9 kB / 368.4 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001628/0.5069, allocations: 69.61 kB / 368.5 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.5069, allocations: 11.91 kB / 368.5 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.507, allocations: 4.625 kB / 368.5 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.507, allocations: 7.953 kB / 368.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.507, allocations: 0 / 368.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.507, allocations: 0 / 368.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.5077, allocations: 371.2 kB / 368.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.5077, allocations: 7.953 kB / 368.9 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.5079, allocations: 19.92 kB / 368.9 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.5079, allocations: 4 kB / 368.9 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.5079, allocations: 4 kB / 368.9 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.508, allocations: 0 / 368.9 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.508, allocations: 0 / 368.9 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.5083, allocations: 292.3 kB / 369.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.5084, allocations: 77.11 kB / 369.3 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.5084, allocations: 7.953 kB / 369.3 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.5086, allocations: 0 / 369.3 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.5087, allocations: 11.92 kB / 369.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.5087, allocations: 4 kB / 369.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.5088, allocations: 87.34 kB / 369.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5088, allocations: 0 / 369.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004086/0.5092, allocations: 16 kB / 369.4 MB, free: 6.188 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.0009129/0.5101, allocations: 1.158 MB / 370.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.5103, allocations: 56.11 kB / 370.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5104, allocations: 4 kB / 370.6 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.5104, allocations: 23.94 kB / 370.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.5108, allocations: 7.953 kB / 370.7 MB, free: 4.879 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/0.5117, allocations: 288.8 kB / 371 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.5121, allocations: 0.7001 MB / 371.7 MB, free: 3.824 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.5122, allocations: 8.672 kB / 371.7 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.5123, allocations: 23.42 kB / 371.7 MB, free: 3.793 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5123, allocations: 0 / 371.7 MB, free: 3.793 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.5493, allocations: 1.232 MB / 372.9 MB, free: 2.566 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/0.5496, allocations: 136.3 kB / 373 MB, free: 2.379 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.876, allocations: 4 kB / 373.1 MB, free: 2.375 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat