Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.405e-05, allocations: 4 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.5863, allocations: 76.96 MB / 419.6 MB, free: 0.793 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5866, allocations: 63.34 kB / 419.6 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.6017, allocations: 3.587 MB / 423.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6018, allocations: 6.891 kB / 423.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.6018, allocations: 4 kB / 423.2 MB, free: 13.69 MB / 346.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.0008336/0.6027, allocations: 461.3 kB / 423.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.6027, allocations: 8.031 kB / 423.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/0.6028, allocations: 57.05 kB / 423.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.6029, allocations: 31.67 kB / 423.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.6031, allocations: 186.8 kB / 424 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.6031, allocations: 15.62 kB / 424 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.6032, allocations: 27.61 kB / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.6037, allocations: 226.9 kB / 424.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.6038, allocations: 3.906 kB / 424.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.6038, allocations: 11.06 kB / 424.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.6038, allocations: 7.953 kB / 424.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.6042, allocations: 125.7 kB / 424.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.6059, allocations: 0.8685 MB / 425.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.6063, allocations: 146.8 kB / 425.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.6065, allocations: 62.14 kB / 425.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.6065, allocations: 4 kB / 425.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.6066, allocations: 33.94 kB / 425.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.966e-06/0.6066, allocations: 0 / 425.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004568/0.607, allocations: 130.7 kB / 425.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.793e-05/0.6071, allocations: 106.8 kB / 425.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.6074, allocations: 174.5 kB / 425.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.6075, allocations: 29.08 kB / 425.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6076, allocations: 220.1 kB / 426.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.6077, allocations: 69.27 kB / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.6077, allocations: 6.875 kB / 426.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6079, allocations: 329.5 kB / 426.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.6081, allocations: 42.31 kB / 426.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.6083, allocations: 148.3 kB / 426.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.6085, allocations: 71.47 kB / 426.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6085, allocations: 4 kB / 426.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000592/0.6091, allocations: 217.4 kB / 427 MB, free: 10.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6092, allocations: 8 kB / 427 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6092, allocations: 4 kB / 427 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.6092, allocations: 4.438 kB / 427 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.6097, allocations: 67.39 kB / 427.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.6097, allocations: 11.94 kB / 427.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.61, allocations: 38.89 kB / 427.1 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.61, allocations: 11.5 kB / 427.1 MB, free: 9.938 MB / 346.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.0001263/0.6102, allocations: 123.6 kB / 427.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6103, allocations: 19.81 kB / 427.3 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.6104, allocations: 27.27 kB / 427.3 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6104, allocations: 0 / 427.3 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6104, allocations: 8 kB / 427.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6105, allocations: 0 / 427.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008259/0.6113, allocations: 421.8 kB / 427.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.6113, allocations: 0 / 427.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.6117, allocations: 39.92 kB / 427.8 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.6118, allocations: 4 kB / 427.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.6118, allocations: 3.25 kB / 427.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.6118, allocations: 8.094 kB / 427.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.6118, allocations: 0 / 427.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.6124, allocations: 421.9 kB / 428.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.6126, allocations: 88.92 kB / 428.3 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.6126, allocations: 11.81 kB / 428.3 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.6129, allocations: 8 kB / 428.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.6129, allocations: 15.91 kB / 428.3 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.6129, allocations: 4 kB / 428.3 MB, free: 8.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.6131, allocations: 139.5 kB / 428.5 MB, free: 8.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6131, allocations: 4 kB / 428.5 MB, free: 8.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.6137, allocations: 59.64 kB / 428.5 MB, free: 8.559 MB / 346.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.001238/0.6149, allocations: 1.226 MB / 429.8 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006243/0.6156, allocations: 132.6 kB / 429.9 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6157, allocations: 192 / 429.9 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.6159, allocations: 51.25 kB / 429.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.6166, allocations: 23.11 kB / 430 MB, free: 7.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.6192, allocations: 0.5765 MB / 430.5 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.6198, allocations: 0.7402 MB / 431.3 MB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.62, allocations: 63.03 kB / 431.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.753e-06/0.62, allocations: 0 / 431.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.228, allocations: 3.094 MB / 434.4 MB, free: 2.734 MB / 346.7 MB