Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.259/2.259, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.659e-05, allocations: 7.984 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 50.4 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6025, allocations: 76.47 MB / 419.1 MB, free: 1.707 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.6029, allocations: 64.88 kB / 419.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005644/0.6085, allocations: 1.359 MB / 420.5 MB, free: 0.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6086, allocations: 0 / 420.5 MB, free: 0.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.6086, allocations: 0 / 420.5 MB, free: 0.5 MB / 330.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.0004412/0.6091, allocations: 352.4 kB / 420.9 MB, free: 120 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6091, allocations: 12.03 kB / 420.9 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.6092, allocations: 37.89 kB / 420.9 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.6092, allocations: 4 kB / 420.9 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.6095, allocations: 185 kB / 421.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.6095, allocations: 3.438 kB / 421.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.6096, allocations: 7.984 kB / 421.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.6098, allocations: 67 kB / 421.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.6098, allocations: 7.375 kB / 421.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.6098, allocations: 4 kB / 421.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.6098, allocations: 3.953 kB / 421.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.61, allocations: 33.92 kB / 421.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.6109, allocations: 382.2 kB / 421.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.611, allocations: 60.62 kB / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.6111, allocations: 16.3 kB / 421.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.6111, allocations: 0 / 421.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6112, allocations: 38.06 kB / 421.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/0.6112, allocations: 7.984 kB / 421.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009381/0.6121, allocations: 0.4913 MB / 422.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6122, allocations: 55.41 kB / 422.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.6123, allocations: 111.5 kB / 422.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.6124, allocations: 25.7 kB / 422.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.6124, allocations: 95.28 kB / 422.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.6125, allocations: 29 kB / 422.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.6125, allocations: 0 / 422.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6126, allocations: 322.4 kB / 422.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.6127, allocations: 18.58 kB / 422.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.401e-05/0.6128, allocations: 62.77 kB / 422.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.6129, allocations: 27.27 kB / 422.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.6129, allocations: 4 kB / 423 MB, free: 13.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002332/0.6132, allocations: 110 kB / 423.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6132, allocations: 8 kB / 423.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6132, allocations: 0 / 423.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.6133, allocations: 4 kB / 423.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.6134, allocations: 23.92 kB / 423.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.6135, allocations: 4 kB / 423.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.6135, allocations: 3 kB / 423.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.6136, allocations: 4.469 kB / 423.1 MB, free: 13.78 MB / 346.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.692e-05/0.6137, allocations: 120.1 kB / 423.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.6137, allocations: 7.906 kB / 423.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.6138, allocations: 11.5 kB / 423.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.6138, allocations: 4 kB / 423.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6138, allocations: 3.938 kB / 423.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6138, allocations: 0 / 423.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.6145, allocations: 407.8 kB / 423.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6146, allocations: 4 kB / 423.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.6148, allocations: 19.98 kB / 423.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.6148, allocations: 0 / 423.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.6148, allocations: 11.81 kB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.6148, allocations: 0 / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.6148, allocations: 7.938 kB / 423.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.6152, allocations: 289.6 kB / 424 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.6153, allocations: 81.33 kB / 424.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.6153, allocations: 6.875 kB / 424.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.6154, allocations: 0 / 424.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.6155, allocations: 15.09 kB / 424.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.6155, allocations: 4 kB / 424.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.808e-05/0.6156, allocations: 87.22 kB / 424.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6156, allocations: 4.062 kB / 424.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.6159, allocations: 22.95 kB / 424.2 MB, free: 12.61 MB / 346.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.0007762/0.6167, allocations: 1.165 MB / 425.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.6169, allocations: 52.09 kB / 425.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.617, allocations: 8.188 kB / 425.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.209e-05/0.617, allocations: 26.56 kB / 425.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.6173, allocations: 19.17 kB / 425.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.6182, allocations: 291.7 kB / 425.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.6185, allocations: 0.6965 MB / 426.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.6186, allocations: 8.422 kB / 426.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.091e-05/0.6187, allocations: 22.19 kB / 426.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6187, allocations: 0 / 426.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.6389, allocations: 1.599 MB / 428.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.6393, allocations: 162.2 kB / 428.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.248, allocations: 3.938 kB / 428.2 MB, free: 8.512 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat