Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.Regenerative.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.Regenerative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.Regenerative") translateModel(OpenHydraulics.Circuits.Regenerative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.Regenerative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001238/0.001239, allocations: 168.7 kB / 15.95 MB, free: 200 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.931/1.931, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05643/0.05643, allocations: 11.85 MB / 282.2 MB, free: 9.469 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.0008062/0.0008062, allocations: 27.91 kB / 342.9 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1321, allocations: 50.21 MB / 393.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.Regenerative): time 0.01525/0.1474, allocations: 15.51 MB / 408.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1603, allocations: 5.944 MB / 414.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.1639, allocations: 51.81 kB / 414.6 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.166, allocations: 0.711 MB / 415.4 MB, free: 13.93 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. Notification: Performance of NFTyping.typeBindings: time 0.005836/0.1718, allocations: 1.633 MB / 417 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.1764, allocations: 1.332 MB / 418.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007649/0.184, allocations: 4.503 MB / 422.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.1862, allocations: 1.037 MB / 423.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.1894, allocations: 1.326 MB / 425.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.1915, allocations: 1.61 MB / 426.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.1919, allocations: 140 kB / 426.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1929, allocations: 347.8 kB / 427.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006137/0.1935, allocations: 0.6847 MB / 428 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009393/0.1945, allocations: 0.7146 MB / 428.7 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2697/0.4642, allocations: 3.935 MB / 432.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.4643, allocations: 1.188 kB / 432.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.4643, allocations: 3.891 kB / 432.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002727/0.4646, allocations: 0 / 432.6 MB, free: 15.68 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: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.01124/0.4758, allocations: 3.296 MB / 435.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4759, allocations: 10.41 kB / 435.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.4783, allocations: 393 kB / 436.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005122/0.4834, allocations: 1.951 MB / 438.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003217/0.4838, allocations: 293.7 kB / 438.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/0.4844, allocations: 251.6 kB / 438.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006294/0.4907, allocations: 2.72 MB / 441.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.082e-05/0.4908, allocations: 9.719 kB / 441.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.491, allocations: 98.38 kB / 441.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.623e-05/0.4911, allocations: 56.91 kB / 441.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005344/0.4964, allocations: 2.461 MB / 444.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/0.5163, allocations: 14.15 MB / 458.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.5202, allocations: 2.763 MB / 461 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.5219, allocations: 1.056 MB / 462.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.5221, allocations: 144.1 kB / 462.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001951/0.5241, allocations: 1.24 MB / 463.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=223): time 4.077e-06/0.5241, allocations: 0 / 463.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=249): time 0.02175/0.5458, allocations: 9.839 MB / 473.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.546, allocations: 316.7 kB / 473.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/0.5506, allocations: 2.728 MB / 476.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005225/0.5512, allocations: 77.69 kB / 476.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.5525, allocations: 1.278 MB / 477.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.5536, allocations: 0.8323 MB / 478.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.5537, allocations: 48 kB / 478.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5539, allocations: 394.8 kB / 479 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.5557, allocations: 0.9279 MB / 479.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.5576, allocations: 1.246 MB / 481.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.5595, allocations: 1.206 MB / 482.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.5595, allocations: 4 kB / 482.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005584/0.5651, allocations: 3.164 MB / 485.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.5652, allocations: 225.6 kB / 485.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.5653, allocations: 8 kB / 485.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/0.5658, allocations: 251 kB / 486 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.5679, allocations: 0.5115 MB / 486.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.5733, allocations: 6.594 MB / 493.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/0.5765, allocations: 210 kB / 493.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005034/0.577, allocations: 107.2 kB / 493.4 MB, free: 6.113 MB / 350.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] RegenValve.A2T.port_a.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 = RegenValve.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real RegenValve.P2B.port_b.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.reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real 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: 41 * Number of states: 0 () * Number of discrete variables: 22 (RegenValve.A2T.data.zetaLaminarKnown,RegenValve.P2A.data.zetaLaminarKnown,RegenValve.P2B.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 (292): * Single equations (assignments): 280 * 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%) 6,(1,100.0%) 5,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002979/0.58, allocations: 1.208 MB / 494.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008913/0.5809, allocations: 300.2 kB / 494.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/0.5869, allocations: 3.274 MB / 498.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.587, allocations: 24 kB / 498.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.587, allocations: 4 kB / 498.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/0.5871, allocations: 15.94 kB / 498.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.6002, allocations: 7.1 MB / 0.4935 GB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.6003, allocations: 8.094 kB / 0.4935 GB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/0.6023, allocations: 481.9 kB / 0.494 GB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/0.6027, allocations: 219.2 kB / 0.4942 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.603, allocations: 83.92 kB / 0.4942 GB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.6078, allocations: 6.156 MB / 0.5003 GB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.6079, allocations: 11.05 kB / 0.5003 GB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008298/0.6162, allocations: 4.449 MB / 0.5046 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/0.6185, allocations: 0.6962 MB / 0.5053 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/0.6191, allocations: 64 kB / 0.5053 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.6206, allocations: 167.7 kB / 0.5055 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000587/0.6212, allocations: 304.4 kB / 0.5058 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.6214, allocations: 95.95 kB / 0.5059 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00331/0.6247, allocations: 1.882 MB / 0.5077 GB, free: 10.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6247, allocations: 4 kB / 0.5077 GB, free: 10.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003635/0.6283, allocations: 0.7109 MB / 0.5084 GB, free: 9.738 MB / 382.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,RegenValve.P2B.port_b.p,RegenValve.A2T.port_a.p,RegenValve.dynamicResponse.y,RegenValve.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 (262): * Single equations (assignments): 250 * 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%) 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.001431/0.6298, allocations: 0.531 MB / 0.5089 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005309/0.6351, allocations: 3.181 MB / 0.5121 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.6351, allocations: 0 / 0.5121 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003298/0.6384, allocations: 2.299 MB / 0.5143 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/0.6436, allocations: 0.8478 MB / 0.5151 GB, free: 2.805 MB / 382.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.01287/0.6564, allocations: 7.46 MB / 0.5224 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/0.6583, allocations: 2.006 MB / 0.5244 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002854/0.6612, allocations: 0.5065 MB / 0.5249 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007898/0.662, allocations: 255.3 kB / 0.5251 GB, free: 8.465 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.662, allocations: 4 kB / 0.5251 GB, free: 8.461 MB / 398.1 MB Notification: Performance of Templates: time 0.08427/0.7463, allocations: 44.66 MB / 0.5687 GB, free: 11.89 MB / 446.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.Regenerative.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.Regenerative.sim & ./OpenHydraulics_OpenHydraulics.Circuits.Regenerative -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe 2>&1) Environment - environmentSimulation: