Running command: translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadModel(OpenHydraulics): time 1.972/1.972, allocations: 217.8 MB / 230 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.461e-05/4.472e-05, allocations: 4 kB / 283 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08284, allocations: 50.19 MB / 333.2 MB, free: 7.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3456/0.4284, allocations: 78.96 MB / 412.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.4287, allocations: 68.06 kB / 412.3 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.44, allocations: 2.794 MB / 415 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.862e-06/0.44, allocations: 0 / 415 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4401, allocations: 0 / 415 MB, free: 14.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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005489/0.4406, allocations: 415.1 kB / 415.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4407, allocations: 12.02 kB / 415.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.4408, allocations: 19.81 kB / 415.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.441, allocations: 197.6 kB / 415.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.4411, allocations: 11.06 kB / 415.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.4411, allocations: 7 kB / 415.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.4413, allocations: 93.52 kB / 415.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.924e-06/0.4414, allocations: 0 / 415.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4414, allocations: 0 / 415.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.76e-06/0.4414, allocations: 4 kB / 415.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.4416, allocations: 60.88 kB / 415.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/0.4425, allocations: 0.5751 MB / 416.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.4427, allocations: 82.92 kB / 416.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.4428, allocations: 38.86 kB / 416.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.4428, allocations: 11.98 kB / 416.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4429, allocations: 31.34 kB / 416.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.4429, allocations: 0 / 416.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001202/0.4441, allocations: 335.5 kB / 416.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.4442, allocations: 81.11 kB / 417 MB, free: 12.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.4443, allocations: 130 kB / 417.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.4444, allocations: 25.7 kB / 417.1 MB, free: 12.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.4445, allocations: 106.6 kB / 417.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.4445, allocations: 35.08 kB / 417.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-06/0.4445, allocations: 4 kB / 417.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4447, allocations: 325.5 kB / 417.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.4448, allocations: 26.92 kB / 417.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.4449, allocations: 35.97 kB / 417.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.445, allocations: 55.81 kB / 417.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.855e-06/0.445, allocations: 0 / 417.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002825/0.4453, allocations: 136.8 kB / 417.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.4454, allocations: 33.73 kB / 417.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.4454, allocations: 0 / 417.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4454, allocations: 0 / 417.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.4457, allocations: 31.97 kB / 417.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.617e-06/0.4457, allocations: 4 kB / 417.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.4459, allocations: 15.98 kB / 417.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.4459, allocations: 11.67 kB / 418 MB, free: 11.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001198/0.446, allocations: 142 kB / 418.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.4461, allocations: 7.906 kB / 418.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.4465, allocations: 162.2 kB / 418.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.51e-06/0.4465, allocations: 4 kB / 418.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4465, allocations: 4 kB / 418.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-06/0.4465, allocations: 0 / 418.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.4469, allocations: 233.5 kB / 418.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-06/0.4469, allocations: 0 / 418.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.4471, allocations: 39.91 kB / 418.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.916e-06/0.4471, allocations: 0 / 418.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4471, allocations: 0 / 418.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4472, allocations: 0 / 418.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-06/0.4472, allocations: 0 / 418.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.4475, allocations: 242.8 kB / 418.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4476, allocations: 96.25 kB / 418.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.4477, allocations: 7.984 kB / 418.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4479, allocations: 15.98 kB / 418.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.448, allocations: 11.42 kB / 418.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.448, allocations: 4 kB / 418.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.4481, allocations: 114.3 kB / 419 MB, free: 10.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.4481, allocations: 0 / 419 MB, free: 10.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.4485, allocations: 30.25 kB / 419 MB, free: 10.2 MB / 346.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 (12): * Single equations (assignments): 11 * 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.0001704/0.4487, allocations: 113.6 kB / 419.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.449, allocations: 120.7 kB / 419.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.142e-06/0.449, allocations: 0 / 419.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.4492, allocations: 104.8 kB / 419.4 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4495, allocations: 34.47 kB / 419.4 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.45, allocations: 158.1 kB / 419.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4503, allocations: 0.7048 MB / 420.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.4505, allocations: 20.75 kB / 420.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.4505, allocations: 15.44 kB / 420.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4505, allocations: 0 / 420.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of Templates: time 0.00616/0.4567, allocations: 1.798 MB / 422.1 MB, free: 7.152 MB / 346.7 MB