Running command: translateModel(OpenHydraulics.Circuits.OpenCenter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenter") Notification: Performance of loadModel(OpenHydraulics): time 1.949/1.949, 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 4.111e-05/4.132e-05, allocations: 4.516 kB / 283 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08381, allocations: 50.2 MB / 333.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.4671, allocations: 100.1 MB / 433.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4674, allocations: 77.34 kB / 433.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6696/1.137, allocations: 100.7 MB / 0.5215 GB, free: 96.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.592e-06/1.137, allocations: 0 / 0.5215 GB, free: 96.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000468/1.137, allocations: 95.7 kB / 0.5216 GB, free: 96.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: 668 * Number of variables: 668 Notification: Performance of Generate backend data structure: time 0.008711/1.146, allocations: 3.147 MB / 0.5247 GB, free: 94.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.146, allocations: 9.625 kB / 0.5247 GB, free: 94.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/1.148, allocations: 433.7 kB / 0.5251 GB, free: 94.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007657/1.156, allocations: 2.504 MB / 0.5275 GB, free: 94.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/1.156, allocations: 321.5 kB / 0.5278 GB, free: 93.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008913/1.157, allocations: 275.5 kB / 0.5281 GB, free: 93.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008183/1.165, allocations: 2.868 MB / 0.5309 GB, free: 93.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/1.166, allocations: 10.5 kB / 0.5309 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/1.166, allocations: 107.1 kB / 0.531 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/1.166, allocations: 63.25 kB / 0.5311 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007086/1.173, allocations: 2.568 MB / 0.5336 GB, free: 93.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/1.199, allocations: 15.84 MB / 0.549 GB, free: 85.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00568/1.205, allocations: 2.923 MB / 0.5519 GB, free: 84.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/1.207, allocations: 1.122 MB / 0.553 GB, free: 84.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/1.208, allocations: 146.8 kB / 0.5531 GB, free: 84.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002604/1.21, allocations: 1.286 MB / 0.5544 GB, free: 84.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 6.647e-06/1.21, allocations: 0 / 0.5544 GB, free: 84.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.02586/1.236, allocations: 9.456 MB / 0.5636 GB, free: 80.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/1.236, allocations: 321.4 kB / 0.5639 GB, free: 80.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/1.242, allocations: 2.613 MB / 0.5665 GB, free: 80.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005053/1.242, allocations: 84.19 kB / 0.5666 GB, free: 80.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.243, allocations: 1.414 MB / 0.5679 GB, free: 79.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009816/1.244, allocations: 0.9003 MB / 0.5688 GB, free: 79.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/1.245, allocations: 56.09 kB / 0.5689 GB, free: 79.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/1.245, allocations: 405.8 kB / 0.5693 GB, free: 79.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/1.247, allocations: 0.9811 MB / 0.5702 GB, free: 79.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/1.25, allocations: 1.331 MB / 0.5715 GB, free: 78.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/1.253, allocations: 1.281 MB / 0.5728 GB, free: 78.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.253, allocations: 3.719 kB / 0.5728 GB, free: 78.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.007583/1.26, allocations: 3.408 MB / 0.5761 GB, free: 77.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.26, allocations: 230 kB / 0.5763 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/1.26, allocations: 7.656 kB / 0.5763 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007479/1.261, allocations: 288 kB / 0.5766 GB, free: 77.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003243/1.264, allocations: 0.54 MB / 0.5771 GB, free: 77.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006858/1.271, allocations: 8.043 MB / 0.585 GB, free: 69.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/1.275, allocations: 227 kB / 0.5852 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004781/1.275, allocations: 112.5 kB / 0.5853 GB, free: 69.44 MB / 442.7 MB Warning: Assuming fixed start value for the following 10 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.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] doubleActingCylinder.cylinderChamberHead.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.cushionHead.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: 44 * Number of states: 0 () * Number of discrete variables: 23 (constantDisplacementPump.mechanicalPumpLosses.free,valve4_3posOC.A2T.data.zetaLaminarKnown,valve4_3posOC.P2B.data.zetaLaminarKnown,valve4_3posOC.B2T.data.zetaLaminarKnown,valve4_3posOC.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 (313): * Single equations (assignments): 300 * 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.0009937/1.276, allocations: 0.6435 MB / 0.5859 GB, free: 68.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007137/1.277, allocations: 335.7 kB / 0.5863 GB, free: 68.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008263/1.285, allocations: 3.551 MB / 0.5897 GB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/1.285, allocations: 26.44 kB / 0.5898 GB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.285, allocations: 3.5 kB / 0.5898 GB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/1.285, allocations: 16.69 kB / 0.5898 GB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/1.302, allocations: 7.907 MB / 0.5975 GB, free: 62.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/1.302, allocations: 3.688 kB / 0.5975 GB, free: 62.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003115/1.305, allocations: 493.8 kB / 0.598 GB, free: 62.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/1.306, allocations: 244.7 kB / 0.5982 GB, free: 62.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/1.306, allocations: 80.42 kB / 0.5983 GB, free: 62.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006046/1.312, allocations: 7.619 MB / 0.6057 GB, free: 55.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.312, allocations: 3.531 kB / 0.6057 GB, free: 55.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009767/1.322, allocations: 5.24 MB / 0.6108 GB, free: 51.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.324, allocations: 0.7848 MB / 0.6116 GB, free: 51.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006905/1.325, allocations: 68.41 kB / 0.6117 GB, free: 51.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.327, allocations: 175.5 kB / 0.6118 GB, free: 51.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/1.328, allocations: 320.6 kB / 0.6121 GB, free: 51.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003141/1.328, allocations: 101.4 kB / 0.6122 GB, free: 51.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003834/1.332, allocations: 2.015 MB / 0.6142 GB, free: 50.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.39e-07/1.332, allocations: 0 / 0.6142 GB, free: 50.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00386/1.336, allocations: 0.8212 MB / 0.615 GB, free: 50.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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_3posOC.dynamicResponse.y,valve4_3posOC.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 (278): * Single equations (assignments): 265 * 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.001821/1.338, allocations: 0.6124 MB / 0.6156 GB, free: 49.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005828/1.344, allocations: 3.347 MB / 0.6189 GB, free: 46.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.701e-06/1.344, allocations: 0.875 kB / 0.6189 GB, free: 46.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00375/1.347, allocations: 2.434 MB / 0.6213 GB, free: 43.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/1.353, allocations: 0.9022 MB / 0.6221 GB, free: 43.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.365, allocations: 5.594 MB / 0.6276 GB, free: 37.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/1.367, allocations: 2.224 MB / 0.6298 GB, free: 36.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003482/1.371, allocations: 0.5777 MB / 0.6303 GB, free: 35.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.372, allocations: 285.7 kB / 0.6306 GB, free: 35.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.656e-06/1.372, allocations: 0 / 0.6306 GB, free: 35.48 MB / 442.7 MB Notification: Performance of Templates: time 0.1527/1.524, allocations: 50.28 MB / 0.6797 GB, free: 12.27 MB / 458.7 MB