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: "" <> buildModelFMU(OpenHydraulics.Circuits.Regenerative,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_Regenerative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.Circuits.Regenerative,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_Regenerative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008838/0.0008837, allocations: 86.72 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.0008672/0.0008672, 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 2.108/2.108, 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.04965/0.04965, 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.0006023/0.0006024, allocations: 22.5 kB / 343 MB, free: 22.37 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.12, allocations: 50.21 MB / 393.2 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.Regenerative): time 0.01498/0.135, allocations: 15.51 MB / 408.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.149, allocations: 5.956 MB / 414.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.1528, allocations: 51.81 kB / 414.8 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.155, allocations: 0.7071 MB / 415.5 MB, free: 13.82 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.005912/0.1609, allocations: 1.629 MB / 417.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004844/0.1658, allocations: 1.33 MB / 418.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007496/0.1733, allocations: 4.503 MB / 422.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.1759, allocations: 1.048 MB / 424 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.18, allocations: 1.323 MB / 425.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005052/0.1851, allocations: 1.61 MB / 426.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009749/0.1861, allocations: 140 kB / 427 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.188, allocations: 343.8 kB / 427.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007751/0.1888, allocations: 0.6846 MB / 428.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.1904, allocations: 0.7108 MB / 428.8 MB, free: 428 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2875/0.478, allocations: 3.934 MB / 432.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.478, allocations: 0 / 432.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.478, allocations: 1.188 kB / 432.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002896/0.4783, allocations: 0 / 432.7 MB, free: 15.7 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.01281/0.4912, allocations: 3.304 MB / 436 MB, free: 13.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.167e-05/0.4912, allocations: 9.25 kB / 436 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002087/0.4933, allocations: 334.5 kB / 436.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.4954, allocations: 392.4 kB / 436.7 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/0.502, allocations: 1.954 MB / 438.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000482/0.5025, allocations: 300.9 kB / 439 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.5036, allocations: 243.5 kB / 439.2 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007305/0.5109, allocations: 2.721 MB / 441.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.093e-05/0.5111, allocations: 2.188 kB / 441.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.5114, allocations: 100.5 kB / 442 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.5115, allocations: 60.58 kB / 442.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005935/0.5174, allocations: 2.462 MB / 444.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02078/0.5383, allocations: 14.16 MB / 458.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.5419, allocations: 2.755 MB / 461.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.5438, allocations: 1.065 MB / 462.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.544, allocations: 133 kB / 462.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/0.5458, allocations: 1.242 MB / 463.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=223): time 3.767e-06/0.5458, allocations: 0 / 463.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=249): time 0.02106/0.5669, allocations: 9.824 MB / 473.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.5671, allocations: 315.8 kB / 474 MB, free: 10.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/0.5715, allocations: 2.732 MB / 476.8 MB, free: 7.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004648/0.5719, allocations: 80.2 kB / 476.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.5733, allocations: 1.274 MB / 478.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009264/0.5742, allocations: 0.8321 MB / 479 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.5744, allocations: 48 kB / 479 MB, free: 5.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.5746, allocations: 394.8 kB / 479.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.5764, allocations: 0.9279 MB / 480.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.5783, allocations: 1.239 MB / 481.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.5803, allocations: 1.212 MB / 482.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.5803, allocations: 4 kB / 482.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005935/0.5862, allocations: 3.163 MB / 485.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.5865, allocations: 225.6 kB / 486.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.5865, allocations: 8 kB / 486.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.5872, allocations: 248.2 kB / 486.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.5894, allocations: 0.5186 MB / 486.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005953/0.5954, allocations: 6.601 MB / 493.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.5985, allocations: 203.8 kB / 493.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.5988, allocations: 104 kB / 493.8 MB, free: 5.719 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.002779/0.6016, allocations: 1.216 MB / 495 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008518/0.6025, allocations: 300.2 kB / 495.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005875/0.6084, allocations: 3.267 MB / 498.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.6084, allocations: 24 kB / 498.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.6084, allocations: 6.188 kB / 498.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/0.6085, allocations: 15.94 kB / 498.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.6225, allocations: 7.104 MB / 0.4939 GB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.6225, allocations: 4 kB / 0.4939 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.6246, allocations: 479.2 kB / 0.4944 GB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.625, allocations: 211.4 kB / 0.4946 GB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.6253, allocations: 83.91 kB / 0.4946 GB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004994/0.6303, allocations: 6.166 MB / 0.5007 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.6303, allocations: 7 kB / 0.5007 GB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007779/0.6381, allocations: 4.455 MB / 0.505 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/0.6402, allocations: 0.6884 MB / 0.5057 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/0.6407, allocations: 71.42 kB / 0.5058 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.642, allocations: 167.7 kB / 0.5059 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005496/0.6426, allocations: 296.8 kB / 0.5062 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/0.6428, allocations: 100.1 kB / 0.5063 GB, free: 11.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003049/0.6459, allocations: 1.882 MB / 0.5081 GB, free: 10.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6459, allocations: 0 / 0.5081 GB, free: 10.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003106/0.649, allocations: 0.7109 MB / 0.5088 GB, free: 9.348 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.007915/0.6569, allocations: 5.443 MB / 0.5141 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00478/0.6617, allocations: 3.184 MB / 0.5173 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.6617, allocations: 3.844 kB / 0.5173 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002972/0.6647, allocations: 2.294 MB / 0.5195 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004491/0.6692, allocations: 0.8446 MB / 0.5203 GB, free: 13.23 MB / 398.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.04583/0.7151, allocations: 21.51 MB / 0.5413 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.7168, allocations: 2.006 MB / 0.5433 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002572/0.7194, allocations: 0.5104 MB / 0.5438 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/0.7214, allocations: 1.304 MB / 0.5451 GB, free: 2.504 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.7214, allocations: 0 / 0.5451 GB, free: 2.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3425/1.064, allocations: 72.15 MB / 0.6155 GB, free: 133.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/1.064, allocations: 247.5 kB / 0.6157 GB, free: 132.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.583/5.648, allocations: 0 / 0.6157 GB, free: 132.9 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_Circuits_Regenerative_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_Circuits_Regenerative.fmu > OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe 2>&1) Environment - environmentSimulation: