Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTestSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.056/2.056, 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 3.984e-05/3.98e-05, allocations: 0 / 283.1 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 50.2 MB / 333.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4825/0.5911, allocations: 92.28 MB / 425.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5915, allocations: 65.53 kB / 425.7 MB, free: 3.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.209/0.8005, allocations: 52.84 MB / 478.5 MB, free: 3.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8006, allocations: 0 / 478.5 MB, free: 3.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003713/0.801, allocations: 63.86 kB / 478.6 MB, free: 3.629 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.007121/0.8081, allocations: 2.155 MB / 480.7 MB, free: 1.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.8082, allocations: 12.03 kB / 480.7 MB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000766/0.8089, allocations: 232 kB / 481 MB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.81, allocations: 272.8 kB / 481.2 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005837/0.8158, allocations: 1.665 MB / 482.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/0.8162, allocations: 233.9 kB / 483.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006449/0.8169, allocations: 171.9 kB / 483.3 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004646/0.8215, allocations: 1.527 MB / 484.8 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.196e-05/0.8216, allocations: 0 / 484.8 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.8219, allocations: 68 kB / 484.9 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/0.822, allocations: 40 kB / 484.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004657/0.8267, allocations: 1.564 MB / 486.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02013/0.8468, allocations: 9.22 MB / 495.7 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/0.8516, allocations: 1.812 MB / 497.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/0.8539, allocations: 0.7746 MB / 498.3 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.8543, allocations: 126.4 kB / 498.4 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/0.8566, allocations: 0.8374 MB / 499.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=167): time 5.059e-06/0.8566, allocations: 4 kB / 499.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=189): time 0.02167/0.8783, allocations: 6.347 MB / 0.4938 GB, free: 7.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000199/0.8785, allocations: 283 kB / 0.494 GB, free: 6.809 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/Translational.mo:2342:7-2342:69:writable] Warning: Parameter slidingMass.m has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004652/0.8832, allocations: 1.763 MB / 0.4957 GB, free: 5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004676/0.8837, allocations: 73.69 kB / 0.4958 GB, free: 4.922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.8848, allocations: 0.8726 MB / 0.4967 GB, free: 4.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009501/0.8858, allocations: 0.6275 MB / 0.4973 GB, free: 3.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.886, allocations: 36 kB / 0.4973 GB, free: 3.367 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.8862, allocations: 381.8 kB / 0.4977 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.8881, allocations: 0.5859 MB / 0.4982 GB, free: 2.402 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.8904, allocations: 0.881 MB / 0.4991 GB, free: 1.422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/0.8928, allocations: 0.9485 MB / 0.5 GB, free: 436 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.8928, allocations: 0 / 0.5 GB, free: 436 kB / 426.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006555/0.8994, allocations: 2.086 MB / 0.5021 GB, free: 14.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.8996, allocations: 225.6 kB / 0.5023 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.8996, allocations: 12.7 kB / 0.5023 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.53e-05/0.8997, allocations: 16 kB / 0.5023 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/0.9033, allocations: 407.4 kB / 0.5027 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.453e-05/0.9034, allocations: 15.98 kB / 0.5027 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.9058, allocations: 107.9 kB / 0.5028 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.9061, allocations: 79.97 kB / 0.5029 GB, free: 13.38 MB / 442.7 MB Warning: Assuming fixed start value for the following 6 variables: j1.port[3].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))) start = reliefValve.variableRestriction.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] doubleActingCylinder.cushionRod.flowFraction:VARIABLE(protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 ) "Normalized valve position (between 0 and 1)" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 ) "Normalized valve position (between 0 and 1)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 12 (throttleValve.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,reliefValve.variableRestriction.data.zetaLaminarKnown,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 8 * 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.0008428/0.907, allocations: 491.2 kB / 0.5034 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/0.9076, allocations: 229.2 kB / 0.5036 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006619/0.9142, allocations: 2.272 MB / 0.5058 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.9143, allocations: 20 kB / 0.5058 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.9143, allocations: 8 kB / 0.5058 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-05/0.9143, allocations: 7.969 kB / 0.5058 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.928, allocations: 5.399 MB / 0.5111 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.928, allocations: 4 kB / 0.5111 GB, free: 4.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/0.9314, allocations: 375.5 kB / 0.5115 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.9317, allocations: 33.16 kB / 0.5115 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/0.9319, allocations: 63.97 kB / 0.5116 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.9333, allocations: 1.339 MB / 0.5129 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.9334, allocations: 4 kB / 0.5129 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2953/1.229, allocations: 3.409 MB / 0.5162 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/1.231, allocations: 0.5545 MB / 0.5167 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008764/1.232, allocations: 46.16 kB / 0.5168 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.234, allocations: 84.14 kB / 0.5169 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/1.235, allocations: 147.7 kB / 0.517 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/1.235, allocations: 75.88 kB / 0.5171 GB, free: 114.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003603/1.239, allocations: 1.368 MB / 0.5184 GB, free: 114.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.239, allocations: 0 / 0.5184 GB, free: 114.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002985/1.242, allocations: 0.5444 MB / 0.519 GB, free: 114.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (reliefValve.valvePosition,doubleActingCylinder.port_a.p,doubleActingCylinder.cylinderChamberHead.port[3].p,doubleActingCylinder.cylinderChamberRod.port[3].p,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,j1.port[3].p) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 2 ($whenCondition3,$whenCondition4) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009759/1.251, allocations: 5.434 MB / 0.5243 GB, free: 111.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004716/1.256, allocations: 2.016 MB / 0.5262 GB, free: 111.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.256, allocations: 1.062 kB / 0.5262 GB, free: 111.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003022/1.259, allocations: 1.477 MB / 0.5277 GB, free: 110.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/1.265, allocations: 0.6155 MB / 0.5283 GB, free: 110.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.279, allocations: 4.17 MB / 0.5323 GB, free: 109.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/1.281, allocations: 1.622 MB / 0.5339 GB, free: 109.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003452/1.284, allocations: 421.4 kB / 0.5343 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00255/1.287, allocations: 0.9175 MB / 0.5352 GB, free: 109 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/1.287, allocations: 0 / 0.5352 GB, free: 109 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/1.441, allocations: 53.41 MB / 0.5874 GB, free: 87.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.441, allocations: 224.2 kB / 0.5876 GB, free: 87.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.51/5.951, allocations: 8 kB / 0.5876 GB, free: 87.57 MB / 442.7 MB