Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.112/1.112, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.149e-05, allocations: 3.984 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1888, allocations: 25.15 MB / 176.6 MB, free: 15.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05997/0.2488, allocations: 33.59 MB / 210.2 MB, free: 15.77 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.2491, allocations: 59.97 kB / 210.3 MB, free: 15.71 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01384/0.263, allocations: 3.345 MB / 213.6 MB, free: 12.35 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.263, allocations: 0 / 213.6 MB, free: 12.35 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.263, allocations: 4 kB / 213.6 MB, free: 12.34 MB / 186.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.0007709/0.2638, allocations: 462.5 kB / 214.1 MB, free: 11.85 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.2639, allocations: 8.031 kB / 214.1 MB, free: 11.84 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.264, allocations: 62.48 kB / 214.2 MB, free: 11.77 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.2641, allocations: 23.77 kB / 214.2 MB, free: 11.75 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.2643, allocations: 190.7 kB / 214.4 MB, free: 11.52 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.2644, allocations: 20.56 kB / 214.4 MB, free: 11.5 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.2644, allocations: 20 kB / 214.4 MB, free: 11.48 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.265, allocations: 227.2 kB / 214.6 MB, free: 11.24 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2651, allocations: 0 / 214.6 MB, free: 11.24 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.2651, allocations: 12 kB / 214.6 MB, free: 11.23 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2651, allocations: 7.953 kB / 214.6 MB, free: 11.22 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.2655, allocations: 123.9 kB / 214.8 MB, free: 11.1 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.2672, allocations: 0.871 MB / 215.6 MB, free: 10.16 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.2676, allocations: 151.8 kB / 215.8 MB, free: 9.988 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.2677, allocations: 62.58 kB / 215.9 MB, free: 9.918 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2678, allocations: 0 / 215.9 MB, free: 9.918 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.2678, allocations: 42.48 kB / 215.9 MB, free: 9.867 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 4.128e-06/0.2678, allocations: 3.984 kB / 215.9 MB, free: 9.863 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004343/0.2683, allocations: 129.7 kB / 216 MB, free: 9.73 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.2684, allocations: 110.8 kB / 216.1 MB, free: 9.598 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.2686, allocations: 171.4 kB / 216.3 MB, free: 9.422 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.2687, allocations: 25.7 kB / 216.3 MB, free: 9.391 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2688, allocations: 222.2 kB / 216.5 MB, free: 9.172 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.2689, allocations: 63.09 kB / 216.6 MB, free: 9.109 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.2689, allocations: 8 kB / 216.6 MB, free: 9.102 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2691, allocations: 322.8 kB / 216.9 MB, free: 8.777 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.2692, allocations: 44.56 kB / 217 MB, free: 8.73 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.2695, allocations: 154.5 kB / 217.1 MB, free: 8.531 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.2698, allocations: 71.97 kB / 217.2 MB, free: 8.461 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2698, allocations: 0 / 217.2 MB, free: 8.461 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007687/0.2706, allocations: 221.2 kB / 217.4 MB, free: 8.238 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.2706, allocations: 4.438 kB / 217.4 MB, free: 8.234 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2707, allocations: 11.94 kB / 217.4 MB, free: 8.223 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.672e-05/0.2707, allocations: 8 kB / 217.4 MB, free: 8.215 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.2713, allocations: 51.92 kB / 217.5 MB, free: 8.164 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/0.2713, allocations: 11.98 kB / 217.5 MB, free: 8.152 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.2717, allocations: 27.69 kB / 217.5 MB, free: 8.125 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.2717, allocations: 16.31 kB / 217.5 MB, free: 8.109 MB / 186.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.0001505/0.2719, allocations: 124.8 kB / 217.7 MB, free: 7.98 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.272, allocations: 23.66 kB / 217.7 MB, free: 7.957 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.432e-05/0.2722, allocations: 25.53 kB / 217.7 MB, free: 7.93 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.2722, allocations: 7.984 kB / 217.7 MB, free: 7.922 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2722, allocations: 0 / 217.7 MB, free: 7.922 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2722, allocations: 0 / 217.7 MB, free: 7.922 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.2734, allocations: 416.8 kB / 218.1 MB, free: 7.449 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.2734, allocations: 4 kB / 218.1 MB, free: 7.445 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.2739, allocations: 35.92 kB / 218.2 MB, free: 7.41 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.2739, allocations: 12.08 kB / 218.2 MB, free: 7.398 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.274, allocations: 4 kB / 218.2 MB, free: 7.395 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.274, allocations: 8 kB / 218.2 MB, free: 7.387 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.274, allocations: 3.938 kB / 218.2 MB, free: 7.383 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.2748, allocations: 421 kB / 218.6 MB, free: 6.918 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.275, allocations: 96.95 kB / 218.7 MB, free: 6.805 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.275, allocations: 4 kB / 218.7 MB, free: 6.801 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.2753, allocations: 4 kB / 218.7 MB, free: 6.797 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.2754, allocations: 11.98 kB / 218.7 MB, free: 6.785 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.2755, allocations: 8 kB / 218.7 MB, free: 6.777 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002278/0.2757, allocations: 147.2 kB / 218.9 MB, free: 6.633 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2757, allocations: 0 / 218.9 MB, free: 6.633 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007824/0.2765, allocations: 55.84 kB / 218.9 MB, free: 6.574 MB / 186.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.00128/0.2778, allocations: 1.227 MB / 220.1 MB, free: 5.297 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.2783, allocations: 130.3 kB / 220.3 MB, free: 5.172 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2784, allocations: 0 / 220.3 MB, free: 5.172 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.2785, allocations: 55.88 kB / 220.3 MB, free: 5.117 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.2792, allocations: 24.8 kB / 220.4 MB, free: 5.094 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.2814, allocations: 0.5731 MB / 220.9 MB, free: 4.469 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.282, allocations: 0.7402 MB / 221.7 MB, free: 3.703 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.2822, allocations: 63.42 kB / 221.7 MB, free: 3.641 MB / 186.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2822, allocations: 0 / 221.7 MB, free: 3.641 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/2.878, allocations: 3.086 MB / 224.8 MB, free: 0.5586 MB / 186.7 MB