Running command: "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensatedLoadSensing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.212/2.212, 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 7.72e-05/7.741e-05, allocations: 4 kB / 283.1 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 50.2 MB / 333.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.631, allocations: 105.3 MB / 438.7 MB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.6313, allocations: 81.02 kB / 438.7 MB, free: 6.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8562/1.488, allocations: 131.5 MB / 0.5569 GB, free: 90.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.985e-06/1.488, allocations: 11.52 kB / 0.5569 GB, free: 90.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008378/1.488, allocations: 112.5 kB / 0.557 GB, free: 90.21 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01536/1.504, allocations: 4.057 MB / 0.561 GB, free: 88.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.504, allocations: 10.75 kB / 0.561 GB, free: 88.18 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002182/1.506, allocations: 480.4 kB / 0.5614 GB, free: 88.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/1.509, allocations: 0.5616 MB / 0.562 GB, free: 87.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.522, allocations: 3.313 MB / 0.5652 GB, free: 87.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006842/1.523, allocations: 396.1 kB / 0.5656 GB, free: 87.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/1.524, allocations: 362.2 kB / 0.5659 GB, free: 87.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/1.539, allocations: 3.865 MB / 0.5697 GB, free: 86.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/1.539, allocations: 6.688 kB / 0.5697 GB, free: 86.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007715/1.54, allocations: 143.3 kB / 0.5699 GB, free: 86.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-05/1.54, allocations: 82.53 kB / 0.5699 GB, free: 86.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/1.552, allocations: 3.499 MB / 0.5734 GB, free: 86.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04528/1.597, allocations: 20.03 MB / 0.5929 GB, free: 71.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009551/1.606, allocations: 3.695 MB / 0.5965 GB, free: 69.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004492/1.611, allocations: 1.447 MB / 0.5979 GB, free: 68.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005293/1.612, allocations: 162.5 kB / 0.5981 GB, free: 68.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00531/1.617, allocations: 1.641 MB / 0.5997 GB, free: 68.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 1.023e-05/1.617, allocations: 3.938 kB / 0.5997 GB, free: 68.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=337): time 0.04538/1.662, allocations: 11.69 MB / 0.6111 GB, free: 61.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/1.663, allocations: 407.8 kB / 0.6115 GB, free: 61.11 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Blocks/Continuous.mo:900:5-900:57:writable] Warning: Parameter PCLSPump.swashPlatePD.yMax 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.009883/1.672, allocations: 3.444 MB / 0.6149 GB, free: 59.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009126/1.673, allocations: 92.92 kB / 0.615 GB, free: 59.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002824/1.676, allocations: 1.909 MB / 0.6168 GB, free: 58.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00178/1.678, allocations: 1.134 MB / 0.6179 GB, free: 57.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/1.679, allocations: 64 kB / 0.618 GB, free: 57.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002524/1.679, allocations: 438.8 kB / 0.6184 GB, free: 56.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/1.683, allocations: 1.286 MB / 0.6197 GB, free: 55.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.687, allocations: 1.792 MB / 0.6214 GB, free: 53.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/1.692, allocations: 1.687 MB / 0.6231 GB, free: 51.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.636e-05/1.692, allocations: 4 kB / 0.6231 GB, free: 51.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01378/1.706, allocations: 4.329 MB / 0.6273 GB, free: 47.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001421/1.707, allocations: 6.563 MB / 0.6337 GB, free: 40.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.136e-05/1.707, allocations: 18.72 kB / 0.6337 GB, free: 40.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.708, allocations: 299.1 kB / 0.634 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006229/1.714, allocations: 0.7097 MB / 0.6347 GB, free: 39.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008166/1.723, allocations: 8.12 MB / 0.6426 GB, free: 31.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005857/1.729, allocations: 299.2 kB / 0.6429 GB, free: 31.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009424/1.73, allocations: 147.4 kB / 0.6431 GB, free: 30.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.73, allocations: 4 kB / 0.6431 GB, free: 30.9 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01428/1.744, allocations: 3.963 MB / 0.6469 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.381e-05/1.744, allocations: 12 kB / 0.6469 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/1.746, allocations: 304.2 kB / 0.6472 GB, free: 26.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008952/1.755, allocations: 0.7024 MB / 0.6479 GB, free: 26.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/1.767, allocations: 8.118 MB / 0.6558 GB, free: 17.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008849/1.776, allocations: 293.9 kB / 0.6561 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.777, allocations: 146.8 kB / 0.6563 GB, free: 17.36 MB / 442.7 MB Warning: Assuming fixed start value for the following 11 variables: constantSpeed.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real valve4way3pos.reliefA2T.valvePosition:VARIABLE(start = 0.0 ) "Normalized valve position (between 0 and 1)" type: Real valve4way3pos.reliefB2T.valvePosition:VARIABLE(start = 0.0 ) "Normalized valve position (between 0 and 1)" type: Real PCLSPump.portP.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, 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, 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, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))))))))))))))))))))))))))))))))))) start = PCLSPump.fluidPower2MechRotVar.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real 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 doubleActingCylinder.cylinderChamberRod.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, max(0.0, 0.0)))))))))))))))) start = doubleActingCylinder.cushionRod.cushionRestriction.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] 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: 62 * Number of states: 0 () * Number of discrete variables: 27 (valve4way3pos.reliefA2T.variableRestriction.data.zetaLaminarKnown,valve4way3pos.reliefB2T.variableRestriction.data.zetaLaminarKnown,valve4way3pos.checkT2A.variableRestriction.data.zetaLaminarKnown,valve4way3pos.checkT2B.variableRestriction.data.zetaLaminarKnown,valve4way3pos.A2T.data.zetaLaminarKnown,valve4way3pos.P2B.data.zetaLaminarKnown,valve4way3pos.B2T.data.zetaLaminarKnown,valve4way3pos.P2A.data.zetaLaminarKnown,PCLSPump.mechanicalPumpLosses.free,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,$PRE.PCLSPump.mechanicalPumpLosses.startForward,PCLSPump.mechanicalPumpLosses.startForward,$PRE.PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.locked,$PRE.PCLSPump.mechanicalPumpLosses.mode,PCLSPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003279/1.781, allocations: 0.7296 MB / 0.657 GB, free: 16.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002641/1.783, allocations: 438.6 kB / 0.6574 GB, free: 16.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02189/1.805, allocations: 4.504 MB / 0.6618 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/1.806, allocations: 39.98 kB / 0.6618 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/1.806, allocations: 15.89 kB / 0.6618 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001191/1.806, allocations: 16.92 kB / 0.6619 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04117/1.847, allocations: 10.01 MB / 0.6716 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.084e-05/1.847, allocations: 8 kB / 0.6716 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008478/1.856, allocations: 0.6306 MB / 0.6723 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/1.857, allocations: 258.3 kB / 0.6725 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009888/1.858, allocations: 110.8 kB / 0.6726 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/1.87, allocations: 7.695 MB / 0.6801 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/1.87, allocations: 7.938 kB / 0.6801 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02624/1.896, allocations: 6.605 MB / 0.6866 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006098/1.902, allocations: 1.008 MB / 0.6876 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002866/1.905, allocations: 84.12 kB / 0.6876 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007914/1.913, allocations: 219.8 kB / 0.6879 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002256/1.915, allocations: 362.1 kB / 0.6882 GB, free: 2.012 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/1.916, allocations: 123.9 kB / 0.6883 GB, free: 1.891 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.3485/2.265, allocations: 2.636 MB / 0.6909 GB, free: 94.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.265, allocations: 2.969 kB / 0.6909 GB, free: 94.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01219/2.277, allocations: 1.74 MB / 0.6926 GB, free: 94.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 20 (reliefValve.valvePosition,doubleActingCylinder.port_a.p,doubleActingCylinder.port_b.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,PCLSPump.swashPlatePD.D.x,PCLSPump.portP.p,PCLSPump.portLS.p,circuitTank.volumeOpen.m,valve4way3pos.dynamicResponse.y,valve4way3pos.dynamicResponse.yd,valve4way3pos.reliefB2T.valvePosition,valve4way3pos.reliefA2T.valvePosition,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,PCLSPump.mechanicalPumpLosses.startForward,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.locked,PCLSPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (PCLSPump.mechanicalPumpLosses.mode,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Top-level inputs: 0 Notification: Strong component statistics for simulation (359): * Single equations (assignments): 344 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02247/2.3, allocations: 8.712 MB / 0.7011 GB, free: 90.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02005/2.32, allocations: 7.229 MB / 0.7082 GB, free: 88.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/2.32, allocations: 6.062 kB / 0.7082 GB, free: 88.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007227/2.327, allocations: 2.922 MB / 0.711 GB, free: 87.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01046/2.338, allocations: 1.214 MB / 0.7122 GB, free: 87.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/2.369, allocations: 8.303 MB / 0.7203 GB, free: 85.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005089/2.374, allocations: 2.736 MB / 0.723 GB, free: 84.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01175/2.386, allocations: 1.473 MB / 0.7244 GB, free: 84.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005005/2.391, allocations: 1.935 MB / 0.7263 GB, free: 84.54 MB / 458.7 MB Notification: Performance of SimCode: time 1.713e-06/2.391, allocations: 0 / 0.7263 GB, free: 84.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2811/2.672, allocations: 114.9 MB / 0.8386 GB, free: 7.91 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/2.672, allocations: 234.5 kB / 0.8388 GB, free: 7.641 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/11.24, allocations: 0 / 0.8388 GB, free: 7.641 MB / 458.7 MB