Running command: "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensated,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.218/2.218, 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.71e-05/6.725e-05, allocations: 11.92 kB / 283.1 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 50.18 MB / 333.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/0.6319, allocations: 104.1 MB / 437.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.6322, allocations: 79.22 kB / 437.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7477/1.38, allocations: 108.5 MB / 0.5332 GB, free: 94.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.38, allocations: 1.188 kB / 0.5332 GB, free: 94.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007362/1.381, allocations: 104.3 kB / 0.5333 GB, free: 94.95 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: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.01411/1.395, allocations: 3.408 MB / 0.5366 GB, free: 93.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.395, allocations: 9.938 kB / 0.5367 GB, free: 93.29 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00194/1.397, allocations: 400 kB / 0.537 GB, free: 93.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/1.4, allocations: 476.2 kB / 0.5375 GB, free: 93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/1.412, allocations: 2.744 MB / 0.5402 GB, free: 92.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006249/1.413, allocations: 345.1 kB / 0.5405 GB, free: 92.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/1.415, allocations: 301.5 kB / 0.5408 GB, free: 92.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/1.429, allocations: 3.16 MB / 0.5439 GB, free: 92.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002918/1.429, allocations: 11.56 kB / 0.5439 GB, free: 92.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001493/1.431, allocations: 121.7 kB / 0.544 GB, free: 92.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/1.431, allocations: 69.12 kB / 0.5441 GB, free: 92.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/1.446, allocations: 2.776 MB / 0.5468 GB, free: 92.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05345/1.499, allocations: 16.45 MB / 0.5628 GB, free: 83.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/1.511, allocations: 3.062 MB / 0.5658 GB, free: 82.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005186/1.516, allocations: 1.163 MB / 0.567 GB, free: 82.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006432/1.517, allocations: 147 kB / 0.5671 GB, free: 82.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006589/1.523, allocations: 1.337 MB / 0.5684 GB, free: 82.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=252): time 1.564e-05/1.523, allocations: 0 / 0.5684 GB, free: 82.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=279): time 0.03658/1.56, allocations: 9.815 MB / 0.578 GB, free: 78.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.56, allocations: 350.6 kB / 0.5783 GB, free: 78.34 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 PCPump.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.00754/1.568, allocations: 2.833 MB / 0.5811 GB, free: 77.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006962/1.568, allocations: 79.42 kB / 0.5812 GB, free: 77.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/1.57, allocations: 1.599 MB / 0.5827 GB, free: 75.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001385/1.572, allocations: 0.9295 MB / 0.5836 GB, free: 75.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/1.572, allocations: 54.53 kB / 0.5837 GB, free: 75.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/1.572, allocations: 415.6 kB / 0.5841 GB, free: 74.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/1.575, allocations: 1.048 MB / 0.5851 GB, free: 74.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/1.579, allocations: 1.488 MB / 0.5866 GB, free: 73.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/1.582, allocations: 1.361 MB / 0.5879 GB, free: 72.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.062e-05/1.582, allocations: 2.906 kB / 0.5879 GB, free: 72.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.009997/1.592, allocations: 3.629 MB / 0.5914 GB, free: 70.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001286/1.594, allocations: 5.702 MB / 0.597 GB, free: 64.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/1.594, allocations: 12.47 kB / 0.597 GB, free: 64.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009806/1.595, allocations: 298.2 kB / 0.5973 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005051/1.6, allocations: 0.5849 MB / 0.5979 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00764/1.607, allocations: 8.033 MB / 0.6057 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004832/1.612, allocations: 240.5 kB / 0.606 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007042/1.613, allocations: 120 kB / 0.6061 GB, free: 56.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.613, allocations: 3.062 kB / 0.6061 GB, free: 56.87 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008839/1.622, allocations: 3.328 MB / 0.6093 GB, free: 55.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-05/1.622, allocations: 15.47 kB / 0.6093 GB, free: 55.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008159/1.623, allocations: 291.3 kB / 0.6096 GB, free: 55.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005029/1.628, allocations: 0.5784 MB / 0.6102 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007582/1.635, allocations: 8.038 MB / 0.618 GB, free: 47.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00501/1.641, allocations: 238.7 kB / 0.6183 GB, free: 47.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007169/1.641, allocations: 117.2 kB / 0.6184 GB, free: 47.34 MB / 442.7 MB Warning: Assuming fixed start value for the following 9 variables: constantSpeed.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real PCPump.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 = PCPump.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: 56 * Number of states: 0 () * Number of discrete variables: 23 (v4_3CC.A2T.data.zetaLaminarKnown,v4_3CC.P2B.data.zetaLaminarKnown,v4_3CC.B2T.data.zetaLaminarKnown,v4_3CC.P2A.data.zetaLaminarKnown,PCPump.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.PCPump.mechanicalPumpLosses.startForward,PCPump.mechanicalPumpLosses.startForward,$PRE.PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.locked,$PRE.PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 325 * 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: 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.001374/1.643, allocations: 0.6358 MB / 0.619 GB, free: 46.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.644, allocations: 365.6 kB / 0.6193 GB, free: 46.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.654, allocations: 3.684 MB / 0.6229 GB, free: 44.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/1.654, allocations: 28 kB / 0.623 GB, free: 44.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/1.654, allocations: 4 kB / 0.623 GB, free: 44.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-05/1.654, allocations: 17.41 kB / 0.623 GB, free: 44.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/1.676, allocations: 8.242 MB / 0.631 GB, free: 37.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/1.676, allocations: 7.469 kB / 0.631 GB, free: 37.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004785/1.681, allocations: 0.5057 MB / 0.6315 GB, free: 36.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007811/1.682, allocations: 240.7 kB / 0.6318 GB, free: 36.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006378/1.682, allocations: 87.2 kB / 0.6318 GB, free: 36.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006767/1.689, allocations: 7.616 MB / 0.6393 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.689, allocations: 4 kB / 0.6393 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/1.702, allocations: 5.423 MB / 0.6446 GB, free: 22.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/1.706, allocations: 0.8286 MB / 0.6454 GB, free: 22.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/1.707, allocations: 78.17 kB / 0.6455 GB, free: 22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004444/1.712, allocations: 183.3 kB / 0.6456 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/1.713, allocations: 320.7 kB / 0.6459 GB, free: 21.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005068/1.714, allocations: 110.3 kB / 0.6461 GB, free: 21.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005925/1.719, allocations: 2.178 MB / 0.6482 GB, free: 19.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.72, allocations: 0 / 0.6482 GB, free: 19.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00987/1.729, allocations: 1.46 MB / 0.6496 GB, free: 18.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 17 (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,PCPump.swashPlatePD.D.x,PCPump.portP.p,circuitTank.volumeOpen.m,v4_3CC.dynamicResponse.y,v4_3CC.dynamicResponse.yd,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,PCPump.mechanicalPumpLosses.startForward,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.locked,PCPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 276 * 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: 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.01553/1.745, allocations: 7.561 MB / 0.657 GB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01392/1.759, allocations: 6.099 MB / 0.6629 GB, free: 4.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/1.759, allocations: 3.938 kB / 0.663 GB, free: 4.477 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005867/1.765, allocations: 2.47 MB / 0.6654 GB, free: 1.945 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008033/1.773, allocations: 1.011 MB / 0.6664 GB, free: 1.164 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/1.799, allocations: 6.915 MB / 0.6731 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006256/1.805, allocations: 2.379 MB / 0.6754 GB, free: 9.297 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0111/1.816, allocations: 1.177 MB / 0.6766 GB, free: 8.531 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004143/1.82, allocations: 1.569 MB / 0.6781 GB, free: 7.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/1.82, allocations: 0 / 0.6781 GB, free: 7.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5695/2.39, allocations: 94.76 MB / 0.7706 GB, free: 70.03 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/2.39, allocations: 222.7 kB / 0.7709 GB, free: 69.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/9.614, allocations: 5.031 kB / 0.7709 GB, free: 69.8 MB / 458.7 MB