Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.727/1.727, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.568e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2597, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.3773, allocations: 65.91 MB / 329.7 MB, free: 7.859 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.3776, allocations: 67.95 kB / 329.8 MB, free: 7.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01401/0.3916, allocations: 3.362 MB / 333.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3917, allocations: 3.938 kB / 333.2 MB, free: 4.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.3917, allocations: 4 kB / 333.2 MB, free: 4.402 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.0007965/0.3925, allocations: 458.5 kB / 333.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3926, allocations: 12.03 kB / 333.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.331e-05/0.3926, allocations: 58.55 kB / 333.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.3927, allocations: 23.72 kB / 333.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.393, allocations: 201.2 kB / 333.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.393, allocations: 20.5 kB / 333.9 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.3931, allocations: 20 kB / 333.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.3936, allocations: 228.3 kB / 334.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3937, allocations: 0 / 334.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.3937, allocations: 12 kB / 334.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3937, allocations: 4 kB / 334.2 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.3941, allocations: 127.8 kB / 334.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3958, allocations: 0.8672 MB / 335.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.3962, allocations: 159.8 kB / 335.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3963, allocations: 54.58 kB / 335.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3964, allocations: 8 kB / 335.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3964, allocations: 34.5 kB / 335.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.665e-06/0.3964, allocations: 0 / 335.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004887/0.3969, allocations: 141.6 kB / 335.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.397, allocations: 110.8 kB / 335.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3972, allocations: 171 kB / 335.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3973, allocations: 25.7 kB / 335.9 MB, free: 1.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3974, allocations: 222.2 kB / 336.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.3975, allocations: 63.09 kB / 336.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.3975, allocations: 8 kB / 336.1 MB, free: 1.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3977, allocations: 318.8 kB / 336.5 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3978, allocations: 44.56 kB / 336.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3981, allocations: 162.7 kB / 336.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3983, allocations: 75.91 kB / 336.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3983, allocations: 0 / 336.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005387/0.3988, allocations: 225.8 kB / 337 MB, free: 284 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3989, allocations: 12.03 kB / 337 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3989, allocations: 4 kB / 337 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.3989, allocations: 4 kB / 337 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.3994, allocations: 63.84 kB / 337 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.3994, allocations: 11.89 kB / 337.1 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.3996, allocations: 27.75 kB / 337.1 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3997, allocations: 12 kB / 337.1 MB, free: 148 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.0001097/0.3998, allocations: 124.3 kB / 337.2 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.3999, allocations: 19.81 kB / 337.2 MB, free: 0 / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.4, allocations: 29.61 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4, allocations: 0 / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4, allocations: 8 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-06/0.4001, allocations: 3.953 kB / 337.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007529/0.4008, allocations: 416.9 kB / 337.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4008, allocations: 0 / 337.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.4012, allocations: 43.86 kB / 337.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.4013, allocations: 8.094 kB / 337.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.4013, allocations: 7.953 kB / 337.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4013, allocations: 4 kB / 337.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4013, allocations: 0 / 337.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.4019, allocations: 428.1 kB / 338.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.402, allocations: 92.92 kB / 338.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.4021, allocations: 4 kB / 338.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.4023, allocations: 4 kB / 338.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.4023, allocations: 19.97 kB / 338.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4024, allocations: 8 kB / 338.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.4025, allocations: 143.4 kB / 338.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4026, allocations: 0 / 338.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000499/0.4031, allocations: 51.94 kB / 338.5 MB, free: 14.61 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.0009828/0.4041, allocations: 1.233 MB / 339.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.4045, allocations: 131.9 kB / 339.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4045, allocations: 0 / 339.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.4046, allocations: 51.94 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.000467/0.4051, allocations: 24.17 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.001633/0.4067, allocations: 0.5764 MB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4072, allocations: 0.7402 MB / 341.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4073, allocations: 59.41 kB / 341.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.4073, allocations: 0 / 341.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.522/2.929, allocations: 3.106 MB / 344.4 MB, free: 8.562 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat