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 1.956/1.956, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.265e-05, allocations: 4 kB / 255.4 MB, free: 3.133 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09317, allocations: 44.51 MB / 299.9 MB, free: 6.566 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3797/0.4729, allocations: 70.97 MB / 370.9 MB, free: 21.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.4732, allocations: 68.11 kB / 371 MB, free: 21.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005624/0.4788, allocations: 1.314 MB / 372.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4789, allocations: 0 / 372.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.4789, allocations: 1.719 kB / 372.3 MB, free: 20.96 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.0003831/0.4793, allocations: 355.6 kB / 372.6 MB, free: 20.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4794, allocations: 9.438 kB / 372.6 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.4794, allocations: 42.73 kB / 372.7 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.4795, allocations: 3.938 kB / 372.7 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4796, allocations: 184 kB / 372.9 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4796, allocations: 2.031 kB / 372.9 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.4797, allocations: 9.312 kB / 372.9 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.4799, allocations: 67.66 kB / 372.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4799, allocations: 0.9844 kB / 372.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4799, allocations: 4.812 kB / 372.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.4799, allocations: 5.031 kB / 373 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4801, allocations: 31.92 kB / 373 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.4809, allocations: 378.3 kB / 373.4 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.481, allocations: 54.2 kB / 373.4 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.4811, allocations: 26.94 kB / 373.4 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.4811, allocations: 5.219 kB / 373.4 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.4811, allocations: 32.52 kB / 373.5 MB, free: 19.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.4811, allocations: 0 / 373.5 MB, free: 19.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008403/0.482, allocations: 0.4973 MB / 374 MB, free: 19.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.482, allocations: 57.06 kB / 374 MB, free: 19.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4821, allocations: 108.6 kB / 374.1 MB, free: 19.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.4822, allocations: 33.58 kB / 374.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.4822, allocations: 161.8 kB / 374.3 MB, free: 19.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.4823, allocations: 31.17 kB / 374.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.4823, allocations: 0 / 374.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.4824, allocations: 319.8 kB / 374.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.4824, allocations: 18.41 kB / 374.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.4825, allocations: 57.53 kB / 374.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.4826, allocations: 23.25 kB / 374.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4826, allocations: 0.6094 kB / 374.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000229/0.4829, allocations: 111.5 kB / 374.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4829, allocations: 9.375 kB / 374.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4829, allocations: 1.906 kB / 374.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.483, allocations: 6.594 kB / 374.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.4831, allocations: 25.95 kB / 374.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4832, allocations: 2.578 kB / 374.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.4832, allocations: 5.594 kB / 374.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4833, allocations: 4.828 kB / 374.9 MB, free: 18.69 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 6.026e-05/0.4833, allocations: 110.9 kB / 375 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.4834, allocations: 8.297 kB / 375 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.4834, allocations: 16.91 kB / 375.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4834, allocations: 4.984 kB / 375.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4835, allocations: 0 / 375.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4835, allocations: 1.781 kB / 375.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006295/0.4841, allocations: 414.3 kB / 375.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4841, allocations: 2.281 kB / 375.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.4843, allocations: 21.83 kB / 375.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4843, allocations: 2.062 kB / 375.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4844, allocations: 6.172 kB / 375.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.4844, allocations: 2.938 kB / 375.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4844, allocations: 1.156 kB / 375.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.4847, allocations: 287 kB / 375.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.4848, allocations: 92.84 kB / 375.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.4848, allocations: 7.438 kB / 375.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4849, allocations: 2.469 kB / 375.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.485, allocations: 12.72 kB / 375.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.485, allocations: 4.281 kB / 375.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.568e-05/0.485, allocations: 90.27 kB / 376 MB, free: 17.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4851, allocations: 0 / 376 MB, free: 17.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.4854, allocations: 22.03 kB / 376 MB, free: 17.74 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.0005612/0.486, allocations: 1.166 MB / 377.2 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.4862, allocations: 55.69 kB / 377.2 MB, free: 16.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4862, allocations: 0 / 377.2 MB, free: 16.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.4863, allocations: 34.08 kB / 377.3 MB, free: 16.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.4866, allocations: 13.61 kB / 377.3 MB, free: 16.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.4874, allocations: 321.8 kB / 377.6 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.4882, allocations: 0.6961 MB / 378.3 MB, free: 31.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.4883, allocations: 21.16 kB / 378.3 MB, free: 31.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4883, allocations: 0 / 378.3 MB, free: 31.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.565/3.053, allocations: 1.351 MB / 379.7 MB, free: 31.52 MB / 330.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