Running command: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadModel(OpenHydraulics): time 1.878/1.878, allocations: 217.8 MB / 229.9 MB, free: 14.2 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 3.8e-05/3.806e-05, allocations: 4 kB / 283 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08166/0.08172, allocations: 50.2 MB / 333.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4312, allocations: 83.85 MB / 417.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.4314, allocations: 75.86 kB / 417.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03585/0.4673, allocations: 8.568 MB / 425.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.637e-06/0.4674, allocations: 0 / 425.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.4674, allocations: 8 kB / 425.7 MB, free: 4.582 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008077/0.4682, allocations: 0.5368 MB / 426.3 MB, free: 4.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4683, allocations: 8.031 kB / 426.3 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.4684, allocations: 35.92 kB / 426.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.4689, allocations: 258.2 kB / 426.6 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.4689, allocations: 20.25 kB / 426.6 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.469, allocations: 23.44 kB / 426.6 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.4695, allocations: 255.8 kB / 426.8 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.4696, allocations: 0 / 426.8 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.4696, allocations: 15.88 kB / 426.9 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.702e-06/0.4697, allocations: 7.938 kB / 426.9 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.4701, allocations: 201.4 kB / 427.1 MB, free: 3.348 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.002441/0.4726, allocations: 1.481 MB / 428.5 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.473, allocations: 160.7 kB / 428.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.4732, allocations: 73.84 kB / 428.8 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.4735, allocations: 174.1 kB / 428.9 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4735, allocations: 33.69 kB / 429 MB, free: 1.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 5.42e-06/0.4735, allocations: 0 / 429 MB, free: 1.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001867/0.4754, allocations: 0.6599 MB / 429.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4755, allocations: 59.55 kB / 429.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.4758, allocations: 232 kB / 429.9 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.4759, allocations: 32.83 kB / 430 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.476, allocations: 160.5 kB / 430.1 MB, free: 420 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.4761, allocations: 73.16 kB / 430.2 MB, free: 356 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.4761, allocations: 3.188 kB / 430.2 MB, free: 356 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4763, allocations: 341.5 kB / 430.5 MB, free: 16 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.4765, allocations: 76.98 kB / 430.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.4768, allocations: 114.8 kB / 430.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.477, allocations: 77.72 kB / 430.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.477, allocations: 4 kB / 430.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005802/0.4776, allocations: 245 kB / 431 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4776, allocations: 4 kB / 431 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4776, allocations: 4 kB / 431 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.4777, allocations: 7.984 kB / 431 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.4781, allocations: 66.52 kB / 431.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.4781, allocations: 7.938 kB / 431.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.4784, allocations: 19.23 kB / 431.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.4784, allocations: 15.11 kB / 431.2 MB, free: 15.5 MB / 362.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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001596/0.4786, allocations: 120.1 kB / 431.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.4787, allocations: 23.72 kB / 431.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.4793, allocations: 233.6 kB / 431.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.481e-06/0.4793, allocations: 4 kB / 431.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.655e-06/0.4793, allocations: 4 kB / 431.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-06/0.4793, allocations: 0 / 431.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.4805, allocations: 0.6293 MB / 432.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-06/0.4806, allocations: 48 / 432.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.481, allocations: 67.88 kB / 432.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.552e-06/0.481, allocations: 3.938 kB / 432.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.4811, allocations: 11.56 kB / 432.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.808e-06/0.4811, allocations: 7.984 kB / 432.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.061e-06/0.4811, allocations: 0 / 432.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.4818, allocations: 395.7 kB / 432.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.482, allocations: 125.5 kB / 432.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.4821, allocations: 11.77 kB / 432.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.4824, allocations: 22.97 kB / 432.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.4824, allocations: 15.72 kB / 432.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4825, allocations: 8 kB / 432.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.4827, allocations: 189.8 kB / 433 MB, free: 13.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4828, allocations: 0 / 433 MB, free: 13.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006245/0.4834, allocations: 126 kB / 433.1 MB, free: 13.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0004064/0.4838, allocations: 208.6 kB / 433.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.4843, allocations: 172.1 kB / 433.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.963e-06/0.4843, allocations: 0 / 433.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.4845, allocations: 83.55 kB / 433.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.485, allocations: 56.34 kB / 433.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4861, allocations: 440.8 kB / 434.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.4865, allocations: 0.7638 MB / 434.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.4868, allocations: 46.88 kB / 434.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4869, allocations: 34.67 kB / 434.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.449e-06/0.4869, allocations: 0 / 434.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Templates: time 0.01217/0.4991, allocations: 4.482 MB / 439.4 MB, free: 7.625 MB / 362.7 MB