Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.102e-05, allocations: 4 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2738, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.3973, allocations: 65.24 MB / 323.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.3976, allocations: 67.89 kB / 323.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01414/0.4118, allocations: 3.316 MB / 327 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4119, allocations: 3.938 kB / 327 MB, free: 9.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.4119, allocations: 4 kB / 327 MB, free: 9.125 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008366/0.4127, allocations: 470.4 kB / 327.4 MB, free: 8.617 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4128, allocations: 8.031 kB / 327.4 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.4129, allocations: 23.72 kB / 327.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.4131, allocations: 186.7 kB / 327.6 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.4131, allocations: 8 kB / 327.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.4132, allocations: 16 kB / 327.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000374/0.4136, allocations: 113.1 kB / 327.8 MB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.4141, allocations: 195.1 kB / 328 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.4141, allocations: 8 kB / 328 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.4142, allocations: 3.984 kB / 328 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4142, allocations: 4 kB / 328 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.4157, allocations: 0.8172 MB / 328.8 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.4161, allocations: 143.8 kB / 328.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.4162, allocations: 54.58 kB / 329 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.4163, allocations: 8 kB / 329 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.4163, allocations: 30.88 kB / 329 MB, free: 6.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 3.467e-06/0.4163, allocations: 0 / 329 MB, free: 6.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004104/0.4167, allocations: 125.5 kB / 329.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.4168, allocations: 106.8 kB / 329.3 MB, free: 6.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.417, allocations: 142.5 kB / 329.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.417, allocations: 33.7 kB / 329.4 MB, free: 6.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4172, allocations: 164 kB / 329.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.4173, allocations: 59.11 kB / 329.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.4173, allocations: 4 kB / 329.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4174, allocations: 322.8 kB / 330 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4176, allocations: 40.56 kB / 330 MB, free: 5.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.4178, allocations: 142.5 kB / 330.1 MB, free: 5.637 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.418, allocations: 67.91 kB / 330.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.418, allocations: 0 / 330.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005105/0.4185, allocations: 205.2 kB / 330.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4186, allocations: 4 kB / 330.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.4186, allocations: 7.984 kB / 330.4 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.4186, allocations: 8 kB / 330.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.4191, allocations: 59.92 kB / 330.5 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4191, allocations: 11.88 kB / 330.5 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.4193, allocations: 20.22 kB / 330.5 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.4193, allocations: 15.95 kB / 330.5 MB, free: 5.238 MB / 282.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.0001146/0.4195, allocations: 122.2 kB / 330.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003347/0.4198, allocations: 121.3 kB / 330.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.4199, allocations: 15.81 kB / 330.8 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.42, allocations: 25.92 kB / 330.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.42, allocations: 4 kB / 330.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.42, allocations: 3.953 kB / 330.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.4201, allocations: 3.984 kB / 330.8 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.4208, allocations: 374 kB / 331.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.4208, allocations: 4 kB / 331.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.4212, allocations: 35.92 kB / 331.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.4212, allocations: 4 kB / 331.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.4212, allocations: 3.953 kB / 331.2 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4213, allocations: 4 kB / 331.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4213, allocations: 0 / 331.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.4218, allocations: 408.4 kB / 331.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.422, allocations: 96.86 kB / 331.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.422, allocations: 3.938 kB / 331.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.4222, allocations: 8 kB / 331.8 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.4223, allocations: 11.94 kB / 331.8 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.4223, allocations: 8 kB / 331.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.4224, allocations: 120.9 kB / 331.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4225, allocations: 0 / 331.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005784/0.423, allocations: 47.84 kB / 331.9 MB, free: 3.703 MB / 282.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.0009455/0.424, allocations: 1.211 MB / 333.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.4244, allocations: 120 kB / 333.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4244, allocations: 0 / 333.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4245, allocations: 53.11 kB / 333.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.425, allocations: 26.98 kB / 333.3 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.4267, allocations: 0.5368 MB / 333.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.4271, allocations: 0.7399 MB / 334.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.4273, allocations: 17.86 kB / 334.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.4275, allocations: 55.42 kB / 334.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4275, allocations: 0 / 334.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/0.472, allocations: 2.766 MB / 337.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/0.4724, allocations: 141.6 kB / 337.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.823, allocations: 4 kB / 337.6 MB, free: 13.89 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat