Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.149/2.149, allocations: 217.8 MB / 229.9 MB, free: 14.21 MB / 202.7 MB Warning: Requested package Modelica of version 3.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 5.342e-05/5.353e-05, allocations: 4 kB / 283.1 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 50.2 MB / 333.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5535, allocations: 78.39 MB / 411.7 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5538, allocations: 68.75 kB / 411.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01168/0.5655, allocations: 2.644 MB / 414.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5655, allocations: 0 / 414.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.5655, allocations: 0 / 414.4 MB, free: 14.93 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005201/0.5661, allocations: 407.1 kB / 414.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5661, allocations: 8.031 kB / 414.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.5662, allocations: 33.88 kB / 414.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.5662, allocations: 19.81 kB / 414.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.5665, allocations: 193.8 kB / 415.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5666, allocations: 11.39 kB / 415.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.5666, allocations: 7.312 kB / 415.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.5668, allocations: 83.33 kB / 415.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5668, allocations: 0 / 415.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.5669, allocations: 7.875 kB / 415.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5669, allocations: 0 / 415.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.5671, allocations: 51.3 kB / 415.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/0.5679, allocations: 0.5007 MB / 415.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.568, allocations: 43.81 kB / 415.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.5681, allocations: 16.67 kB / 415.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.5681, allocations: 0 / 415.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5682, allocations: 30.56 kB / 415.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.5682, allocations: 7.938 kB / 415.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002512/0.5684, allocations: 93.78 kB / 415.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.5685, allocations: 81.11 kB / 416 MB, free: 13.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.5687, allocations: 150.8 kB / 416.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.5687, allocations: 25.7 kB / 416.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.5688, allocations: 103.4 kB / 416.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.5689, allocations: 19.73 kB / 416.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.5689, allocations: 0 / 416.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.569, allocations: 322.3 kB / 416.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.5691, allocations: 19.44 kB / 416.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.5692, allocations: 14.31 kB / 416.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.598e-05/0.5693, allocations: 48.38 kB / 416.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5693, allocations: 0 / 416.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002336/0.5695, allocations: 113.1 kB / 416.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.5696, allocations: 29.7 kB / 416.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5696, allocations: 4 kB / 416.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5696, allocations: 3.953 kB / 416.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.5698, allocations: 11.98 kB / 416.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5698, allocations: 0 / 416.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.57, allocations: 11.91 kB / 416.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.57, allocations: 3.25 kB / 416.8 MB, free: 12.39 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001119/0.5701, allocations: 130.7 kB / 417 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.5702, allocations: 7.906 kB / 417 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.5704, allocations: 117.7 kB / 417.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5705, allocations: 0 / 417.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.5705, allocations: 7.938 kB / 417.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5705, allocations: 0 / 417.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.5711, allocations: 383.2 kB / 417.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5711, allocations: 0 / 417.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.5712, allocations: 15.92 kB / 417.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5712, allocations: 128 / 417.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.5712, allocations: 7.953 kB / 417.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5712, allocations: 3.938 kB / 417.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5712, allocations: 4 kB / 417.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.5715, allocations: 205.2 kB / 417.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.905e-05/0.5716, allocations: 99.2 kB / 417.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.5717, allocations: 4 kB / 417.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5718, allocations: 0 / 417.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.5718, allocations: 7.984 kB / 417.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.5719, allocations: 0 / 417.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.572, allocations: 127.9 kB / 417.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.572, allocations: 4 kB / 417.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.5724, allocations: 24 kB / 418 MB, free: 11.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.000626/0.573, allocations: 0.8247 MB / 418.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.5733, allocations: 103.1 kB / 418.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5733, allocations: 0 / 418.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.5734, allocations: 69.22 kB / 419 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.5738, allocations: 26.42 kB / 419 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.5744, allocations: 165.1 kB / 419.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.5747, allocations: 0.708 MB / 419.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.5749, allocations: 20.92 kB / 419.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.5749, allocations: 28.73 kB / 419.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.575, allocations: 0 / 419.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.6002, allocations: 2.677 MB / 422.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.6006, allocations: 148.8 kB / 422.7 MB, free: 6.379 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.83, allocations: 3.938 kB / 422.7 MB, free: 6.375 MB / 346.7 MB