Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.Circuits.OpenCenter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenter") translateModel(OpenHydraulics.Circuits.OpenCenter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05606/0.05606, allocations: 11.85 MB / 282.2 MB, free: 9.461 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005704/0.0005707, allocations: 16 kB / 342.9 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1297, allocations: 50.22 MB / 393.1 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.OpenCenter): time 0.01647/0.1462, allocations: 17.03 MB / 410.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.1601, allocations: 6.314 MB / 416.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004197/0.1644, allocations: 51.81 kB / 416.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.1673, allocations: 0.781 MB / 417.3 MB, free: 11.95 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007592/0.175, allocations: 1.785 MB / 419.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005426/0.1804, allocations: 1.414 MB / 420.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0086/0.189, allocations: 5.001 MB / 425.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003447/0.1925, allocations: 1.169 MB / 426.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.1974, allocations: 1.474 MB / 428.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2451/0.4425, allocations: 1.781 MB / 429.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.4442, allocations: 154.4 kB / 430.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.4468, allocations: 361.4 kB / 430.5 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.4481, allocations: 0.7616 MB / 431.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.4506, allocations: 0.7822 MB / 432 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008622/0.4592, allocations: 4.348 MB / 436.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.4593, allocations: 0 / 436.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.4593, allocations: 0 / 436.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002912/0.4596, allocations: 5.562 kB / 436.3 MB, free: 13.05 MB / 318.1 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.01177/0.4714, allocations: 3.59 MB / 439.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4714, allocations: 8.531 kB / 439.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/0.4741, allocations: 431.9 kB / 440.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005937/0.48, allocations: 2.141 MB / 442.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.4804, allocations: 316.6 kB / 442.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009339/0.4814, allocations: 274.4 kB / 443.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007245/0.4886, allocations: 3.04 MB / 446.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-05/0.4887, allocations: 6.219 kB / 446.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.489, allocations: 105.2 kB / 446.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.489, allocations: 72.73 kB / 446.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005483/0.4945, allocations: 2.751 MB / 449.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.5158, allocations: 15.83 MB / 464.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.5201, allocations: 3.017 MB / 467.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.522, allocations: 1.163 MB / 469.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.5223, allocations: 143.5 kB / 469.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002241/0.5245, allocations: 1.346 MB / 470.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=240): time 3.717e-06/0.5246, allocations: 0 / 470.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=267): time 0.02354/0.5481, allocations: 10.75 MB / 481.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.5483, allocations: 316.8 kB / 481.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004785/0.5531, allocations: 3.029 MB / 484.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005829/0.5537, allocations: 73.7 kB / 484.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.5551, allocations: 1.427 MB / 486.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.5561, allocations: 0.8961 MB / 487 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.5563, allocations: 48 kB / 487.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.5565, allocations: 411.3 kB / 487.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.5584, allocations: 1.03 MB / 488.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.5604, allocations: 1.378 MB / 489.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.5625, allocations: 1.32 MB / 491.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.5625, allocations: 0 / 491.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.006423/0.5689, allocations: 3.569 MB / 494.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.5691, allocations: 225.6 kB / 495 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.5692, allocations: 8 kB / 495 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/0.5698, allocations: 295.3 kB / 495.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.572, allocations: 0.561 MB / 495.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.5793, allocations: 8.212 MB / 0.4923 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/0.5825, allocations: 219.8 kB / 0.4925 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/0.5829, allocations: 112 kB / 0.4926 GB, free: 10.01 MB / 366.1 MB Warning: Assuming fixed start value for the following 10 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real constantDisplacementPump.j2.volumeClosed.port[2].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" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3posOC.j3.volumeClosed.port[2].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, 0.0)))))))))))))))))))))))))))) start = valve4_3posOC.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3posOC.j2.volumeClosed.port[2].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, 0.0)))))))))))))))))))))))))))) start = valve4_3posOC.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (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,constantDisplacementPump.mechanicalPumpLosses.free,$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 () * Number of clocked 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.003006/0.5859, allocations: 1.303 MB / 0.4938 GB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008921/0.5868, allocations: 335.9 kB / 0.4942 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00639/0.5932, allocations: 3.64 MB / 0.4977 GB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.5932, allocations: 28 kB / 0.4977 GB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.5933, allocations: 7.953 kB / 0.4978 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/0.5933, allocations: 14.02 kB / 0.4978 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.607, allocations: 7.722 MB / 0.5053 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.607, allocations: 4 kB / 0.5053 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/0.6092, allocations: 0.5032 MB / 0.5058 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004832/0.6097, allocations: 254 kB / 0.506 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.6099, allocations: 87.95 kB / 0.5061 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005886/0.6158, allocations: 7.773 MB / 0.5137 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.6158, allocations: 17.72 kB / 0.5137 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008902/0.6248, allocations: 4.908 MB / 0.5185 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/0.6273, allocations: 0.7427 MB / 0.5193 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009515/0.6283, allocations: 75.98 kB / 0.5193 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.6301, allocations: 171.7 kB / 0.5195 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006966/0.6308, allocations: 320.8 kB / 0.5198 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/0.6311, allocations: 104 kB / 0.5199 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004011/0.6351, allocations: 2.087 MB / 0.5219 GB, free: 10.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6351, allocations: 4 kB / 0.5219 GB, free: 10.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004441/0.6395, allocations: 0.7773 MB / 0.5227 GB, free: 9.824 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 16 (reliefValve.valvePosition,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,doubleActingCylinder.leakage_Head2Env.port_b.p,doubleActingCylinder.leakage_Rod2Env.port_b.p,circuitTank.volumeOpen.m,valve4_3posOC.j2.volumeClosed.port[2].p,valve4_3posOC.j3.volumeClosed.port[2].p,valve4_3posOC.dynamicResponse.y,valve4_3posOC.dynamicResponse.yd,constantDisplacementPump.j2.volumeClosed.port[2].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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 266 * 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%) 3,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001531/0.6411, allocations: 0.5361 MB / 0.5232 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00618/0.6473, allocations: 3.545 MB / 0.5267 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.6473, allocations: 0 / 0.5267 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003984/0.6513, allocations: 2.53 MB / 0.5292 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005649/0.657, allocations: 0.9503 MB / 0.5301 GB, free: 2.184 MB / 398.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFUnit.mo:883:7-883:68:writable] Error: Internal error function lexer failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.6712, allocations: 8.141 MB / 0.538 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/0.6733, allocations: 2.159 MB / 0.5401 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003123/0.6764, allocations: 0.5556 MB / 0.5407 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/0.6773, allocations: 279.3 kB / 0.541 GB, free: 6.941 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6774, allocations: 0 / 0.541 GB, free: 6.941 MB / 414.1 MB Notification: Performance of Templates: time 0.2978/0.9751, allocations: 49.17 MB / 0.589 GB, free: 150 MB / 446.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.sim & ./OpenHydraulics_OpenHydraulics.Circuits.OpenCenter -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.OpenCenter.pipe 2>&1) Environment - environmentSimulation: