Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.125e-05, allocations: 0 / 292.2 MB, free: 8.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.5607, allocations: 77.22 MB / 419.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.561, allocations: 66.03 kB / 419.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009933/0.5709, allocations: 2.267 MB / 422.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.571, allocations: 0 / 422.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.571, allocations: 8 kB / 422.2 MB, free: 14.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005332/0.5715, allocations: 388.9 kB / 422.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5716, allocations: 8.031 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.5717, allocations: 42.39 kB / 422.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.5717, allocations: 11.81 kB / 422.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.572, allocations: 205.1 kB / 422.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5721, allocations: 7.875 kB / 422.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.5721, allocations: 15.67 kB / 422.8 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.5723, allocations: 72.98 kB / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5723, allocations: 0 / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5723, allocations: 0 / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5724, allocations: 3.953 kB / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.5725, allocations: 35.31 kB / 422.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007292/0.5732, allocations: 410.6 kB / 423.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.5734, allocations: 57.92 kB / 423.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.5735, allocations: 24.77 kB / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.5735, allocations: 0 / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.5736, allocations: 38.47 kB / 423.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.798e-06/0.5736, allocations: 0 / 423.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002309/0.5738, allocations: 73.22 kB / 423.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.5739, allocations: 51.41 kB / 423.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.574, allocations: 131.8 kB / 423.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5741, allocations: 29.58 kB / 423.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.5741, allocations: 168.8 kB / 423.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.5742, allocations: 19.11 kB / 423.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.5742, allocations: 0 / 423.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5743, allocations: 322 kB / 424.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.5744, allocations: 11.25 kB / 424.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.5745, allocations: 13.75 kB / 424.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.5745, allocations: 31.73 kB / 424.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5745, allocations: 0 / 424.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000171/0.5747, allocations: 71.88 kB / 424.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5748, allocations: 4 kB / 424.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5748, allocations: 80 / 424.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5748, allocations: 0 / 424.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.5752, allocations: 43.97 kB / 424.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5752, allocations: 7.922 kB / 424.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/0.5753, allocations: 7.125 kB / 424.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5753, allocations: 0 / 424.4 MB, free: 12.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.858e-05/0.5754, allocations: 108.9 kB / 424.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.5755, allocations: 10.97 kB / 424.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.5755, allocations: 18.39 kB / 424.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5755, allocations: 0 / 424.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5755, allocations: 4 kB / 424.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5755, allocations: 4 kB / 424.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.5758, allocations: 193.5 kB / 424.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5758, allocations: 3.953 kB / 424.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.5761, allocations: 23.3 kB / 424.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5761, allocations: 0 / 424.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.5761, allocations: 3.984 kB / 424.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5761, allocations: 0 / 424.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5762, allocations: 4 kB / 424.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.5765, allocations: 183.6 kB / 425 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.5765, allocations: 84.97 kB / 425.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.5766, allocations: 7.156 kB / 425.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.5767, allocations: 11.91 kB / 425.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.5768, allocations: 4 kB / 425.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.5768, allocations: 0 / 425.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.825e-05/0.5769, allocations: 115.5 kB / 425.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5769, allocations: 0 / 425.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.5772, allocations: 23.91 kB / 425.2 MB, free: 11.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005628/0.5778, allocations: 0.7209 MB / 425.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.578, allocations: 38.25 kB / 426 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.578, allocations: 0 / 426 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.5781, allocations: 18.88 kB / 426 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.5784, allocations: 23.47 kB / 426 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009057/0.5793, allocations: 245.4 kB / 426.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.5796, allocations: 0.7004 MB / 427 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.5797, allocations: 30.55 kB / 427 MB, free: 9.629 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5797, allocations: 4 kB / 427 MB, free: 9.625 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.506/3.086, allocations: 1.646 MB / 428.6 MB, free: 7.996 MB / 346.7 MB