Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.27/2.27, 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.993e-05/5.999e-05, allocations: 4 kB / 283.1 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 50.21 MB / 333.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4896/0.5965, allocations: 80.84 MB / 414.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.5968, allocations: 64.38 kB / 414.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02943/0.6262, allocations: 6.207 MB / 420.4 MB, free: 9.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6263, allocations: 0 / 420.4 MB, free: 9.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.6263, allocations: 8 kB / 420.4 MB, free: 9.195 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006693/0.627, allocations: 447.9 kB / 420.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.627, allocations: 12.03 kB / 420.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.6271, allocations: 36.69 kB / 420.9 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.6272, allocations: 15.81 kB / 420.9 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.6275, allocations: 215.6 kB / 421.1 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.6276, allocations: 7.688 kB / 421.2 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.6276, allocations: 15.44 kB / 421.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.6279, allocations: 116.3 kB / 421.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6279, allocations: 0 / 421.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.628, allocations: 3.375 kB / 421.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.628, allocations: 4 kB / 421.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.6283, allocations: 118.6 kB / 421.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.6297, allocations: 0.9159 MB / 422.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.6299, allocations: 61.88 kB / 422.4 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.04e-05/0.6299, allocations: 24.36 kB / 422.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.6301, allocations: 81.11 kB / 422.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.6302, allocations: 38.42 kB / 422.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.495e-06/0.6302, allocations: 4 kB / 422.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003037/0.6305, allocations: 84.5 kB / 422.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.6306, allocations: 51.41 kB / 422.7 MB, free: 6.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.6308, allocations: 179.6 kB / 422.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.6309, allocations: 29.52 kB / 422.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.631, allocations: 119.2 kB / 423 MB, free: 6.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.631, allocations: 23.72 kB / 423 MB, free: 6.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.631, allocations: 3.812 kB / 423 MB, free: 6.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6312, allocations: 326.5 kB / 423.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.6313, allocations: 31.56 kB / 423.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.6314, allocations: 23.69 kB / 423.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/0.6315, allocations: 31.36 kB / 423.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6315, allocations: 0 / 423.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000279/0.6318, allocations: 112.2 kB / 423.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.6318, allocations: 11.94 kB / 423.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6318, allocations: 96 / 423.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.6319, allocations: 3.938 kB / 423.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.6321, allocations: 19.98 kB / 423.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6321, allocations: 0 / 423.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.6322, allocations: 7.844 kB / 423.6 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.6322, allocations: 11.78 kB / 423.6 MB, free: 6.031 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 (10): * Single equations (assignments): 10 * 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.0001005/0.6324, allocations: 108.9 kB / 423.7 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.6324, allocations: 7.906 kB / 423.7 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.6327, allocations: 101.3 kB / 423.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-06/0.6328, allocations: 4 kB / 423.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6328, allocations: 0 / 423.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.6328, allocations: 4 kB / 423.8 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.6334, allocations: 385.7 kB / 424.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6335, allocations: 0 / 424.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.6336, allocations: 11.98 kB / 424.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.6336, allocations: 4 kB / 424.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.6336, allocations: 0 / 424.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6336, allocations: 0 / 424.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6336, allocations: 0 / 424.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.6339, allocations: 197.1 kB / 424.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.634, allocations: 108.6 kB / 424.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.6341, allocations: 7.938 kB / 424.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.6342, allocations: 0 / 424.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.6342, allocations: 7.938 kB / 424.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.6343, allocations: 4.188 kB / 424.5 MB, free: 5.066 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.6345, allocations: 150.7 kB / 424.7 MB, free: 4.938 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6345, allocations: 0 / 424.7 MB, free: 4.938 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000583/0.6351, allocations: 95.8 kB / 424.7 MB, free: 4.848 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): 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.001008/0.6361, allocations: 0.88 MB / 425.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.6364, allocations: 54.3 kB / 425.7 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6364, allocations: 4 kB / 425.7 MB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.6365, allocations: 23.84 kB / 425.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.637, allocations: 57.58 kB / 425.8 MB, free: 3.852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.6378, allocations: 227.5 kB / 426 MB, free: 3.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6382, allocations: 0.7088 MB / 426.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.6383, allocations: 25.31 kB / 426.7 MB, free: 2.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.6385, allocations: 46.47 kB / 426.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6385, allocations: 0 / 426.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.6638, allocations: 4.492 MB / 431.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/0.6642, allocations: 154.5 kB / 431.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.951, allocations: 0 / 431.4 MB, free: 14.19 MB / 362.7 MB