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.762/1.762, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.84e-05, allocations: 4 kB / 225.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2969, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4296, allocations: 65.9 MB / 329.8 MB, free: 7.812 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4299, allocations: 71.91 kB / 329.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.4439, allocations: 3.352 MB / 333.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4439, allocations: 3.938 kB / 333.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.444, allocations: 4 kB / 333.2 MB, free: 4.363 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.000817/0.4448, allocations: 462.5 kB / 333.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4449, allocations: 8.031 kB / 333.6 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.089e-05/0.445, allocations: 62.53 kB / 333.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.445, allocations: 23.72 kB / 333.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.4452, allocations: 197.5 kB / 333.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.4453, allocations: 16.56 kB / 333.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.4454, allocations: 24 kB / 334 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.4459, allocations: 224.3 kB / 334.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.446, allocations: 7.984 kB / 334.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.446, allocations: 8 kB / 334.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.446, allocations: 8 kB / 334.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.4464, allocations: 123.9 kB / 334.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.4481, allocations: 0.8711 MB / 335.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.4485, allocations: 151.8 kB / 335.3 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.4486, allocations: 58.58 kB / 335.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.4487, allocations: 7.938 kB / 335.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4487, allocations: 34.56 kB / 335.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 3.075e-06/0.4487, allocations: 0 / 335.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004606/0.4492, allocations: 141.6 kB / 335.6 MB, free: 1.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.4493, allocations: 102.8 kB / 335.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.4496, allocations: 171 kB / 335.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.4496, allocations: 41.69 kB / 335.9 MB, free: 1.395 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4498, allocations: 151.8 kB / 336 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.4499, allocations: 63.09 kB / 336.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.4499, allocations: 8 kB / 336.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4501, allocations: 334.8 kB / 336.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.4502, allocations: 44.56 kB / 336.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.4505, allocations: 158.7 kB / 336.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.4507, allocations: 68.06 kB / 336.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.4507, allocations: 4 kB / 336.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005683/0.4513, allocations: 233.1 kB / 336.9 MB, free: 288 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4513, allocations: 4 kB / 336.9 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4513, allocations: 4 kB / 336.9 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4514, allocations: 8 kB / 336.9 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.4518, allocations: 68.28 kB / 337 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.4518, allocations: 15.89 kB / 337 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4521, allocations: 23.75 kB / 337.1 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.4521, allocations: 12 kB / 337.1 MB, free: 152 kB / 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.0001077/0.4522, allocations: 120.9 kB / 337.2 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.892e-05/0.4523, allocations: 19.8 kB / 337.2 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.23e-05/0.4524, allocations: 21.53 kB / 337.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4524, allocations: 4 kB / 337.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4525, allocations: 0 / 337.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4525, allocations: 7.953 kB / 337.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.4532, allocations: 424.8 kB / 337.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4533, allocations: 4 kB / 337.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.4537, allocations: 39.92 kB / 337.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4537, allocations: 4 kB / 337.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4537, allocations: 11.95 kB / 337.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4537, allocations: 0 / 337.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4537, allocations: 4.094 kB / 337.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/0.4543, allocations: 429.1 kB / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.4544, allocations: 89.06 kB / 338.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.4545, allocations: 11.98 kB / 338.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.4547, allocations: 8.031 kB / 338.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.4548, allocations: 11.95 kB / 338.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4548, allocations: 7.984 kB / 338.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.455, allocations: 139.4 kB / 338.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.455, allocations: 4 kB / 338.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004765/0.4555, allocations: 51.94 kB / 338.4 MB, free: 14.62 MB / 298.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.001036/0.4565, allocations: 1.236 MB / 339.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.4569, allocations: 124.5 kB / 339.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.457, allocations: 4.188 kB / 339.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.4571, allocations: 55.92 kB / 339.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.4576, allocations: 29.31 kB / 339.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.4592, allocations: 0.5544 MB / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.4597, allocations: 0.7363 MB / 341.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.4598, allocations: 18.08 kB / 341.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.46, allocations: 59.42 kB / 341.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.46, allocations: 4 kB / 341.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.4869, allocations: 3.316 MB / 344.6 MB, free: 8.426 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/0.4873, allocations: 153.7 kB / 344.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/2.982, allocations: 0 / 344.7 MB, free: 8.203 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