Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.189/2.189, 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 6.63e-05/6.645e-05, allocations: 4 kB / 283.1 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 50.2 MB / 333.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5726, allocations: 80.76 MB / 414.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.5729, allocations: 66.09 kB / 414.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.5918, allocations: 4.251 MB / 418.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5919, allocations: 4 kB / 418.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.5919, allocations: 4 kB / 418.4 MB, free: 11.26 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007786/0.5927, allocations: 479.1 kB / 418.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.5927, allocations: 11.97 kB / 418.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/0.5928, allocations: 50.05 kB / 418.9 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.593, allocations: 19.81 kB / 418.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.5933, allocations: 227.2 kB / 419.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.5934, allocations: 11.88 kB / 419.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.5934, allocations: 23.62 kB / 419.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.5939, allocations: 173.5 kB / 419.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5939, allocations: 0 / 419.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.5939, allocations: 13.67 kB / 419.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.594, allocations: 4 kB / 419.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.5943, allocations: 107.5 kB / 419.5 MB, free: 10.17 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.5959, allocations: 0.9477 MB / 420.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.5965, allocations: 151.4 kB / 420.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.5967, allocations: 62.47 kB / 420.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.5967, allocations: 8 kB / 420.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.5967, allocations: 30.56 kB / 420.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.424e-06/0.5968, allocations: 0 / 420.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002226/0.599, allocations: 0.6655 MB / 421.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.5991, allocations: 81.09 kB / 421.4 MB, free: 8.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.5993, allocations: 154 kB / 421.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.5993, allocations: 28.95 kB / 421.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.5994, allocations: 130.8 kB / 421.7 MB, free: 7.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.5995, allocations: 69.31 kB / 421.8 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.5996, allocations: 7.5 kB / 421.8 MB, free: 7.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5997, allocations: 324.5 kB / 422.1 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.5999, allocations: 58.09 kB / 422.2 MB, free: 7.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.6001, allocations: 84.28 kB / 422.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.6003, allocations: 88.66 kB / 422.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6003, allocations: 0 / 422.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000506/0.6008, allocations: 210.9 kB / 422.6 MB, free: 7.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.6009, allocations: 29.7 kB / 422.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6009, allocations: 4 kB / 422.6 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.6009, allocations: 0 / 422.6 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.6014, allocations: 71.3 kB / 422.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.6014, allocations: 3.938 kB / 422.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.6017, allocations: 15.05 kB / 422.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.6017, allocations: 4 kB / 422.7 MB, free: 7.094 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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.0001947/0.6019, allocations: 145.2 kB / 422.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.602, allocations: 19.81 kB / 422.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006275/0.6027, allocations: 238.6 kB / 423.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6027, allocations: 0 / 423.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6027, allocations: 0 / 423.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6027, allocations: 7.938 kB / 423.1 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.6037, allocations: 0.542 MB / 423.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.6037, allocations: 0 / 423.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.6042, allocations: 67.33 kB / 423.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.6042, allocations: 0 / 423.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.6043, allocations: 2.812 kB / 423.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.6043, allocations: 4 kB / 423.7 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6043, allocations: 4 kB / 423.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/0.605, allocations: 369.1 kB / 424.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.6052, allocations: 107.8 kB / 424.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.6052, allocations: 7.75 kB / 424.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.6055, allocations: 15.36 kB / 424.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.6056, allocations: 11.98 kB / 424.2 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.6056, allocations: 6.688 kB / 424.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.6058, allocations: 140.2 kB / 424.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6058, allocations: 0 / 424.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004669/0.6063, allocations: 53.31 kB / 424.4 MB, free: 5.516 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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.001099/0.6074, allocations: 0.9168 MB / 425.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.6079, allocations: 185.6 kB / 425.5 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6079, allocations: 3.938 kB / 425.5 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.6081, allocations: 127.2 kB / 425.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.6086, allocations: 42.28 kB / 425.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.6098, allocations: 350.2 kB / 426 MB, free: 3.988 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.6102, allocations: 0.7402 MB / 426.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.6104, allocations: 30.06 kB / 426.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.6106, allocations: 65.16 kB / 426.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6106, allocations: 0 / 426.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.6373, allocations: 4.245 MB / 431.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/0.6377, allocations: 168.1 kB / 431.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.114, allocations: 0 / 431.3 MB, free: 14.78 MB / 362.7 MB