Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.514/2.514, allocations: 195 MB / 202.9 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.675e-05, allocations: 1.375 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4873/0.5912, allocations: 70.3 MB / 364.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5916, allocations: 67.14 kB / 364.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006266/0.5979, allocations: 1.307 MB / 366 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5979, allocations: 0 / 366 MB, free: 22.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.5979, allocations: 1.781 kB / 366 MB, free: 22.72 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.0004252/0.5984, allocations: 347.2 kB / 366.3 MB, free: 22.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5984, allocations: 9.375 kB / 366.3 MB, free: 22.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.5985, allocations: 3.625 kB / 366.3 MB, free: 22.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.5987, allocations: 192.5 kB / 366.5 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5987, allocations: 1.406 kB / 366.5 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.5988, allocations: 3.969 kB / 366.5 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001543/0.5989, allocations: 35.12 kB / 366.5 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.5991, allocations: 60.34 kB / 366.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.5992, allocations: 1.312 kB / 366.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.5992, allocations: 0 / 366.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5992, allocations: 5.25 kB / 366.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.6001, allocations: 344.7 kB / 367 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.6002, allocations: 52.91 kB / 367 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.6003, allocations: 16.8 kB / 367 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.6003, allocations: 3.938 kB / 367 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.6004, allocations: 34.25 kB / 367.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.474e-06/0.6004, allocations: 0 / 367.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008634/0.6012, allocations: 489.1 kB / 367.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.6013, allocations: 55.34 kB / 367.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.6014, allocations: 100.3 kB / 367.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.6014, allocations: 27.72 kB / 367.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.6015, allocations: 100.5 kB / 367.8 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.6015, allocations: 30.16 kB / 367.8 MB, free: 21.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.6015, allocations: 0 / 367.8 MB, free: 21.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6017, allocations: 323.7 kB / 368.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.6018, allocations: 11.22 kB / 368.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.6018, allocations: 52.2 kB / 368.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.816e-05/0.6019, allocations: 25.52 kB / 368.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.602, allocations: 4 kB / 368.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002503/0.6022, allocations: 96.44 kB / 368.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6023, allocations: 7.5 kB / 368.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6023, allocations: 1.172 kB / 368.4 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.6023, allocations: 3.844 kB / 368.4 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.6025, allocations: 29.55 kB / 368.4 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6025, allocations: 7.781 kB / 368.4 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.6026, allocations: 3.938 kB / 368.4 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6027, allocations: 7.906 kB / 368.4 MB, free: 20.59 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 9.969e-05/0.6028, allocations: 110.5 kB / 368.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001787/0.603, allocations: 70.12 kB / 368.6 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.603, allocations: 7.781 kB / 368.6 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.6031, allocations: 8.969 kB / 368.6 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6031, allocations: 3.953 kB / 368.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6031, allocations: 0 / 368.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6031, allocations: 5.281 kB / 368.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007401/0.6039, allocations: 366 kB / 369 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6039, allocations: 9.25 kB / 369 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.6041, allocations: 20.75 kB / 369 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.6041, allocations: 1.594 kB / 369 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.6042, allocations: 3.875 kB / 369 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.6042, allocations: 0 / 369 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6042, allocations: 4.031 kB / 369 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.6046, allocations: 288.3 kB / 369.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.6047, allocations: 78.8 kB / 369.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.6047, allocations: 7.766 kB / 369.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.6048, allocations: 0 / 369.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.6049, allocations: 13.97 kB / 369.4 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.6049, allocations: 3.688 kB / 369.4 MB, free: 19.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.605, allocations: 93.03 kB / 369.5 MB, free: 19.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.605, allocations: 0 / 369.5 MB, free: 19.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005005/0.6055, allocations: 11.62 kB / 369.5 MB, free: 19.66 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.0009497/0.6065, allocations: 1.156 MB / 370.6 MB, free: 18.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.6067, allocations: 56.16 kB / 370.7 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6067, allocations: 3.75 kB / 370.7 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.209e-05/0.6068, allocations: 24.08 kB / 370.7 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.6074, allocations: 12.69 kB / 370.7 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.6091, allocations: 287.3 kB / 371 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.6096, allocations: 0.7007 MB / 371.7 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.6098, allocations: 7.906 kB / 371.7 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.6099, allocations: 24.81 kB / 371.7 MB, free: 17.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.804e-06/0.6099, allocations: 0 / 371.7 MB, free: 17.55 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04705/0.657, allocations: 1.241 MB / 373 MB, free: 17.45 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002858/0.6574, allocations: 144.5 kB / 373.1 MB, free: 17.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.925/3.583, allocations: 7.875 kB / 373.1 MB, free: 17.25 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat