Running command: translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") Notification: Performance of loadModel(OpenHydraulics): time 2.025/2.025, 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 5.526e-05/5.538e-05, allocations: 8 kB / 283 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.09937, allocations: 50.19 MB / 333.2 MB, free: 7.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5022, allocations: 83.92 MB / 417.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.5025, allocations: 74.97 kB / 417.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06654/0.569, allocations: 16.84 MB / 434 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.045e-06/0.5691, allocations: 0 / 434 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8e-05/0.5692, allocations: 23.92 kB / 434.1 MB, free: 13.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001787/0.571, allocations: 0.9681 MB / 435 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.571, allocations: 8.031 kB / 435 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.5713, allocations: 114.6 kB / 435.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.5733, allocations: 0.6802 MB / 435.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.5733, allocations: 34.69 kB / 435.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.5735, allocations: 41.44 kB / 435.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.5744, allocations: 402.2 kB / 436.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5744, allocations: 0 / 436.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.5745, allocations: 17.06 kB / 436.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.5745, allocations: 19.89 kB / 436.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.5754, allocations: 400.6 kB / 436.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.5798, allocations: 2.52 MB / 439.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.581, allocations: 336.7 kB / 439.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.5813, allocations: 106.6 kB / 439.7 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.5813, allocations: 11.36 kB / 439.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.5814, allocations: 35.59 kB / 439.7 MB, free: 8.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.476e-06/0.5814, allocations: 4 kB / 439.7 MB, free: 8.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008551/0.5823, allocations: 317.5 kB / 440 MB, free: 8.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.5823, allocations: 59.34 kB / 440.1 MB, free: 8.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.5845, allocations: 1.195 MB / 441.3 MB, free: 7.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.5846, allocations: 33.02 kB / 441.3 MB, free: 7.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.585, allocations: 442 kB / 441.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5852, allocations: 89.73 kB / 441.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.5852, allocations: 10.88 kB / 441.9 MB, free: 6.863 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5854, allocations: 325.7 kB / 442.2 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.5856, allocations: 103.2 kB / 442.3 MB, free: 6.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.586, allocations: 184.9 kB / 442.5 MB, free: 6.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.5863, allocations: 133.1 kB / 442.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.629e-06/0.5863, allocations: 4 kB / 442.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00106/0.5874, allocations: 429.3 kB / 443 MB, free: 5.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.5875, allocations: 8 kB / 443 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.299e-06/0.5875, allocations: 3.938 kB / 443 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.5875, allocations: 4 kB / 443 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.5881, allocations: 91.44 kB / 443.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.5881, allocations: 8.188 kB / 443.1 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.5886, allocations: 55.38 kB / 443.2 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.5887, allocations: 18.8 kB / 443.2 MB, free: 5.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001373/0.5888, allocations: 126.3 kB / 443.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.5891, allocations: 94.83 kB / 443.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.5901, allocations: 435 kB / 443.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.794e-06/0.5902, allocations: 0 / 443.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.813e-06/0.5902, allocations: 4 kB / 443.8 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5902, allocations: 3.984 kB / 443.8 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5913, allocations: 0.6712 MB / 444.5 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-06/0.5913, allocations: 4 kB / 444.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.5918, allocations: 63.97 kB / 444.6 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.5918, allocations: 7.984 kB / 444.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.5918, allocations: 7.812 kB / 444.6 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.293e-06/0.5919, allocations: 0 / 444.6 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.281e-06/0.5919, allocations: 0 / 444.6 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.5927, allocations: 466.6 kB / 445.1 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.5932, allocations: 266.2 kB / 445.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.5934, allocations: 15.05 kB / 445.3 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.5938, allocations: 11.19 kB / 445.3 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.5939, allocations: 15.97 kB / 445.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.594, allocations: 15.42 kB / 445.4 MB, free: 3.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001607/0.5956, allocations: 0.9305 MB / 446.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.5956, allocations: 0 / 446.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008594/0.5965, allocations: 206.8 kB / 446.5 MB, free: 2.922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * 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.001437/0.5979, allocations: 430.4 kB / 446.9 MB, free: 2.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006914/0.5986, allocations: 268.4 kB / 447.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.764e-06/0.5987, allocations: 0 / 447.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.599, allocations: 130.3 kB / 447.3 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6002, allocations: 208.9 kB / 447.5 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.6028, allocations: 1.183 MB / 448.7 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008881/0.6038, allocations: 1.036 MB / 449.7 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007012/0.6045, allocations: 173.6 kB / 449.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.6047, allocations: 67.42 kB / 450 MB, free: 15.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.622e-06/0.6048, allocations: 0 / 450 MB, free: 15.77 MB / 378.7 MB Notification: Performance of Templates: time 0.02918/0.6339, allocations: 10.78 MB / 460.8 MB, free: 5.012 MB / 378.7 MB