Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.383e-05, allocations: 0 / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2649, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.3828, allocations: 65.67 MB / 329.5 MB, free: 8.102 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.3832, allocations: 63.97 kB / 329.6 MB, free: 8.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006107/0.3893, allocations: 1.313 MB / 330.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3893, allocations: 0 / 330.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3894, allocations: 4 kB / 330.9 MB, free: 6.715 MB / 282.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.0004439/0.3898, allocations: 342.4 kB / 331.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3899, allocations: 15.97 kB / 331.2 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.3899, allocations: 34.56 kB / 331.3 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.39, allocations: 7.906 kB / 331.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3902, allocations: 182.9 kB / 331.4 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3902, allocations: 12 kB / 331.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.3903, allocations: 8 kB / 331.5 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3905, allocations: 76.16 kB / 331.5 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3905, allocations: 3.906 kB / 331.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3906, allocations: 4 kB / 331.5 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3906, allocations: 0 / 331.5 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.3907, allocations: 31.94 kB / 331.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.3916, allocations: 387.6 kB / 332 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3918, allocations: 58.5 kB / 332 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.3918, allocations: 16.86 kB / 332 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3919, allocations: 0 / 332 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3919, allocations: 34.56 kB / 332.1 MB, free: 5.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.036e-06/0.3919, allocations: 4 kB / 332.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.001335/0.3933, allocations: 0.5015 MB / 332.6 MB, free: 4.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3934, allocations: 51.41 kB / 332.6 MB, free: 4.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3935, allocations: 105.2 kB / 332.7 MB, free: 4.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3936, allocations: 33.7 kB / 332.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.3937, allocations: 158.3 kB / 332.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.3937, allocations: 43.45 kB / 332.9 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.3937, allocations: 0 / 332.9 MB, free: 4.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3939, allocations: 326.8 kB / 333.3 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.394, allocations: 12 kB / 333.3 MB, free: 4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3941, allocations: 61.09 kB / 333.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.3942, allocations: 31.98 kB / 333.4 MB, free: 3.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3942, allocations: 0 / 333.4 MB, free: 3.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002549/0.3945, allocations: 97.55 kB / 333.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3945, allocations: 8 kB / 333.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3945, allocations: 0 / 333.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3946, allocations: 4.469 kB / 333.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3948, allocations: 31.92 kB / 333.5 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3948, allocations: 4.094 kB / 333.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.3949, allocations: 4 kB / 333.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3949, allocations: 4 kB / 333.5 MB, free: 3.734 MB / 282.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 9.637e-05/0.395, allocations: 112.9 kB / 333.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.395, allocations: 11.84 kB / 333.6 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.3951, allocations: 12.61 kB / 333.7 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3951, allocations: 4 kB / 333.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3951, allocations: 0 / 333.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3951, allocations: 0 / 333.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/0.3959, allocations: 418.5 kB / 334.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.396, allocations: 0 / 334.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.3962, allocations: 20 kB / 334.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.3962, allocations: 4 kB / 334.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3962, allocations: 8.141 kB / 334.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/0.3962, allocations: 11.89 kB / 334.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3962, allocations: 0 / 334.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.3967, allocations: 288.2 kB / 334.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.3967, allocations: 85 kB / 334.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3968, allocations: 4.188 kB / 334.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.3969, allocations: 4 kB / 334.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3969, allocations: 20 kB / 334.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.397, allocations: 4 kB / 334.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.92e-05/0.397, allocations: 95.27 kB / 334.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3971, allocations: 0 / 334.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.3974, allocations: 16 kB / 334.6 MB, free: 2.484 MB / 282.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.0009074/0.3983, allocations: 1.168 MB / 335.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.3986, allocations: 59.91 kB / 335.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3986, allocations: 0 / 335.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.3987, allocations: 27.92 kB / 335.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.399, allocations: 12 kB / 335.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.4002, allocations: 337.7 kB / 336.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.4007, allocations: 0.7004 MB / 336.9 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.4008, allocations: 19.44 kB / 336.9 MB, free: 24 kB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4008, allocations: 0 / 336.9 MB, free: 24 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.508/2.909, allocations: 1.341 MB / 338.3 MB, free: 14.68 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat