Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.2/2.2, allocations: 217.8 MB / 229.9 MB, free: 14.21 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.848e-05/6.88e-05, allocations: 4 kB / 283.1 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 50.19 MB / 333.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.5894, allocations: 80.98 MB / 414.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5897, allocations: 68.28 kB / 414.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03477/0.6245, allocations: 8.082 MB / 422.4 MB, free: 7.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6245, allocations: 4 kB / 422.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.292e-05/0.6246, allocations: 11.94 kB / 422.5 MB, free: 7.898 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001293/0.6259, allocations: 0.6025 MB / 423.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.6259, allocations: 8.031 kB / 423.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.6261, allocations: 81.59 kB / 423.1 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.6264, allocations: 59.73 kB / 423.2 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.6273, allocations: 355.8 kB / 423.5 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.6274, allocations: 28.06 kB / 423.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6275, allocations: 37.38 kB / 423.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/0.6285, allocations: 346.1 kB / 423.9 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.6285, allocations: 4 kB / 424 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.6286, allocations: 13.06 kB / 424 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.6286, allocations: 12 kB / 424 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.6293, allocations: 261 kB / 424.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.6329, allocations: 1.736 MB / 426 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.6334, allocations: 148.6 kB / 426.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.6337, allocations: 73.97 kB / 426.2 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.6337, allocations: 4 kB / 426.2 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.6338, allocations: 37.86 kB / 426.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.605e-06/0.6338, allocations: 0 / 426.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005109/0.6343, allocations: 166.6 kB / 426.4 MB, free: 4.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.6343, allocations: 51.41 kB / 426.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007086/0.6351, allocations: 374.2 kB / 426.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.6351, allocations: 29.58 kB / 426.8 MB, free: 3.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.6353, allocations: 235.3 kB / 427.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.444e-05/0.6354, allocations: 60.81 kB / 427.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.6354, allocations: 3.25 kB / 427.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6356, allocations: 347.6 kB / 427.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.6358, allocations: 66.88 kB / 427.5 MB, free: 3.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.6361, allocations: 155.9 kB / 427.7 MB, free: 3.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.6364, allocations: 93.09 kB / 427.8 MB, free: 3.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.6364, allocations: 0 / 427.8 MB, free: 3.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007149/0.6371, allocations: 276.7 kB / 428 MB, free: 2.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.6372, allocations: 8 kB / 428.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.6372, allocations: 4 kB / 428.1 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6372, allocations: 7.938 kB / 428.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/0.6378, allocations: 76.14 kB / 428.1 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.6378, allocations: 11.94 kB / 428.1 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.6383, allocations: 42.5 kB / 428.2 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.6383, allocations: 15.19 kB / 428.2 MB, free: 2.691 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001603/0.6385, allocations: 123 kB / 428.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.6386, allocations: 39.58 kB / 428.4 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005984/0.6392, allocations: 188.5 kB / 428.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.6392, allocations: 8 kB / 428.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6393, allocations: 0 / 428.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6393, allocations: 0 / 428.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.6407, allocations: 0.6992 MB / 429.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6407, allocations: 128 / 429.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.6411, allocations: 51.84 kB / 429.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.6412, allocations: 4 kB / 429.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.6412, allocations: 4 kB / 429.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6412, allocations: 0 / 429.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6412, allocations: 0 / 429.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.642, allocations: 419.6 kB / 429.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.6422, allocations: 130.9 kB / 429.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.6424, allocations: 4 kB / 429.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.6427, allocations: 11.42 kB / 429.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.6428, allocations: 15.42 kB / 429.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.6428, allocations: 8 kB / 429.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005748/0.6434, allocations: 301.8 kB / 430.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6434, allocations: 0 / 430.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006427/0.6441, allocations: 95.03 kB / 430.3 MB, free: 0.7734 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001187/0.6453, allocations: 1.228 MB / 431.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.6458, allocations: 150.9 kB / 431.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6458, allocations: 0 / 431.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.646, allocations: 58.86 kB / 431.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6471, allocations: 134.3 kB / 431.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.6492, allocations: 0.631 MB / 432.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.6498, allocations: 0.8289 MB / 433.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.6502, allocations: 64.23 kB / 433.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.6504, allocations: 130 kB / 433.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6505, allocations: 0 / 433.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.6888, allocations: 8.593 MB / 442.1 MB, free: 5.23 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/0.6893, allocations: 155.1 kB / 442.2 MB, free: 5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.359, allocations: 0 / 442.2 MB, free: 5 MB / 362.7 MB