Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.186/2.186, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.469e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3178, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.4717, allocations: 70.55 MB / 364.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4721, allocations: 63.97 kB / 364.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01374/0.4859, allocations: 3.317 MB / 368.1 MB, free: 7.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4859, allocations: 3.938 kB / 368.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.4859, allocations: 8 kB / 368.2 MB, free: 7.984 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007597/0.4867, allocations: 458.5 kB / 368.6 MB, free: 7.492 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4868, allocations: 8.031 kB / 368.6 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.4869, allocations: 27.7 kB / 368.6 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4871, allocations: 194.7 kB / 368.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4871, allocations: 4 kB / 368.8 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.4872, allocations: 16 kB / 368.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003796/0.4876, allocations: 113.1 kB / 369 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.488, allocations: 191.2 kB / 369.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.4881, allocations: 7.906 kB / 369.2 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.4881, allocations: 3.938 kB / 369.2 MB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4881, allocations: 4 kB / 369.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.4897, allocations: 0.8213 MB / 370 MB, free: 6.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.49, allocations: 135.8 kB / 370.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.4902, allocations: 58.5 kB / 370.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4902, allocations: 11.95 kB / 370.2 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.4903, allocations: 34.56 kB / 370.2 MB, free: 5.723 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.416e-06/0.4903, allocations: 0 / 370.2 MB, free: 5.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004192/0.4907, allocations: 121.7 kB / 370.3 MB, free: 5.598 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.4908, allocations: 106.8 kB / 370.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.491, allocations: 150.5 kB / 370.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.491, allocations: 29.7 kB / 370.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.4912, allocations: 164 kB / 370.8 MB, free: 5.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.4912, allocations: 63.09 kB / 370.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.4913, allocations: 0 / 370.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4914, allocations: 326.8 kB / 371.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.4915, allocations: 32.56 kB / 371.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4917, allocations: 146.5 kB / 371.3 MB, free: 4.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.4919, allocations: 64.64 kB / 371.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4919, allocations: 0 / 371.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004989/0.4925, allocations: 209.1 kB / 371.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4925, allocations: 4 kB / 371.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4925, allocations: 7.953 kB / 371.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.4925, allocations: 8 kB / 371.6 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.493, allocations: 59.91 kB / 371.7 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.493, allocations: 4 kB / 371.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.4933, allocations: 28.12 kB / 371.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.4933, allocations: 12 kB / 371.7 MB, free: 4.105 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001092/0.4934, allocations: 120.6 kB / 371.8 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003308/0.4938, allocations: 121.4 kB / 372 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.4939, allocations: 19.86 kB / 372 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.4939, allocations: 21.77 kB / 372 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.494, allocations: 8 kB / 372 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.494, allocations: 0 / 372 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.494, allocations: 4 kB / 372 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.4947, allocations: 385.4 kB / 372.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4947, allocations: 3.938 kB / 372.4 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.4951, allocations: 35.98 kB / 372.4 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.4951, allocations: 0 / 372.4 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.4952, allocations: 7.984 kB / 372.4 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4952, allocations: 3.938 kB / 372.4 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4952, allocations: 480 / 372.4 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.4957, allocations: 404.4 kB / 372.8 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.4958, allocations: 92.86 kB / 372.9 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.4959, allocations: 8.031 kB / 372.9 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.4961, allocations: 7.953 kB / 372.9 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.4962, allocations: 11.92 kB / 373 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4962, allocations: 4 kB / 373 MB, free: 2.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.4963, allocations: 120 kB / 373.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4963, allocations: 0 / 373.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005973/0.4969, allocations: 47.84 kB / 373.1 MB, free: 2.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0009312/0.4979, allocations: 1.212 MB / 374.3 MB, free: 1.312 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.4982, allocations: 123.2 kB / 374.5 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4983, allocations: 0 / 374.5 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4984, allocations: 52.8 kB / 374.5 MB, free: 1.145 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.4989, allocations: 33.05 kB / 374.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.5004, allocations: 0.5316 MB / 375.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.5009, allocations: 0.7398 MB / 375.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.501, allocations: 21.84 kB / 375.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.5012, allocations: 59.42 kB / 375.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5012, allocations: 3.938 kB / 375.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.5418, allocations: 2.758 MB / 378.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/0.5421, allocations: 143.1 kB / 378.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.024, allocations: 4 kB / 378.8 MB, free: 12.74 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat