Running command: "" <> buildModelFMU(OpenHydraulics.Circuits.OpenCenterForceVelocityControl,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_OpenCenterForceVelocityControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.23/2.23, allocations: 217.8 MB / 229.9 MB, free: 14.2 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.522e-05/6.529e-05, allocations: 5.25 kB / 283.1 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 50.19 MB / 333.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5013/0.6264, allocations: 103.6 MB / 436.9 MB, free: 8.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.6267, allocations: 84.77 kB / 437 MB, free: 8.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.36/0.9868, allocations: 91.91 MB / 0.5165 GB, free: 1.258 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9868, allocations: 0 / 0.5165 GB, free: 1.258 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000683/0.9875, allocations: 103.9 kB / 0.5166 GB, free: 1.156 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: 696 * Number of variables: 696 Notification: Performance of Generate backend data structure: time 0.33/1.318, allocations: 3.41 MB / 0.5199 GB, free: 87.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/1.318, allocations: 9.125 kB / 0.52 GB, free: 87.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002735/1.32, allocations: 381.7 kB / 0.5203 GB, free: 87.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/1.325, allocations: 481.1 kB / 0.5208 GB, free: 87.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.342, allocations: 2.742 MB / 0.5235 GB, free: 87.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008683/1.343, allocations: 331.2 kB / 0.5238 GB, free: 86.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/1.345, allocations: 287.2 kB / 0.524 GB, free: 86.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/1.363, allocations: 2.974 MB / 0.527 GB, free: 86.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/1.363, allocations: 7.094 kB / 0.527 GB, free: 86.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001346/1.364, allocations: 112.4 kB / 0.5271 GB, free: 86.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/1.365, allocations: 67.81 kB / 0.5271 GB, free: 86.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/1.38, allocations: 2.639 MB / 0.5297 GB, free: 86.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0493/1.429, allocations: 16.34 MB / 0.5457 GB, free: 78.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007706/1.437, allocations: 3.027 MB / 0.5486 GB, free: 77.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003619/1.44, allocations: 1.145 MB / 0.5497 GB, free: 77.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/1.441, allocations: 142.3 kB / 0.5499 GB, free: 77.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004381/1.445, allocations: 1.323 MB / 0.5512 GB, free: 77.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 1.008e-05/1.445, allocations: 0 / 0.5512 GB, free: 77.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=271): time 0.03853/1.484, allocations: 9.612 MB / 0.5605 GB, free: 73.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/1.484, allocations: 345.1 kB / 0.5609 GB, free: 73.47 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 fVController.PID.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.01104/1.495, allocations: 3.258 MB / 0.5641 GB, free: 73.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008133/1.496, allocations: 84.92 kB / 0.5641 GB, free: 73.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004088/1.5, allocations: 1.626 MB / 0.5657 GB, free: 72.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002458/1.503, allocations: 0.9041 MB / 0.5666 GB, free: 72.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005973/1.503, allocations: 56.06 kB / 0.5667 GB, free: 72.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003633/1.504, allocations: 408 kB / 0.5671 GB, free: 71.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00512/1.509, allocations: 0.9974 MB / 0.568 GB, free: 71.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005326/1.514, allocations: 1.375 MB / 0.5694 GB, free: 71.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005338/1.52, allocations: 1.287 MB / 0.5706 GB, free: 71.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.234e-05/1.52, allocations: 3.562 kB / 0.5706 GB, free: 71.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01608/1.536, allocations: 3.43 MB / 0.574 GB, free: 70.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001306/1.537, allocations: 4.679 MB / 0.5785 GB, free: 65.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.55e-05/1.537, allocations: 16.2 kB / 0.5786 GB, free: 65.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/1.539, allocations: 238.3 kB / 0.5788 GB, free: 65.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007776/1.546, allocations: 0.5707 MB / 0.5793 GB, free: 65.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/1.557, allocations: 6.429 MB / 0.5856 GB, free: 59.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007168/1.564, allocations: 235.7 kB / 0.5859 GB, free: 59.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.565, allocations: 113.3 kB / 0.586 GB, free: 59.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/1.565, allocations: 3.531 kB / 0.586 GB, free: 59.92 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01355/1.579, allocations: 3.119 MB / 0.589 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/1.579, allocations: 7.281 kB / 0.589 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/1.58, allocations: 241.7 kB / 0.5892 GB, free: 58.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005061/1.585, allocations: 0.5596 MB / 0.5898 GB, free: 58.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/1.592, allocations: 6.439 MB / 0.5961 GB, free: 52.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/1.597, allocations: 214.4 kB / 0.5963 GB, free: 52.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008156/1.597, allocations: 117.6 kB / 0.5964 GB, free: 52.18 MB / 442.7 MB Warning: Assuming fixed start value for the following 7 variables: constantSpeed.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real constantDisplacementPump.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, 0.0)))))))))))))))))))))))))))))))))))))))))) start = constantDisplacementPump.fluidPower2MechRot.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" 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 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: 45 * Number of states: 0 () * Number of discrete variables: 23 (constantDisplacementPump.mechanicalPumpLosses.free,valve4_3posOCtandem.A2T.data.zetaLaminarKnown,valve4_3posOCtandem.P2B.data.zetaLaminarKnown,valve4_3posOCtandem.B2T.data.zetaLaminarKnown,valve4_3posOCtandem.P2A.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,$PRE.constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startForward,$PRE.constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,$PRE.constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 310 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.001882/1.599, allocations: 0.584 MB / 0.597 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.601, allocations: 378.5 kB / 0.5973 GB, free: 51.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.612, allocations: 3.597 MB / 0.6008 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.612, allocations: 28.31 kB / 0.6009 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.612, allocations: 3.531 kB / 0.6009 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.908e-05/1.612, allocations: 18.11 kB / 0.6009 GB, free: 49.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/1.634, allocations: 8.296 MB / 0.609 GB, free: 45.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.634, allocations: 3.875 kB / 0.609 GB, free: 45.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004758/1.639, allocations: 0.5049 MB / 0.6095 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007742/1.64, allocations: 229.3 kB / 0.6097 GB, free: 45.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008473/1.641, allocations: 83.23 kB / 0.6098 GB, free: 45.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009458/1.65, allocations: 6.28 MB / 0.6159 GB, free: 39.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/1.65, allocations: 9.906 kB / 0.6159 GB, free: 39.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.663, allocations: 5.427 MB / 0.6212 GB, free: 35.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003045/1.666, allocations: 0.8796 MB / 0.6221 GB, free: 35.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/1.667, allocations: 75.53 kB / 0.6222 GB, free: 35.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004267/1.672, allocations: 179.2 kB / 0.6223 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/1.673, allocations: 319.7 kB / 0.6226 GB, free: 35.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000464/1.673, allocations: 100.7 kB / 0.6227 GB, free: 35.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00668/1.68, allocations: 2.521 MB / 0.6252 GB, free: 33.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.553e-06/1.68, allocations: 0 / 0.6252 GB, free: 33.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009349/1.689, allocations: 1.442 MB / 0.6266 GB, free: 31.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 16 (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,circuitTank.volumeOpen.m,valve4_3posOCtandem.dynamicResponse.y,valve4_3posOCtandem.dynamicResponse.yd,constantDisplacementPump.portP.p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,constantDisplacementPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 272 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01523/1.705, allocations: 7.66 MB / 0.6341 GB, free: 24.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01271/1.717, allocations: 5.666 MB / 0.6396 GB, free: 18.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.718, allocations: 0 / 0.6396 GB, free: 18.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005434/1.723, allocations: 2.362 MB / 0.6419 GB, free: 16.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008124/1.731, allocations: 0.9751 MB / 0.6429 GB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.755, allocations: 7.221 MB / 0.6499 GB, free: 8.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003771/1.758, allocations: 2.411 MB / 0.6523 GB, free: 7.078 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009232/1.768, allocations: 1.264 MB / 0.6535 GB, free: 6.223 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003857/1.772, allocations: 1.601 MB / 0.6551 GB, free: 4.754 MB / 442.7 MB Notification: Performance of SimCode: time 2.444e-06/1.772, allocations: 0 / 0.6551 GB, free: 4.754 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5927/2.364, allocations: 95.72 MB / 0.7486 GB, free: 80.63 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/2.365, allocations: 234.4 kB / 0.7488 GB, free: 80.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/9.792, allocations: 0 / 0.7488 GB, free: 80.36 MB / 458.7 MB