Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.022/2.022, 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 5.036e-05/5.042e-05, allocations: 4 kB / 283.1 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 50.19 MB / 333.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5264, allocations: 83.95 MB / 417.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.5267, allocations: 66.78 kB / 417.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07174/0.5985, allocations: 16.85 MB / 434.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5985, allocations: 0 / 434.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.245e-05/0.5986, allocations: 16 kB / 434.2 MB, free: 13.17 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.001865/0.6005, allocations: 0.9638 MB / 435.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.6005, allocations: 16.03 kB / 435.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.6007, allocations: 85.16 kB / 435.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.6009, allocations: 106.7 kB / 435.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.6027, allocations: 0.6794 MB / 436 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.6028, allocations: 37.69 kB / 436.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.6029, allocations: 40.88 kB / 436.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009985/0.6039, allocations: 401.4 kB / 436.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6039, allocations: 0 / 436.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/0.604, allocations: 21.08 kB / 436.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.604, allocations: 15.94 kB / 436.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000995/0.605, allocations: 405.2 kB / 436.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.6096, allocations: 2.517 MB / 439.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.6111, allocations: 340 kB / 439.8 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.6114, allocations: 107.1 kB / 439.9 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.6115, allocations: 4 kB / 439.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.6115, allocations: 34.56 kB / 439.9 MB, free: 8.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.896e-06/0.6115, allocations: 0 / 439.9 MB, free: 8.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009027/0.6125, allocations: 331.5 kB / 440.3 MB, free: 7.734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.6125, allocations: 55.41 kB / 440.3 MB, free: 7.668 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.6149, allocations: 1.192 MB / 441.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.615, allocations: 32.58 kB / 441.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.6155, allocations: 448.8 kB / 442 MB, free: 6.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.6156, allocations: 88.25 kB / 442.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.6156, allocations: 3.062 kB / 442.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6157, allocations: 329.1 kB / 442.4 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.616, allocations: 106.7 kB / 442.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.6164, allocations: 186 kB / 442.7 MB, free: 5.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.6168, allocations: 131.1 kB / 442.8 MB, free: 5.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6168, allocations: 0 / 442.8 MB, free: 5.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001065/0.6179, allocations: 431.6 kB / 443.2 MB, free: 5.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.6179, allocations: 8 kB / 443.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6179, allocations: 3.938 kB / 443.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.618, allocations: 4 kB / 443.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/0.6187, allocations: 91.19 kB / 443.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.6187, allocations: 4 kB / 443.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.6193, allocations: 59 kB / 443.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.6194, allocations: 19.98 kB / 443.4 MB, free: 5.223 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.000132/0.6195, allocations: 127.7 kB / 443.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.6197, allocations: 94.78 kB / 443.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.6209, allocations: 433.8 kB / 444 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6209, allocations: 4 kB / 444.1 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6209, allocations: 0 / 444.1 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.621, allocations: 7.984 kB / 444.1 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.6221, allocations: 0.6648 MB / 444.7 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6221, allocations: 0 / 444.7 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.6227, allocations: 67.91 kB / 444.8 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.6227, allocations: 7.984 kB / 444.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.6227, allocations: 7.688 kB / 444.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6227, allocations: 0 / 444.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6228, allocations: 0 / 444.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.6237, allocations: 460.5 kB / 445.3 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/0.6242, allocations: 266.2 kB / 445.5 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.6244, allocations: 11.19 kB / 445.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.6249, allocations: 22.42 kB / 445.5 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.625, allocations: 15.97 kB / 445.6 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.625, allocations: 14.73 kB / 445.6 MB, free: 3.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001804/0.6269, allocations: 0.9331 MB / 446.5 MB, free: 2.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6269, allocations: 0 / 446.5 MB, free: 2.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009644/0.6278, allocations: 206.7 kB / 446.7 MB, free: 2.449 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.002372/0.6302, allocations: 1.328 MB / 448 MB, free: 1.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.631, allocations: 261.9 kB / 448.3 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.631, allocations: 0 / 448.3 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.6313, allocations: 124.7 kB / 448.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6328, allocations: 201.1 kB / 448.6 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.6366, allocations: 1.404 MB / 450 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/0.6375, allocations: 1.037 MB / 451.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008832/0.6384, allocations: 168.8 kB / 451.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/0.6391, allocations: 325.3 kB / 451.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6391, allocations: 4 kB / 451.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06723/0.7063, allocations: 19.02 MB / 470.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.7067, allocations: 196.2 kB / 470.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/3.715, allocations: 0 / 470.8 MB, free: 10.86 MB / 394.7 MB