Running command: translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadModel(OpenHydraulics): time 1.912/1.912, 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 4.287e-05/4.294e-05, allocations: 7.984 kB / 283 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0828/0.08286, allocations: 50.18 MB / 333.2 MB, free: 7.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.4307, allocations: 83.37 MB / 416.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.4309, allocations: 66.34 kB / 416.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03382/0.4648, allocations: 8.086 MB / 424.7 MB, free: 5.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.007e-06/0.4648, allocations: 4 kB / 424.7 MB, free: 5.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.381e-05/0.4649, allocations: 4 kB / 424.7 MB, free: 5.461 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008033/0.4657, allocations: 0.5052 MB / 425.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4657, allocations: 12.03 kB / 425.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.4658, allocations: 31.58 kB / 425.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.4663, allocations: 262.7 kB / 425.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.4664, allocations: 11.94 kB / 425.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.4664, allocations: 11.56 kB / 425.6 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.4667, allocations: 144.5 kB / 425.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4667, allocations: 3.938 kB / 425.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.4668, allocations: 7.875 kB / 425.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.7e-06/0.4668, allocations: 4 kB / 425.7 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.4671, allocations: 121.5 kB / 425.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4684, allocations: 0.8056 MB / 426.7 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.4687, allocations: 81.73 kB / 426.7 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4688, allocations: 40.2 kB / 426.8 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.4689, allocations: 88.84 kB / 426.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.469, allocations: 34.56 kB / 426.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.859e-06/0.469, allocations: 0 / 426.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001284/0.4703, allocations: 339 kB / 427.2 MB, free: 3.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4703, allocations: 55.36 kB / 427.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.4707, allocations: 245.2 kB / 427.5 MB, free: 2.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4708, allocations: 25.7 kB / 427.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.4709, allocations: 150.6 kB / 427.7 MB, free: 2.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.471, allocations: 35.27 kB / 427.7 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.471, allocations: 0 / 427.7 MB, free: 2.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4712, allocations: 342.7 kB / 428.1 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.4713, allocations: 33.31 kB / 428.1 MB, free: 2.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.4714, allocations: 81.42 kB / 428.2 MB, free: 2.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.4716, allocations: 54.14 kB / 428.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-06/0.4716, allocations: 0 / 428.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003747/0.472, allocations: 155.3 kB / 428.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.472, allocations: 7.984 kB / 428.4 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.028e-06/0.472, allocations: 0 / 428.4 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4721, allocations: 4 kB / 428.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.4724, allocations: 48.03 kB / 428.4 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4724, allocations: 4 kB / 428.4 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.4726, allocations: 23.06 kB / 428.5 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.4727, allocations: 8 kB / 428.5 MB, free: 1.875 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001007/0.4728, allocations: 108.5 kB / 428.6 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.4728, allocations: 27.7 kB / 428.6 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.4732, allocations: 150.1 kB / 428.8 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4733, allocations: 4 kB / 428.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.322e-06/0.4733, allocations: 3.938 kB / 428.8 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4733, allocations: 0 / 428.8 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/0.474, allocations: 460.1 kB / 429.2 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.869e-06/0.474, allocations: 4 kB / 429.2 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.4742, allocations: 38.98 kB / 429.2 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.082e-06/0.4743, allocations: 3.984 kB / 429.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.4743, allocations: 4 kB / 429.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.786e-06/0.4743, allocations: 4 kB / 429.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.274e-06/0.4743, allocations: 3.953 kB / 429.3 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.4747, allocations: 242 kB / 429.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.4748, allocations: 122.6 kB / 429.6 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.4749, allocations: 7.984 kB / 429.6 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.4751, allocations: 15.98 kB / 429.6 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.4752, allocations: 15.61 kB / 429.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4752, allocations: 4 kB / 429.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002762/0.4755, allocations: 202.4 kB / 429.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4755, allocations: 0 / 429.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005557/0.4761, allocations: 98.86 kB / 430 MB, free: 440 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001374/0.4775, allocations: 418.9 kB / 430.4 MB, free: 76 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.4778, allocations: 79.56 kB / 430.4 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.998e-06/0.4778, allocations: 3.938 kB / 430.4 MB, free: 16 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.4779, allocations: 47.36 kB / 430.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.4784, allocations: 45.41 kB / 430.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.479, allocations: 257 kB / 430.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.4795, allocations: 0.7441 MB / 431.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.4797, allocations: 37.67 kB / 431.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.4797, allocations: 19.44 kB / 431.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of SimCode: time 1.414e-06/0.4798, allocations: 4 kB / 431.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Templates: time 0.01024/0.49, allocations: 3.615 MB / 435.2 MB, free: 11.27 MB / 362.7 MB