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 2.027/2.027, allocations: 171.2 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.456e-05/2.452e-05, allocations: 0 / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2841, allocations: 38.77 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4022, allocations: 65 MB / 323.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.4025, allocations: 71.95 kB / 323.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005234/0.4078, allocations: 1.306 MB / 324.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.111e-06/0.4078, allocations: 3.984 kB / 324.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.4078, allocations: 0 / 324.7 MB, free: 11.45 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.0004133/0.4083, allocations: 342.4 kB / 325 MB, free: 11.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4083, allocations: 8.031 kB / 325 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.4084, allocations: 15.83 kB / 325.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.4086, allocations: 175 kB / 325.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4086, allocations: 15.92 kB / 325.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.4087, allocations: 4 kB / 325.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000132/0.4088, allocations: 31.95 kB / 325.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.409, allocations: 57.67 kB / 325.3 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.409, allocations: 0 / 325.3 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.409, allocations: 0 / 325.3 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.409, allocations: 4 kB / 325.3 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.4098, allocations: 360 kB / 325.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.41, allocations: 50.56 kB / 325.7 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.41, allocations: 16.86 kB / 325.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4101, allocations: 4 kB / 325.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.4101, allocations: 34.55 kB / 325.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.983e-06/0.4101, allocations: 0 / 325.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008541/0.411, allocations: 481.3 kB / 326.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.4111, allocations: 51.41 kB / 326.3 MB, free: 9.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.4112, allocations: 101 kB / 326.4 MB, free: 9.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.4112, allocations: 25.7 kB / 326.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.4113, allocations: 166.5 kB / 326.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.4113, allocations: 35.45 kB / 326.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.4113, allocations: 4 kB / 326.6 MB, free: 9.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4115, allocations: 314.8 kB / 326.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.4115, allocations: 20 kB / 327 MB, free: 8.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.4116, allocations: 60.45 kB / 327 MB, free: 8.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.137e-05/0.4117, allocations: 27.98 kB / 327 MB, free: 8.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4117, allocations: 0 / 327 MB, free: 8.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002144/0.412, allocations: 93.53 kB / 327.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.412, allocations: 8 kB / 327.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.412, allocations: 0 / 327.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.412, allocations: 4 kB / 327.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.4122, allocations: 19.98 kB / 327.2 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.4122, allocations: 4 kB / 327.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.4123, allocations: 4.188 kB / 327.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4123, allocations: 7.938 kB / 327.2 MB, free: 8.648 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.11e-05/0.4124, allocations: 114.2 kB / 327.3 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000159/0.4126, allocations: 73.53 kB / 327.4 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.4126, allocations: 4 kB / 327.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.4127, allocations: 8.562 kB / 327.4 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4127, allocations: 4 kB / 327.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4127, allocations: 0 / 327.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4127, allocations: 0 / 327.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.4134, allocations: 383.1 kB / 327.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4134, allocations: 0 / 327.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.4136, allocations: 16 kB / 327.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.4136, allocations: 4 kB / 327.8 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4136, allocations: 0 / 327.8 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.4136, allocations: 8.156 kB / 327.8 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.4137, allocations: 11.88 kB / 327.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.414, allocations: 276.2 kB / 328.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.4141, allocations: 85.05 kB / 328.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.4141, allocations: 7.984 kB / 328.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4143, allocations: 0 / 328.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.4143, allocations: 12.02 kB / 328.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.4143, allocations: 4 kB / 328.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.593e-05/0.4144, allocations: 87.27 kB / 328.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4144, allocations: 0 / 328.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004156/0.4148, allocations: 16 kB / 328.3 MB, free: 7.41 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.0007605/0.4156, allocations: 1.159 MB / 329.4 MB, free: 6.188 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.4158, allocations: 52.34 kB / 329.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4158, allocations: 0 / 329.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.4159, allocations: 19.94 kB / 329.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.4162, allocations: 12.17 kB / 329.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008828/0.4171, allocations: 320.4 kB / 329.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.4174, allocations: 0.6924 MB / 330.5 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.4175, allocations: 31.36 kB / 330.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4175, allocations: 0 / 330.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.557/2.974, allocations: 1.304 MB / 331.9 MB, free: 3.68 MB / 282.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