Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.144e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3174, allocations: 44.5 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.4914, allocations: 70.31 MB / 364.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4917, allocations: 67.97 kB / 364.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005229/0.497, allocations: 1.306 MB / 365.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.497, allocations: 3.938 kB / 365.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.4971, allocations: 0 / 365.9 MB, free: 10.21 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.0004143/0.4975, allocations: 350.3 kB / 366.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.024e-05/0.4976, allocations: 8.031 kB / 366.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.4976, allocations: 4 kB / 366.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.4978, allocations: 182.9 kB / 366.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4979, allocations: 8 kB / 366.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.4979, allocations: 4 kB / 366.4 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001345/0.498, allocations: 27.98 kB / 366.5 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.4982, allocations: 61.62 kB / 366.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4982, allocations: 0 / 366.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4982, allocations: 0 / 366.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4983, allocations: 0 / 366.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008039/0.4991, allocations: 356.2 kB / 366.9 MB, free: 9.098 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4992, allocations: 46.52 kB / 366.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.4993, allocations: 16.86 kB / 366.9 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.4993, allocations: 7.922 kB / 366.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4994, allocations: 38.56 kB / 367 MB, free: 8.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.4994, allocations: 0 / 367 MB, free: 8.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000835/0.5002, allocations: 485.8 kB / 367.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.5003, allocations: 51.41 kB / 367.5 MB, free: 8.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.5004, allocations: 105 kB / 367.6 MB, free: 8.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.5004, allocations: 25.7 kB / 367.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.5005, allocations: 170.4 kB / 367.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.5005, allocations: 35.55 kB / 367.8 MB, free: 7.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.5005, allocations: 0 / 367.8 MB, free: 7.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5007, allocations: 314.8 kB / 368.1 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.5007, allocations: 12 kB / 368.1 MB, free: 7.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.5008, allocations: 53.16 kB / 368.2 MB, free: 7.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/0.5009, allocations: 23.98 kB / 368.2 MB, free: 7.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5009, allocations: 7.938 kB / 368.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002104/0.5011, allocations: 93.52 kB / 368.3 MB, free: 7.469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5012, allocations: 4 kB / 368.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5012, allocations: 8.078 kB / 368.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5012, allocations: 3.938 kB / 368.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.5014, allocations: 23.94 kB / 368.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5014, allocations: 7.953 kB / 368.4 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/0.5015, allocations: 8.078 kB / 368.4 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.5015, allocations: 4 kB / 368.4 MB, free: 7.41 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.376e-05/0.5016, allocations: 104.8 kB / 368.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001573/0.5018, allocations: 73.62 kB / 368.6 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.5019, allocations: 7.906 kB / 368.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.5019, allocations: 8.625 kB / 368.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5019, allocations: 3.953 kB / 368.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5019, allocations: 0 / 368.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.502, allocations: 4 kB / 368.6 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.5026, allocations: 371.2 kB / 368.9 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5026, allocations: 3.953 kB / 368.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.5028, allocations: 23.92 kB / 369 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.5029, allocations: 4 kB / 369 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.5029, allocations: 4.156 kB / 369 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.5029, allocations: 4 kB / 369 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5029, allocations: 3.938 kB / 369 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.5032, allocations: 276.2 kB / 369.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.5033, allocations: 85.14 kB / 369.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.5033, allocations: 7.953 kB / 369.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.5035, allocations: 0 / 369.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.5035, allocations: 16.17 kB / 369.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.5035, allocations: 4 kB / 369.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.5036, allocations: 83.28 kB / 369.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5036, allocations: 0 / 369.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.504, allocations: 16 kB / 369.5 MB, free: 6.176 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.0007455/0.5048, allocations: 1.167 MB / 370.6 MB, free: 4.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.5049, allocations: 47.88 kB / 370.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.505, allocations: 0 / 370.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.505, allocations: 23.94 kB / 370.7 MB, free: 4.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.5054, allocations: 15.94 kB / 370.7 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008998/0.5063, allocations: 310.1 kB / 371 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.5066, allocations: 0.7079 MB / 371.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.5067, allocations: 19.44 kB / 371.7 MB, free: 3.754 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5067, allocations: 0 / 371.7 MB, free: 3.754 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.445/2.951, allocations: 1.309 MB / 373.1 MB, free: 2.445 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat