Running command: translateModel(OpenHydraulics.Circuits.PressureCompensated,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated") Notification: Performance of loadModel(OpenHydraulics): time 1.884/1.884, 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 5.044e-05/5.074e-05, allocations: 0 / 283 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 50.21 MB / 333.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5458, allocations: 104.1 MB / 437.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.546, allocations: 78.89 kB / 437.4 MB, free: 7.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6102/1.156, allocations: 108.5 MB / 0.5331 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.139e-06/1.156, allocations: 0 / 0.5331 GB, free: 97.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005519/1.157, allocations: 104.1 kB / 0.5332 GB, free: 97.49 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.01012/1.167, allocations: 3.401 MB / 0.5365 GB, free: 95.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.167, allocations: 9.625 kB / 0.5365 GB, free: 95.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/1.169, allocations: 483.1 kB / 0.537 GB, free: 95.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008084/1.177, allocations: 2.735 MB / 0.5397 GB, free: 94.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004875/1.178, allocations: 348.3 kB / 0.54 GB, free: 94.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/1.179, allocations: 303.4 kB / 0.5403 GB, free: 94.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009145/1.188, allocations: 3.158 MB / 0.5434 GB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/1.188, allocations: 7.609 kB / 0.5434 GB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004505/1.189, allocations: 116.2 kB / 0.5435 GB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/1.189, allocations: 69.81 kB / 0.5436 GB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007618/1.197, allocations: 2.775 MB / 0.5463 GB, free: 94.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02738/1.224, allocations: 16.45 MB / 0.5623 GB, free: 86.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005621/1.23, allocations: 3.057 MB / 0.5653 GB, free: 85.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002478/1.232, allocations: 1.171 MB / 0.5665 GB, free: 85.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/1.232, allocations: 140.3 kB / 0.5666 GB, free: 85.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002661/1.235, allocations: 1.336 MB / 0.5679 GB, free: 85.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=252): time 6.998e-06/1.235, allocations: 2.25 kB / 0.5679 GB, free: 85.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=279): time 0.03089/1.266, allocations: 9.816 MB / 0.5775 GB, free: 80.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.266, allocations: 358.7 kB / 0.5778 GB, free: 80.32 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.005975/1.272, allocations: 2.833 MB / 0.5806 GB, free: 79.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005238/1.273, allocations: 89.11 kB / 0.5807 GB, free: 79.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/1.274, allocations: 1.587 MB / 0.5822 GB, free: 77.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.275, allocations: 0.9338 MB / 0.5832 GB, free: 77.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/1.276, allocations: 57.34 kB / 0.5832 GB, free: 77.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/1.276, allocations: 413.6 kB / 0.5836 GB, free: 76.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/1.278, allocations: 1.048 MB / 0.5846 GB, free: 76.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/1.281, allocations: 1.484 MB / 0.5861 GB, free: 75.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/1.284, allocations: 1.369 MB / 0.5874 GB, free: 74.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/1.284, allocations: 3.75 kB / 0.5874 GB, free: 74.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.00811/1.292, allocations: 3.624 MB / 0.591 GB, free: 72.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001094/1.293, allocations: 5.703 MB / 0.5965 GB, free: 66.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/1.293, allocations: 12.38 kB / 0.5965 GB, free: 66.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007335/1.294, allocations: 287.6 kB / 0.5968 GB, free: 66.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/1.297, allocations: 0.5803 MB / 0.5974 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006673/1.304, allocations: 8.046 MB / 0.6052 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/1.307, allocations: 240.3 kB / 0.6055 GB, free: 58.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000433/1.308, allocations: 124.5 kB / 0.6056 GB, free: 58.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.308, allocations: 3.031 kB / 0.6056 GB, free: 58.82 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006927/1.315, allocations: 3.325 MB / 0.6088 GB, free: 57.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.315, allocations: 13.28 kB / 0.6088 GB, free: 57.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/1.316, allocations: 288.4 kB / 0.6091 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/1.319, allocations: 0.5758 MB / 0.6097 GB, free: 56.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/1.326, allocations: 8.046 MB / 0.6175 GB, free: 49.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/1.329, allocations: 232 kB / 0.6178 GB, free: 49.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004497/1.33, allocations: 121 kB / 0.6179 GB, free: 49.29 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.001036/1.331, allocations: 0.6406 MB / 0.6185 GB, free: 48.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.332, allocations: 363.5 kB / 0.6188 GB, free: 48.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0085/1.34, allocations: 3.673 MB / 0.6224 GB, free: 45.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.34, allocations: 32 kB / 0.6225 GB, free: 45.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/1.34, allocations: 4 kB / 0.6225 GB, free: 45.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.94e-05/1.34, allocations: 18.16 kB / 0.6225 GB, free: 45.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/1.359, allocations: 8.239 MB / 0.6305 GB, free: 38.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.359, allocations: 4 kB / 0.6305 GB, free: 38.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002999/1.362, allocations: 0.5 MB / 0.631 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006213/1.362, allocations: 251.1 kB / 0.6313 GB, free: 37.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/1.363, allocations: 83.2 kB / 0.6313 GB, free: 37.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/1.369, allocations: 7.615 MB / 0.6388 GB, free: 29.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.714e-06/1.369, allocations: 4 kB / 0.6388 GB, free: 29.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009778/1.378, allocations: 5.43 MB / 0.6441 GB, free: 24.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002592/1.381, allocations: 0.8336 MB / 0.6449 GB, free: 23.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/1.382, allocations: 71.95 kB / 0.645 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.385, allocations: 177.2 kB / 0.6451 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007168/1.386, allocations: 323.5 kB / 0.6454 GB, free: 23.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000304/1.386, allocations: 110.7 kB / 0.6456 GB, free: 23.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004206/1.391, allocations: 2.175 MB / 0.6477 GB, free: 21.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.68e-07/1.391, allocations: 0 / 0.6477 GB, free: 21.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006126/1.397, allocations: 1.464 MB / 0.6491 GB, free: 19.63 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.001763/1.398, allocations: 0.602 MB / 0.6497 GB, free: 19.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009723/1.408, allocations: 6.096 MB / 0.6556 GB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.627e-06/1.408, allocations: 8.188 kB / 0.6557 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003777/1.412, allocations: 2.471 MB / 0.6581 GB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/1.417, allocations: 1.013 MB / 0.6591 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.43, allocations: 6.085 MB / 0.665 GB, free: 4.113 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/1.433, allocations: 2.369 MB / 0.6673 GB, free: 2.285 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006995/1.44, allocations: 1.179 MB / 0.6685 GB, free: 1.516 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.441, allocations: 249.8 kB / 0.6687 GB, free: 1.297 MB / 442.7 MB Notification: Performance of SimCode: time 1.984e-06/1.441, allocations: 0 / 0.6687 GB, free: 1.297 MB / 442.7 MB Notification: Performance of Templates: time 0.4409/1.882, allocations: 62.63 MB / 0.7299 GB, free: 97.22 MB / 458.7 MB