Running command: translateModel(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing") Notification: Performance of loadModel(OpenHydraulics): time 1.89/1.89, allocations: 217.8 MB / 229.9 MB, free: 14.18 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 4.232e-05/4.233e-05, allocations: 5.094 kB / 283 MB, free: 9.668 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08336/0.08342, allocations: 50.2 MB / 333.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.4701, allocations: 105.3 MB / 438.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4704, allocations: 87.38 kB / 438.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7352/1.206, allocations: 131.5 MB / 0.5568 GB, free: 90.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.206, allocations: 0 / 0.5568 GB, free: 90.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005506/1.206, allocations: 122 kB / 0.5569 GB, free: 90.34 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.0101/1.216, allocations: 4.049 MB / 0.5609 GB, free: 88.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.216, allocations: 7.75 kB / 0.5609 GB, free: 88.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/1.219, allocations: 0.5619 MB / 0.5614 GB, free: 88.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009218/1.228, allocations: 3.318 MB / 0.5647 GB, free: 87.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/1.228, allocations: 391.1 kB / 0.565 GB, free: 87.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008516/1.229, allocations: 366.9 kB / 0.5654 GB, free: 87.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/1.239, allocations: 3.86 MB / 0.5691 GB, free: 87.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/1.239, allocations: 3.906 kB / 0.5691 GB, free: 87.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004931/1.24, allocations: 144.5 kB / 0.5693 GB, free: 87.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/1.24, allocations: 85.12 kB / 0.5694 GB, free: 87.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009005/1.249, allocations: 3.501 MB / 0.5728 GB, free: 86.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03154/1.281, allocations: 20.03 MB / 0.5923 GB, free: 71.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007579/1.288, allocations: 3.7 MB / 0.596 GB, free: 69.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/1.292, allocations: 1.444 MB / 0.5974 GB, free: 69.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/1.292, allocations: 162.9 kB / 0.5975 GB, free: 69.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003823/1.296, allocations: 1.643 MB / 0.5991 GB, free: 68.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 7.984e-06/1.296, allocations: 0 / 0.5991 GB, free: 68.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=337): time 0.0329/1.329, allocations: 11.69 MB / 0.6105 GB, free: 61.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.329, allocations: 410.8 kB / 0.6109 GB, free: 61.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 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.007166/1.336, allocations: 3.44 MB / 0.6143 GB, free: 60.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006679/1.337, allocations: 92.11 kB / 0.6144 GB, free: 59.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002/1.339, allocations: 1.91 MB / 0.6162 GB, free: 58.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.34, allocations: 1.126 MB / 0.6173 GB, free: 57.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/1.34, allocations: 69.84 kB / 0.6174 GB, free: 57.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/1.341, allocations: 436.1 kB / 0.6178 GB, free: 57.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002959/1.344, allocations: 1.281 MB / 0.6191 GB, free: 56.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/1.347, allocations: 1.797 MB / 0.6208 GB, free: 54.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/1.35, allocations: 1.68 MB / 0.6225 GB, free: 52.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/1.35, allocations: 7.953 kB / 0.6225 GB, free: 52.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.009612/1.36, allocations: 4.327 MB / 0.6267 GB, free: 48.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001241/1.361, allocations: 6.568 MB / 0.6331 GB, free: 41.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/1.361, allocations: 16 kB / 0.6331 GB, free: 41.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/1.362, allocations: 301 kB / 0.6334 GB, free: 40.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/1.366, allocations: 0.7086 MB / 0.6341 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006948/1.373, allocations: 8.116 MB / 0.642 GB, free: 31.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004252/1.377, allocations: 301 kB / 0.6423 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005981/1.378, allocations: 145.9 kB / 0.6425 GB, free: 31.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.378, allocations: 4 kB / 0.6425 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008403/1.386, allocations: 3.97 MB / 0.6464 GB, free: 27.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.033e-05/1.387, allocations: 12 kB / 0.6464 GB, free: 27.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/1.387, allocations: 304.5 kB / 0.6467 GB, free: 27.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/1.391, allocations: 0.7048 MB / 0.6473 GB, free: 26.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/1.398, allocations: 8.122 MB / 0.6553 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/1.402, allocations: 296.3 kB / 0.6556 GB, free: 17.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006542/1.403, allocations: 143 kB / 0.6557 GB, free: 17.84 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.001274/1.404, allocations: 0.7227 MB / 0.6564 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.406, allocations: 446.4 kB / 0.6568 GB, free: 16.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009924/1.416, allocations: 4.497 MB / 0.6612 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/1.416, allocations: 36 kB / 0.6612 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.416, allocations: 7.875 kB / 0.6613 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/1.416, allocations: 22.52 kB / 0.6613 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.437, allocations: 10.01 MB / 0.6711 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/1.437, allocations: 8.312 kB / 0.6711 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004056/1.441, allocations: 0.6335 MB / 0.6717 GB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007366/1.442, allocations: 264.4 kB / 0.6719 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004737/1.443, allocations: 103.2 kB / 0.672 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007664/1.45, allocations: 7.698 MB / 0.6796 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.549e-06/1.45, allocations: 8 kB / 0.6796 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.465, allocations: 6.608 MB / 0.686 GB, free: 4.129 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00317/1.468, allocations: 1.009 MB / 0.687 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.47, allocations: 80.17 kB / 0.6871 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003221/1.473, allocations: 220 kB / 0.6873 GB, free: 2.996 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009081/1.474, allocations: 360.9 kB / 0.6876 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004043/1.474, allocations: 127.9 kB / 0.6878 GB, free: 2.551 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.2656/1.74, allocations: 2.635 MB / 0.6903 GB, free: 95.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.358e-06/1.74, allocations: 1 kB / 0.6903 GB, free: 95.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01005/1.75, allocations: 1.736 MB / 0.692 GB, free: 95.34 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.002435/1.752, allocations: 0.6437 MB / 0.6926 GB, free: 95.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01555/1.768, allocations: 7.233 MB / 0.6997 GB, free: 92.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/1.768, allocations: 6.688 kB / 0.6997 GB, free: 92.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005921/1.774, allocations: 2.909 MB / 0.7026 GB, free: 91.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007982/1.782, allocations: 1.215 MB / 0.7037 GB, free: 91.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/1.801, allocations: 7.376 MB / 0.7109 GB, free: 89.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003725/1.805, allocations: 2.725 MB / 0.7136 GB, free: 89.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0095/1.814, allocations: 1.471 MB / 0.715 GB, free: 88.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.816, allocations: 311.9 kB / 0.7153 GB, free: 88.97 MB / 458.7 MB Notification: Performance of SimCode: time 1.797e-06/1.816, allocations: 2.906 kB / 0.7153 GB, free: 88.97 MB / 458.7 MB Notification: Performance of Templates: time 0.1697/1.985, allocations: 75.63 MB / 0.7892 GB, free: 55.28 MB / 458.7 MB