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.063/2.063, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.369e-05, allocations: 5.406 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09793, allocations: 44.5 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.4917, allocations: 71.2 MB / 371.2 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.4921, allocations: 65.83 kB / 371.2 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.5066, allocations: 3.352 MB / 374.6 MB, free: 21.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5067, allocations: 4 kB / 374.6 MB, free: 21.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.5067, allocations: 4.125 kB / 374.6 MB, free: 21.44 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.0007523/0.5074, allocations: 460.7 kB / 375 MB, free: 21.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5075, allocations: 8.969 kB / 375 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.552e-05/0.5076, allocations: 58.02 kB / 375.1 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.5077, allocations: 27.16 kB / 375.1 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.5078, allocations: 192.1 kB / 375.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.5079, allocations: 18.19 kB / 375.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.5079, allocations: 23.33 kB / 375.4 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.5085, allocations: 220 kB / 375.6 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.5085, allocations: 4.938 kB / 375.6 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.5086, allocations: 9.094 kB / 375.6 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.5086, allocations: 9.5 kB / 375.6 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.509, allocations: 135.5 kB / 375.7 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.5108, allocations: 0.8626 MB / 376.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.5112, allocations: 160.5 kB / 376.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.5113, allocations: 60.14 kB / 376.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.5114, allocations: 8.281 kB / 376.8 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.5114, allocations: 36.53 kB / 376.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.777e-06/0.5114, allocations: 0 / 376.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.000446/0.5119, allocations: 135.2 kB / 377 MB, free: 19.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.5119, allocations: 109.3 kB / 377.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.5122, allocations: 173.6 kB / 377.3 MB, free: 19.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.5122, allocations: 26.73 kB / 377.3 MB, free: 19.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.5123, allocations: 157.5 kB / 377.4 MB, free: 19.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.5124, allocations: 64.02 kB / 377.5 MB, free: 19.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.5124, allocations: 12.34 kB / 377.5 MB, free: 19.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.5125, allocations: 327.8 kB / 377.8 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5126, allocations: 43.22 kB / 377.9 MB, free: 19.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.5129, allocations: 158.7 kB / 378 MB, free: 19.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.5131, allocations: 72.67 kB / 378.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5131, allocations: 1.031 kB / 378.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000545/0.5136, allocations: 237.6 kB / 378.3 MB, free: 18.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5137, allocations: 6.219 kB / 378.3 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5137, allocations: 4.156 kB / 378.3 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.5137, allocations: 8.297 kB / 378.3 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.5142, allocations: 56.17 kB / 378.4 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.5142, allocations: 12.31 kB / 378.4 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.5144, allocations: 32.22 kB / 378.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.5145, allocations: 17.88 kB / 378.5 MB, free: 18.94 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 9.264e-05/0.5146, allocations: 123.2 kB / 378.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.5147, allocations: 20.8 kB / 378.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.012e-05/0.5148, allocations: 28.09 kB / 378.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.5148, allocations: 3.375 kB / 378.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5148, allocations: 1.156 kB / 378.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5148, allocations: 0 / 378.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.5156, allocations: 426.6 kB / 379.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5156, allocations: 2.875 kB / 379.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.516, allocations: 46.14 kB / 379.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.516, allocations: 2.75 kB / 379.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.516, allocations: 5.5 kB / 379.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.516, allocations: 5.484 kB / 379.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.516, allocations: 0 / 379.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.5166, allocations: 423.4 kB / 379.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.5167, allocations: 96.7 kB / 379.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.5167, allocations: 13 kB / 379.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.517, allocations: 4.969 kB / 379.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.517, allocations: 10.36 kB / 379.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.517, allocations: 8.312 kB / 379.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.5172, allocations: 133.3 kB / 379.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5172, allocations: 1.438 kB / 379.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005233/0.5178, allocations: 56.16 kB / 379.8 MB, free: 17.95 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.0007614/0.5185, allocations: 1.226 MB / 381.1 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.5189, allocations: 139.2 kB / 381.2 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.519, allocations: 0 / 381.2 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.5191, allocations: 50.41 kB / 381.3 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.5195, allocations: 32.47 kB / 381.3 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.521, allocations: 0.5416 MB / 381.8 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.5213, allocations: 0.7457 MB / 382.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.5215, allocations: 22.12 kB / 382.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.5216, allocations: 60.48 kB / 382.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5216, allocations: 0 / 382.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.5485, allocations: 3.31 MB / 386 MB, free: 15.34 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/0.5488, allocations: 162.8 kB / 386.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.184, allocations: 0 / 386.1 MB, free: 15.11 MB / 314.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