Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.214/2.214, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.42e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5184/0.6308, allocations: 75.5 MB / 392.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/0.6313, allocations: 73.83 kB / 392.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02198/0.6533, allocations: 3.446 MB / 396 MB, free: 9.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6534, allocations: 4 kB / 396 MB, free: 9.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.6534, allocations: 8 kB / 396 MB, free: 9.492 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.001244/0.6547, allocations: 456.2 kB / 396.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.433e-05/0.6548, allocations: 8.031 kB / 396.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.6549, allocations: 60.17 kB / 396.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.6551, allocations: 24.47 kB / 396.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.6554, allocations: 190.8 kB / 396.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.6554, allocations: 23.31 kB / 396.8 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.6556, allocations: 32.16 kB / 396.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008186/0.6564, allocations: 222.2 kB / 397 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.6565, allocations: 0 / 397 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.6565, allocations: 10.12 kB / 397 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.6566, allocations: 6.297 kB / 397 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.6572, allocations: 130.5 kB / 397.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.6599, allocations: 0.8595 MB / 398 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.6604, allocations: 157 kB / 398.2 MB, free: 7.434 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.6607, allocations: 56.14 kB / 398.2 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.6608, allocations: 3.984 kB / 398.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.6609, allocations: 41.69 kB / 398.3 MB, free: 7.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 4.218e-06/0.6609, allocations: 0 / 398.3 MB, free: 7.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006843/0.6616, allocations: 131.8 kB / 398.4 MB, free: 7.219 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/0.6617, allocations: 106.8 kB / 398.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.6621, allocations: 179.9 kB / 398.7 MB, free: 6.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.6622, allocations: 25.7 kB / 398.7 MB, free: 6.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.6624, allocations: 154.5 kB / 398.9 MB, free: 6.762 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.6625, allocations: 63.53 kB / 398.9 MB, free: 6.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.6626, allocations: 11.44 kB / 398.9 MB, free: 6.699 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.6628, allocations: 326 kB / 399.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.6631, allocations: 46.25 kB / 399.3 MB, free: 6.348 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.6634, allocations: 148.8 kB / 399.5 MB, free: 6.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.6638, allocations: 78.84 kB / 399.5 MB, free: 6.117 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.6638, allocations: 0 / 399.5 MB, free: 6.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008964/0.6647, allocations: 224.8 kB / 399.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.6648, allocations: 8.656 kB / 399.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.6649, allocations: 4 kB / 399.8 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.652e-05/0.6649, allocations: 7.953 kB / 399.8 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.6656, allocations: 66.91 kB / 399.8 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/0.6656, allocations: 11.94 kB / 399.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.666, allocations: 29.81 kB / 399.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.6661, allocations: 12.28 kB / 399.9 MB, free: 5.801 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.0001777/0.6663, allocations: 123.4 kB / 400 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.6665, allocations: 26.41 kB / 400 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.6666, allocations: 23.14 kB / 400.1 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.6667, allocations: 0 / 400.1 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.6667, allocations: 7.953 kB / 400.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.6667, allocations: 0 / 400.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.6681, allocations: 424.8 kB / 400.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6681, allocations: 0 / 400.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.6687, allocations: 43.91 kB / 400.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-05/0.6688, allocations: 7.953 kB / 400.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.6689, allocations: 3.438 kB / 400.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/0.6689, allocations: 4 kB / 400.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6689, allocations: 0 / 400.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.67, allocations: 421.8 kB / 401 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.6702, allocations: 95.89 kB / 401 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.6703, allocations: 8 kB / 401.1 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.6707, allocations: 3.188 kB / 401.1 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.6708, allocations: 19.06 kB / 401.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.6708, allocations: 4 kB / 401.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002792/0.6711, allocations: 139.3 kB / 401.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.6711, allocations: 0 / 401.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009056/0.672, allocations: 54.53 kB / 401.3 MB, free: 4.43 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.001715/0.6738, allocations: 1.228 MB / 402.5 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.6749, allocations: 126.2 kB / 402.6 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6749, allocations: 0 / 402.6 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.6751, allocations: 50.75 kB / 402.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.6767, allocations: 24.67 kB / 402.7 MB, free: 3.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.6787, allocations: 0.5557 MB / 403.2 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.6792, allocations: 0.7402 MB / 404 MB, free: 1.711 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.6794, allocations: 22.08 kB / 404 MB, free: 1.688 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.6795, allocations: 59.41 kB / 404.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of SimCode: time 1.773e-06/0.6795, allocations: 0 / 404.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.7092, allocations: 3.303 MB / 407.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003791/0.7096, allocations: 156.7 kB / 407.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.374, allocations: 0 / 407.5 MB, free: 14.21 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat