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.0008312/0.0008313, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007967/0.0007967, allocations: 176.6 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04996/0.04996, allocations: 11.85 MB / 282.9 MB, free: 9.477 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.000814/0.000814, allocations: 18.5 kB / 343.6 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.15, allocations: 50.22 MB / 393.8 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.Regenerative): time 0.02226/0.1723, allocations: 15.51 MB / 409.3 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.1878, allocations: 5.94 MB / 415.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005204/0.193, allocations: 47.81 kB / 415.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004213/0.1973, allocations: 0.7188 MB / 416 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.00809/0.2054, allocations: 1.626 MB / 417.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00493/0.2104, allocations: 1.326 MB / 418.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007287/0.2177, allocations: 4.503 MB / 423.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.2202, allocations: 1.037 MB / 424.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.2235, allocations: 1.323 MB / 425.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.2269, allocations: 1.614 MB / 427.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000651/0.2276, allocations: 136 kB / 427.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.2291, allocations: 355.8 kB / 427.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006384/0.2297, allocations: 0.6808 MB / 428.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00097/0.2307, allocations: 0.7108 MB / 429.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2454/0.4761, allocations: 3.932 MB / 433.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4762, allocations: 3.938 kB / 433.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4762, allocations: 0 / 433.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001717/0.4763, allocations: 1.781 kB / 433.2 MB, free: 15.71 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.007934/0.4843, allocations: 3.306 MB / 436.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4843, allocations: 9.125 kB / 436.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.4857, allocations: 389.7 kB / 436.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/0.4895, allocations: 1.955 MB / 438.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.4897, allocations: 295.8 kB / 439.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003923/0.4901, allocations: 246.2 kB / 439.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006409/0.4966, allocations: 2.72 MB / 442.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.566e-05/0.4967, allocations: 13.12 kB / 442.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.4969, allocations: 94.56 kB / 442.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.4969, allocations: 58.62 kB / 442.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/0.5019, allocations: 2.46 MB / 444.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.518, allocations: 14.16 MB / 458.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.5215, allocations: 2.762 MB / 461.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.523, allocations: 1.059 MB / 462.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.5232, allocations: 139.5 kB / 462.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001744/0.5249, allocations: 1.238 MB / 464.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=223): time 3.367e-06/0.525, allocations: 0 / 464.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=249): time 0.01888/0.5438, allocations: 9.828 MB / 473.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.544, allocations: 316.7 kB / 474.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/0.5482, allocations: 2.728 MB / 477 MB, free: 8.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.5485, allocations: 77.69 kB / 477 MB, free: 7.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.5496, allocations: 1.275 MB / 478.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007193/0.5504, allocations: 0.8389 MB / 479.2 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.5505, allocations: 48 kB / 479.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5507, allocations: 394.8 kB / 479.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.5524, allocations: 0.9279 MB / 480.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.5543, allocations: 1.243 MB / 481.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.5563, allocations: 1.21 MB / 483 MB, free: 1.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.5563, allocations: 4 kB / 483 MB, free: 1.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005259/0.5616, allocations: 3.154 MB / 486.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.5617, allocations: 229.7 kB / 486.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.5617, allocations: 8 kB / 486.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.5622, allocations: 254.8 kB / 486.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.5642, allocations: 0.5145 MB / 487.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005194/0.5694, allocations: 6.594 MB / 493.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/0.5726, allocations: 203.8 kB / 493.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/0.573, allocations: 108.1 kB / 494 MB, free: 6.133 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.003176/0.5762, allocations: 1.207 MB / 495.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009621/0.5771, allocations: 300.2 kB / 495.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009323/0.5865, allocations: 3.279 MB / 498.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/0.5865, allocations: 24 kB / 498.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/0.5866, allocations: 4.047 kB / 498.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/0.5866, allocations: 21.78 kB / 498.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.6042, allocations: 7.095 MB / 0.4941 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.6043, allocations: 4.594 kB / 0.4941 GB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/0.6073, allocations: 483.8 kB / 0.4946 GB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005894/0.6079, allocations: 210.4 kB / 0.4948 GB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002663/0.6082, allocations: 79.91 kB / 0.4948 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006246/0.6145, allocations: 6.165 MB / 0.5009 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.6145, allocations: 10.67 kB / 0.5009 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.6252, allocations: 4.452 MB / 0.5052 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/0.6268, allocations: 0.6884 MB / 0.5059 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007184/0.6276, allocations: 68 kB / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.6293, allocations: 165.9 kB / 0.5061 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004671/0.6297, allocations: 304.7 kB / 0.5064 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.6299, allocations: 92.14 kB / 0.5065 GB, free: 12.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00273/0.6327, allocations: 1.884 MB / 0.5083 GB, free: 10.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6327, allocations: 0 / 0.5083 GB, free: 10.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002683/0.6354, allocations: 0.7109 MB / 0.509 GB, free: 9.77 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.001149/0.6365, allocations: 0.5438 MB / 0.5096 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004536/0.6411, allocations: 3.179 MB / 0.5127 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.6411, allocations: 4.688 kB / 0.5127 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.6437, allocations: 2.254 MB / 0.5149 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.647, allocations: 0.8485 MB / 0.5157 GB, free: 2.871 MB / 382.1 MB [/var/lib/jenkins1/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.00937/0.6564, allocations: 7.55 MB / 0.5231 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.6579, allocations: 1.986 MB / 0.525 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007684/0.6586, allocations: 271.3 kB / 0.5253 GB, free: 8.945 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.6586, allocations: 0 / 0.5253 GB, free: 8.945 MB / 398.1 MB Notification: Performance of Templates: time 0.3287/0.9874, allocations: 104.1 MB / 0.6269 GB, free: 122.6 MB / 446.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.Regenerative.makefile make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.Regenerative.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenHydraulics_OpenHydraulics.Circuits.RegenerativeCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.Circuits.RegenerativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.Circuits.RegenerativeCalcHelperMain.o] Error 1