Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.444e-05, allocations: 0 / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2798, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.3973, allocations: 65.01 MB / 323.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.3976, allocations: 59.97 kB / 323.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005383/0.403, allocations: 1.31 MB / 324.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4031, allocations: 0 / 324.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.4031, allocations: 0 / 324.7 MB, free: 11.41 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.0005125/0.4036, allocations: 342.4 kB / 325.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.4037, allocations: 12.03 kB / 325.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.4038, allocations: 7.906 kB / 325.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.404, allocations: 178.9 kB / 325.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.404, allocations: 7.938 kB / 325.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.4041, allocations: 4 kB / 325.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/0.4042, allocations: 39.94 kB / 325.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.4044, allocations: 58.67 kB / 325.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4044, allocations: 4 kB / 325.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4045, allocations: 0 / 325.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4045, allocations: 0 / 325.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008058/0.4053, allocations: 356 kB / 325.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.4054, allocations: 58.55 kB / 325.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.4055, allocations: 16.86 kB / 325.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.4055, allocations: 0 / 325.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4056, allocations: 34.56 kB / 325.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.4056, allocations: 0 / 325.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000865/0.4064, allocations: 481.3 kB / 326.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4065, allocations: 51.41 kB / 326.3 MB, free: 9.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.808e-05/0.4066, allocations: 101 kB / 326.4 MB, free: 9.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.4066, allocations: 25.8 kB / 326.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.4067, allocations: 100.1 kB / 326.6 MB, free: 9.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.4068, allocations: 35.45 kB / 326.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.4068, allocations: 0 / 326.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4069, allocations: 326.8 kB / 326.9 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.407, allocations: 12 kB / 326.9 MB, free: 8.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/0.4071, allocations: 57.09 kB / 327 MB, free: 8.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.4071, allocations: 19.98 kB / 327 MB, free: 8.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4072, allocations: 8 kB / 327 MB, free: 8.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002153/0.4074, allocations: 93.53 kB / 327.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4074, allocations: 8 kB / 327.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4074, allocations: 0 / 327.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4075, allocations: 4 kB / 327.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.4076, allocations: 23.98 kB / 327.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4077, allocations: 4 kB / 327.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.4078, allocations: 0 / 327.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.4078, allocations: 4 kB / 327.1 MB, free: 8.676 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 8.863e-05/0.4079, allocations: 118.3 kB / 327.3 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001578/0.408, allocations: 69.53 kB / 327.3 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.4081, allocations: 11.89 kB / 327.3 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.4082, allocations: 12.56 kB / 327.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.4082, allocations: 4 kB / 327.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4082, allocations: 0 / 327.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4082, allocations: 0 / 327.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/0.4088, allocations: 375.1 kB / 327.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4089, allocations: 0 / 327.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.409, allocations: 19.98 kB / 327.7 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.4091, allocations: 4 kB / 327.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4091, allocations: 0 / 327.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4091, allocations: 4 kB / 327.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.4091, allocations: 8.047 kB / 327.8 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.4095, allocations: 276.4 kB / 328 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.4095, allocations: 85.14 kB / 328.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.4096, allocations: 7.938 kB / 328.1 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4097, allocations: 4 kB / 328.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4098, allocations: 15.94 kB / 328.1 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.4098, allocations: 4 kB / 328.1 MB, free: 7.531 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.594e-05/0.4098, allocations: 87.34 kB / 328.2 MB, free: 7.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4099, allocations: 0 / 328.2 MB, free: 7.445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.4102, allocations: 16 kB / 328.2 MB, free: 7.43 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.0007748/0.411, allocations: 1.154 MB / 329.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.4112, allocations: 55.98 kB / 329.4 MB, free: 6.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4112, allocations: 0 / 329.4 MB, free: 6.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.4113, allocations: 23.94 kB / 329.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.4116, allocations: 8 kB / 329.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.4126, allocations: 295.2 kB / 329.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.4129, allocations: 0.6963 MB / 330.5 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.413, allocations: 8.672 kB / 330.5 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.136e-05/0.4131, allocations: 23.42 kB / 330.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4131, allocations: 0 / 330.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03827/0.4513, allocations: 1.226 MB / 331.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/0.4518, allocations: 143.9 kB / 331.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/2.968, allocations: 0 / 331.9 MB, free: 3.625 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat