Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 225.8 MB / 239.3 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.553e-05/4.57e-05, allocations: 4 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 50.4 MB / 343.1 MB, free: 8.984 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4815/0.5942, allocations: 76.24 MB / 419.4 MB, free: 8.297 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.5945, allocations: 68.03 kB / 419.4 MB, free: 8.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007329/0.6019, allocations: 1.358 MB / 420.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.602, allocations: 0 / 420.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.602, allocations: 3.844 kB / 420.8 MB, free: 7.91 MB / 330.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.0003768/0.6024, allocations: 345.1 kB / 421.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.6024, allocations: 11.66 kB / 421.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.6025, allocations: 38.14 kB / 421.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.6025, allocations: 7.219 kB / 421.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.6027, allocations: 187.8 kB / 421.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.6027, allocations: 6.688 kB / 421.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.6028, allocations: 7.25 kB / 421.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.603, allocations: 67.94 kB / 421.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.603, allocations: 3.844 kB / 421.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.603, allocations: 0 / 421.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.603, allocations: 3.953 kB / 421.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.6032, allocations: 35.59 kB / 421.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.6043, allocations: 385.2 kB / 421.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.6045, allocations: 61.11 kB / 421.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.6046, allocations: 16.55 kB / 422 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.6046, allocations: 0 / 422 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.6047, allocations: 34.38 kB / 422 MB, free: 6.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.176e-06/0.6047, allocations: 4 kB / 422 MB, free: 6.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001051/0.6058, allocations: 0.4914 MB / 422.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.6058, allocations: 51.41 kB / 422.5 MB, free: 6.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.606, allocations: 114.3 kB / 422.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.606, allocations: 29.55 kB / 422.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.6061, allocations: 92.83 kB / 422.8 MB, free: 6.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.6062, allocations: 33.98 kB / 422.8 MB, free: 6.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/0.6062, allocations: 0 / 422.8 MB, free: 6.117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.6063, allocations: 320.8 kB / 423.1 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.6064, allocations: 18.25 kB / 423.1 MB, free: 5.805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.6065, allocations: 54.19 kB / 423.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.6066, allocations: 37.56 kB / 423.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6066, allocations: 0 / 423.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00032/0.607, allocations: 110.5 kB / 423.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.607, allocations: 3.844 kB / 423.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.607, allocations: 0 / 423.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6071, allocations: 3.969 kB / 423.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.6073, allocations: 26.3 kB / 423.4 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6073, allocations: 4.094 kB / 423.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.6075, allocations: 6.969 kB / 423.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.6075, allocations: 3.844 kB / 423.4 MB, free: 5.691 MB / 330.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.868e-05/0.6076, allocations: 116 kB / 423.5 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.6077, allocations: 7.75 kB / 423.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.6077, allocations: 14.52 kB / 423.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6078, allocations: 0 / 423.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6078, allocations: 0 / 423.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6078, allocations: 0 / 423.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008536/0.6087, allocations: 412.4 kB / 423.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6087, allocations: 0 / 423.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.6089, allocations: 17.66 kB / 423.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.609, allocations: 3.781 kB / 423.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.609, allocations: 6.359 kB / 423.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.609, allocations: 3.906 kB / 423.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.609, allocations: 3.938 kB / 423.9 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.6094, allocations: 295.2 kB / 424.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.6095, allocations: 80.8 kB / 424.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.6096, allocations: 6.109 kB / 424.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.6097, allocations: 3.969 kB / 424.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.6098, allocations: 10.06 kB / 424.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.6098, allocations: 7.688 kB / 424.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.6099, allocations: 86.25 kB / 424.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6099, allocations: 0 / 424.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005943/0.6105, allocations: 21.7 kB / 424.4 MB, free: 4.758 MB / 330.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.001288/0.6118, allocations: 1.171 MB / 425.6 MB, free: 19.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.6121, allocations: 54.05 kB / 425.7 MB, free: 19.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6121, allocations: 3.938 kB / 425.7 MB, free: 19.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.6122, allocations: 22.59 kB / 425.7 MB, free: 19.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.6127, allocations: 17.25 kB / 425.7 MB, free: 19.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.6139, allocations: 307.5 kB / 426 MB, free: 19.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.6143, allocations: 0.6977 MB / 426.7 MB, free: 18.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.532e-05/0.6145, allocations: 7.594 kB / 426.7 MB, free: 18.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.6145, allocations: 19.77 kB / 426.7 MB, free: 18.65 MB / 346.7 MB Notification: Performance of SimCode: time 2.054e-06/0.6146, allocations: 0 / 426.7 MB, free: 18.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.641, allocations: 1.609 MB / 428.3 MB, free: 18.4 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.6413, allocations: 152.6 kB / 428.5 MB, free: 18.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.069, allocations: 0 / 428.5 MB, free: 18.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat