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.763/1.763, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.538e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2602, allocations: 38.77 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.3764, allocations: 65.91 MB / 329.8 MB, free: 7.754 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.3767, allocations: 67.95 kB / 329.8 MB, free: 7.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.3909, allocations: 3.362 MB / 333.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3909, allocations: 3.938 kB / 333.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.391, allocations: 8 kB / 333.2 MB, free: 4.293 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.0007836/0.3918, allocations: 458.5 kB / 333.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3918, allocations: 8.031 kB / 333.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.097e-05/0.3919, allocations: 54.55 kB / 333.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.392, allocations: 23.72 kB / 333.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3922, allocations: 201.2 kB / 333.9 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.3922, allocations: 16.56 kB / 333.9 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.3923, allocations: 24 kB / 334 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.3928, allocations: 223.1 kB / 334.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.3928, allocations: 4 kB / 334.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.3929, allocations: 11.94 kB / 334.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3929, allocations: 4 kB / 334.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.3933, allocations: 124 kB / 334.3 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.395, allocations: 0.871 MB / 335.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.3953, allocations: 152 kB / 335.3 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.3955, allocations: 62.7 kB / 335.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3955, allocations: 4 kB / 335.4 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3956, allocations: 46.5 kB / 335.5 MB, free: 1.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 3.126e-06/0.3956, allocations: 0 / 335.5 MB, free: 1.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004434/0.396, allocations: 129.3 kB / 335.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.3961, allocations: 110.8 kB / 335.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.3964, allocations: 171 kB / 335.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3964, allocations: 29.7 kB / 335.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3966, allocations: 222.2 kB / 336.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.3966, allocations: 59.11 kB / 336.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.3967, allocations: 12 kB / 336.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3968, allocations: 322.8 kB / 336.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.397, allocations: 44.56 kB / 336.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.3972, allocations: 150.5 kB / 336.7 MB, free: 496 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3974, allocations: 71.91 kB / 336.7 MB, free: 424 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3974, allocations: 0 / 336.7 MB, free: 424 kB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005545/0.398, allocations: 217.5 kB / 337 MB, free: 200 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3981, allocations: 8 kB / 337 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3981, allocations: 4 kB / 337 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.3981, allocations: 4 kB / 337 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.3986, allocations: 67.8 kB / 337 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.3986, allocations: 15.94 kB / 337.1 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.3988, allocations: 27.69 kB / 337.1 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3989, allocations: 8 kB / 337.1 MB, free: 64 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.0001298/0.399, allocations: 129.1 kB / 337.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.3991, allocations: 15.81 kB / 337.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.144e-05/0.3992, allocations: 25.52 kB / 337.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3992, allocations: 4 kB / 337.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3992, allocations: 0 / 337.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3993, allocations: 3.953 kB / 337.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/0.4, allocations: 420.9 kB / 337.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4001, allocations: 0 / 337.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.4005, allocations: 43.91 kB / 337.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.4005, allocations: 4 kB / 337.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.4005, allocations: 3.953 kB / 337.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.4005, allocations: 11.94 kB / 337.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4005, allocations: 0 / 337.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.4011, allocations: 426.4 kB / 338.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.4012, allocations: 92.95 kB / 338.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.4013, allocations: 8 kB / 338.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.4015, allocations: 4 kB / 338.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.4016, allocations: 19.94 kB / 338.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.4016, allocations: 4 kB / 338.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.4018, allocations: 139.4 kB / 338.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4018, allocations: 0 / 338.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005317/0.4023, allocations: 47.94 kB / 338.5 MB, free: 14.54 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.0009937/0.4034, allocations: 1.231 MB / 339.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.4038, allocations: 132.3 kB / 339.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4038, allocations: 0 / 339.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4039, allocations: 51.94 kB / 339.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.4044, allocations: 28.97 kB / 339.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.4061, allocations: 0.5764 MB / 340.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4065, allocations: 0.7402 MB / 341.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.4066, allocations: 59.42 kB / 341.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4067, allocations: 0 / 341.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.611/3.018, allocations: 3.108 MB / 344.4 MB, free: 8.488 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