Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.176/2.176, 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.851e-05/5.857e-05, allocations: 4 kB / 283.1 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 50.2 MB / 333.3 MB, free: 7.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4691/0.5884, allocations: 83.85 MB / 417.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5888, allocations: 64.28 kB / 417.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04104/0.6298, allocations: 8.575 MB / 425.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6299, allocations: 0 / 425.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.6299, allocations: 8 kB / 425.8 MB, free: 4.625 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.001015/0.6309, allocations: 0.5266 MB / 426.3 MB, free: 4.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.631, allocations: 12.03 kB / 426.4 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.372e-05/0.6311, allocations: 65.81 kB / 426.4 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.6313, allocations: 35.58 kB / 426.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.6318, allocations: 266.2 kB / 426.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.6318, allocations: 17.31 kB / 426.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.6319, allocations: 23.19 kB / 426.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.6325, allocations: 261.4 kB / 427 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.6325, allocations: 0 / 427 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.6326, allocations: 6.188 kB / 427 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.6326, allocations: 15.95 kB / 427 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.6332, allocations: 197.9 kB / 427.2 MB, free: 3.332 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.002863/0.636, allocations: 1.481 MB / 428.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.6365, allocations: 152.4 kB / 428.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.6367, allocations: 80.03 kB / 428.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.637, allocations: 174.2 kB / 429.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.6371, allocations: 34.5 kB / 429.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.194e-06/0.6371, allocations: 7.938 kB / 429.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.00228/0.6394, allocations: 0.6502 MB / 429.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.6394, allocations: 63.42 kB / 429.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.6398, allocations: 224.6 kB / 430.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.6399, allocations: 33.64 kB / 430.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.64, allocations: 158.4 kB / 430.3 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.6401, allocations: 70.42 kB / 430.3 MB, free: 348 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.6402, allocations: 7.875 kB / 430.3 MB, free: 344 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6403, allocations: 334.3 kB / 430.7 MB, free: 12 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.6406, allocations: 80.48 kB / 430.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.6408, allocations: 113.1 kB / 430.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.6411, allocations: 79.48 kB / 430.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6411, allocations: 0 / 430.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006433/0.6417, allocations: 246.7 kB / 431.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.6418, allocations: 8 kB / 431.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.6418, allocations: 0 / 431.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.6418, allocations: 4 kB / 431.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.6424, allocations: 75.88 kB / 431.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.6424, allocations: 7.953 kB / 431.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.6427, allocations: 7.938 kB / 431.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.6428, allocations: 19.95 kB / 431.3 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.0001647/0.643, allocations: 124.7 kB / 431.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.6431, allocations: 23.72 kB / 431.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.6438, allocations: 233.2 kB / 431.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6438, allocations: 7.938 kB / 431.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6438, allocations: 0 / 431.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6439, allocations: 8 kB / 431.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.6452, allocations: 0.6302 MB / 432.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6453, allocations: 4 kB / 432.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.6458, allocations: 67.39 kB / 432.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.6458, allocations: 4 kB / 432.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.6459, allocations: 3.953 kB / 432.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6459, allocations: 4 kB / 432.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.6459, allocations: 4.031 kB / 432.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.6467, allocations: 398 kB / 432.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.6469, allocations: 131.4 kB / 432.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.647, allocations: 7.891 kB / 432.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.6473, allocations: 15.81 kB / 432.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.6474, allocations: 19.16 kB / 433 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.6475, allocations: 4 kB / 433 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003046/0.6478, allocations: 190.3 kB / 433.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.415e-06/0.6478, allocations: 0 / 433.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007199/0.6485, allocations: 130.9 kB / 433.3 MB, free: 13.73 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.001526/0.6501, allocations: 1.1 MB / 434.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005441/0.6506, allocations: 168.9 kB / 434.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6507, allocations: 384 / 434.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.6509, allocations: 90.98 kB / 434.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.6516, allocations: 56.25 kB / 434.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.6534, allocations: 0.5316 MB / 435.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.6538, allocations: 0.7715 MB / 436 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.6542, allocations: 46.95 kB / 436 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.6544, allocations: 92.2 kB / 436.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6544, allocations: 0 / 436.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/0.6961, allocations: 6.979 MB / 443.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/0.6965, allocations: 159.9 kB / 443.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/3.434, allocations: 0 / 443.3 MB, free: 3.953 MB / 362.7 MB