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.786/1.786, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.216e-05, allocations: 0 / 225.1 MB, free: 2.609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2741, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3969, allocations: 65.67 MB / 329.5 MB, free: 7.988 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.3972, allocations: 71.95 kB / 329.6 MB, free: 7.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005379/0.4026, allocations: 1.317 MB / 330.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4026, allocations: 0 / 330.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.4027, allocations: 0 / 330.9 MB, free: 6.594 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.0004424/0.4031, allocations: 346.4 kB / 331.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4032, allocations: 8.031 kB / 331.3 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.4033, allocations: 38.56 kB / 331.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.4033, allocations: 11.91 kB / 331.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4035, allocations: 182.9 kB / 331.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4036, allocations: 4 kB / 331.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.4036, allocations: 8 kB / 331.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.4038, allocations: 72.67 kB / 331.6 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4039, allocations: 3.906 kB / 331.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4039, allocations: 7.984 kB / 331.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4039, allocations: 4 kB / 331.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.404, allocations: 28 kB / 331.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009041/0.4049, allocations: 391.5 kB / 332 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.4051, allocations: 46.58 kB / 332 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.4052, allocations: 16.86 kB / 332.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.4052, allocations: 4 kB / 332.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4052, allocations: 42.55 kB / 332.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.125e-06/0.4053, allocations: 0 / 332.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009267/0.4062, allocations: 0.4896 MB / 332.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4063, allocations: 51.41 kB / 332.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4064, allocations: 117.1 kB / 332.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.4064, allocations: 25.7 kB / 332.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.4065, allocations: 170.3 kB / 332.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.4066, allocations: 35.45 kB / 333 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.4066, allocations: 0 / 333 MB, free: 4.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4067, allocations: 322.8 kB / 333.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.4068, allocations: 16 kB / 333.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.4069, allocations: 65.08 kB / 333.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.407, allocations: 27.98 kB / 333.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.407, allocations: 0 / 333.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002289/0.4072, allocations: 93.61 kB / 333.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4073, allocations: 8 kB / 333.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4073, allocations: 3.938 kB / 333.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4073, allocations: 4.469 kB / 333.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.4075, allocations: 28.08 kB / 333.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.4075, allocations: 4 kB / 333.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.4076, allocations: 0 / 333.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4076, allocations: 4 kB / 333.5 MB, free: 3.625 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.213e-05/0.4077, allocations: 120.8 kB / 333.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.4078, allocations: 11.84 kB / 333.7 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.4078, allocations: 8.625 kB / 333.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.4078, allocations: 3.984 kB / 333.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4079, allocations: 4 kB / 333.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4079, allocations: 4 kB / 333.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.4086, allocations: 402.5 kB / 334.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.4086, allocations: 4 kB / 334.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.4088, allocations: 16 kB / 334.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.4088, allocations: 4.156 kB / 334.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4088, allocations: 8 kB / 334.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.627e-06/0.4089, allocations: 7.891 kB / 334.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.4089, allocations: 7.984 kB / 334.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.4092, allocations: 280.2 kB / 334.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.4093, allocations: 85.05 kB / 334.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4094, allocations: 8.172 kB / 334.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4095, allocations: 4 kB / 334.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.4095, allocations: 20 kB / 334.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.4095, allocations: 4 kB / 334.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.182e-05/0.4096, allocations: 91.27 kB / 334.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4096, allocations: 0 / 334.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.41, allocations: 20 kB / 334.6 MB, free: 2.379 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.0007849/0.4108, allocations: 1.16 MB / 335.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.411, allocations: 55.97 kB / 335.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.411, allocations: 0 / 335.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.524e-05/0.4111, allocations: 23.94 kB / 335.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.4115, allocations: 15.98 kB / 335.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009048/0.4124, allocations: 329.7 kB / 336.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.4128, allocations: 0.6966 MB / 336.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.4128, allocations: 27.36 kB / 336.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4128, allocations: 0 / 336.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.516/2.929, allocations: 1.334 MB / 338.3 MB, free: 14.6 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