Running command: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadModel(OpenHydraulics): time 1.884/1.884, allocations: 217.8 MB / 229.9 MB, free: 14.22 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 4.034e-05/4.034e-05, allocations: 5.25 kB / 283 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08078/0.08083, allocations: 50.21 MB / 333.2 MB, free: 7.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4262, allocations: 80.76 MB / 414 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.4264, allocations: 66.16 kB / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.4434, allocations: 4.248 MB / 418.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.671e-06/0.4435, allocations: 0 / 418.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.4435, allocations: 4 kB / 418.3 MB, free: 11.25 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.0006532/0.4442, allocations: 480.8 kB / 418.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4442, allocations: 8.031 kB / 418.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4444, allocations: 23.81 kB / 418.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.4447, allocations: 224.8 kB / 419 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.4447, allocations: 14.94 kB / 419 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.4448, allocations: 11.5 kB / 419.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.4452, allocations: 174.8 kB / 419.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4452, allocations: 3.938 kB / 419.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4453, allocations: 6.062 kB / 419.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4453, allocations: 4 kB / 419.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.4456, allocations: 119.5 kB / 419.4 MB, free: 10.22 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.001438/0.447, allocations: 0.9485 MB / 420.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.4475, allocations: 151.5 kB / 420.4 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.4477, allocations: 60.91 kB / 420.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4477, allocations: 0 / 420.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4477, allocations: 34.38 kB / 420.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.631e-06/0.4477, allocations: 4 kB / 420.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001804/0.4496, allocations: 0.6621 MB / 421.2 MB, free: 8.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.133e-05/0.4496, allocations: 81.11 kB / 421.3 MB, free: 8.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.4498, allocations: 161 kB / 421.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.4499, allocations: 29.02 kB / 421.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.45, allocations: 123.4 kB / 421.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.4501, allocations: 69.61 kB / 421.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.4501, allocations: 3 kB / 421.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4503, allocations: 335.9 kB / 422 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.4504, allocations: 54.97 kB / 422 MB, free: 7.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.4506, allocations: 85.69 kB / 422.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.4508, allocations: 81.36 kB / 422.2 MB, free: 7.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-06/0.4508, allocations: 0 / 422.2 MB, free: 7.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004699/0.4513, allocations: 215.4 kB / 422.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.4513, allocations: 29.7 kB / 422.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.214e-06/0.4514, allocations: 0 / 422.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.4514, allocations: 4 kB / 422.5 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.4518, allocations: 66.83 kB / 422.5 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4518, allocations: 4 kB / 422.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.452, allocations: 11.03 kB / 422.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.452, allocations: 11.98 kB / 422.5 MB, free: 7.148 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.0001862/0.4522, allocations: 146.3 kB / 422.7 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.4523, allocations: 15.81 kB / 422.7 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.4528, allocations: 232 kB / 422.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4528, allocations: 7.984 kB / 422.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.453e-06/0.4529, allocations: 0 / 422.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4529, allocations: 4 kB / 422.9 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.4538, allocations: 0.5477 MB / 423.5 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.765e-06/0.4538, allocations: 7.938 kB / 423.5 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.4542, allocations: 51.91 kB / 423.5 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.669e-06/0.4542, allocations: 4 kB / 423.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4542, allocations: 3.984 kB / 423.6 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.234e-06/0.4543, allocations: 3.938 kB / 423.6 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-06/0.4543, allocations: 0 / 423.6 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.4549, allocations: 369.5 kB / 423.9 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.4551, allocations: 113.1 kB / 424 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.4551, allocations: 3.438 kB / 424 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.4554, allocations: 15.42 kB / 424 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.4554, allocations: 11.98 kB / 424.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.4555, allocations: 7.5 kB / 424.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.4556, allocations: 134.5 kB / 424.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.4557, allocations: 0 / 424.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004271/0.4561, allocations: 55.23 kB / 424.3 MB, free: 5.578 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.0001814/0.4563, allocations: 118.5 kB / 424.4 MB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.4567, allocations: 183.4 kB / 424.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.529e-06/0.4567, allocations: 0 / 424.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.4569, allocations: 124.2 kB / 424.7 MB, free: 5.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.4573, allocations: 46.55 kB / 424.7 MB, free: 5.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.4581, allocations: 308.5 kB / 425 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4585, allocations: 0.7363 MB / 425.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.4587, allocations: 26.08 kB / 425.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.611e-05/0.4588, allocations: 27.36 kB / 425.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.338e-06/0.4588, allocations: 3.938 kB / 425.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of Templates: time 0.007799/0.4666, allocations: 2.417 MB / 428.2 MB, free: 1.668 MB / 346.7 MB