Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.024/2.024, 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 6.569e-05/6.564e-05, allocations: 5.547 kB / 283.1 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 50.2 MB / 333.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.5433, allocations: 83.39 MB / 416.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5437, allocations: 70.41 kB / 416.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04276/0.5864, allocations: 8.087 MB / 424.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5865, allocations: 0 / 424.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.176e-05/0.5865, allocations: 4 kB / 424.9 MB, free: 5.09 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.001109/0.5877, allocations: 0.5182 MB / 425.4 MB, free: 4.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.5877, allocations: 8.031 kB / 425.4 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.625e-05/0.5878, allocations: 45.48 kB / 425.4 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.5879, allocations: 23.72 kB / 425.5 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.5885, allocations: 272.3 kB / 425.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.5886, allocations: 7.188 kB / 425.7 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.5886, allocations: 10.88 kB / 425.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.589, allocations: 150.1 kB / 425.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5891, allocations: 3.938 kB / 425.9 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.5891, allocations: 7.375 kB / 425.9 MB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.5891, allocations: 0 / 425.9 MB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.5895, allocations: 120.7 kB / 426 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.5912, allocations: 0.8002 MB / 426.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.5916, allocations: 85.62 kB / 426.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.5917, allocations: 38.92 kB / 426.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.5919, allocations: 85.11 kB / 427 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.5919, allocations: 34.56 kB / 427.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.196e-06/0.592, allocations: 0 / 427.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001974/0.5939, allocations: 334.2 kB / 427.4 MB, free: 2.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.594, allocations: 59.36 kB / 427.4 MB, free: 2.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.5945, allocations: 240.1 kB / 427.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.5946, allocations: 33.42 kB / 427.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.5947, allocations: 147.5 kB / 427.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.5948, allocations: 34.09 kB / 427.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.5948, allocations: 3.938 kB / 427.9 MB, free: 2.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.595, allocations: 332.6 kB / 428.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.5952, allocations: 36.69 kB / 428.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.5953, allocations: 84.89 kB / 428.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.5955, allocations: 43.8 kB / 428.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5956, allocations: 4.031 kB / 428.4 MB, free: 1.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004859/0.5961, allocations: 156.9 kB / 428.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.5961, allocations: 10.03 kB / 428.5 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5961, allocations: 0 / 428.5 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.5961, allocations: 0 / 428.5 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.5966, allocations: 47.91 kB / 428.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.5966, allocations: 8.125 kB / 428.6 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.597, allocations: 22.12 kB / 428.6 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.597, allocations: 7.984 kB / 428.6 MB, free: 1.469 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.0001182/0.5971, allocations: 114.8 kB / 428.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.5972, allocations: 19.72 kB / 428.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.5977, allocations: 149 kB / 428.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5978, allocations: 3.938 kB / 428.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5978, allocations: 0 / 428.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.5978, allocations: 4 kB / 428.9 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/0.5986, allocations: 462.8 kB / 429.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5987, allocations: 0 / 429.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.599, allocations: 47.59 kB / 429.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.599, allocations: 0 / 429.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.5991, allocations: 0 / 429.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.5991, allocations: 7.953 kB / 429.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5991, allocations: 0 / 429.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.5995, allocations: 247.3 kB / 429.7 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.5998, allocations: 119.4 kB / 429.8 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.5998, allocations: 0 / 429.8 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.6002, allocations: 19.48 kB / 429.8 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.6002, allocations: 11.98 kB / 429.8 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6003, allocations: 7.938 kB / 429.8 MB, free: 288 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003818/0.6007, allocations: 208.7 kB / 430 MB, free: 116 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6007, allocations: 0 / 430 MB, free: 116 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006622/0.6013, allocations: 93.55 kB / 430.1 MB, free: 28 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.002141/0.6035, allocations: 1.242 MB / 431.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.604, allocations: 79.12 kB / 431.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.604, allocations: 4.188 kB / 431.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.6041, allocations: 50.22 kB / 431.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.6048, allocations: 46.09 kB / 431.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.6061, allocations: 337 kB / 431.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.6066, allocations: 0.7434 MB / 432.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000295/0.6069, allocations: 37.61 kB / 432.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.6071, allocations: 62.97 kB / 432.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6071, allocations: 0 / 432.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.6401, allocations: 5.796 MB / 438.5 MB, free: 7.773 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/0.6405, allocations: 219.6 kB / 438.7 MB, free: 7.535 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.138, allocations: 4 kB / 438.7 MB, free: 7.531 MB / 362.7 MB