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/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/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 ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/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/Complex 1.1.0/package.mo): time 0.0007187/0.0007186, allocations: 146.4 kB / 15.75 MB, free: 6.371 MB / 13.93 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nom...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8600:35-8600:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nomi...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8738:35-8738:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of a pr...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8793:35-8793:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 1.032/1.032, allocations: 150.7 MB / 167.2 MB, free: 6.059 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001132/0.001131, allocations: 85.95 kB / 202.5 MB, free: 2.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.8688/0.8688, allocations: 11.85 MB / 249.5 MB, free: 0.6094 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 8.844 kB / 297.1 MB, free: 26.88 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06586/0.06616, allocations: 37.13 MB / 334.2 MB, free: 6.02 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.Regenerative): time 0.01436/0.08055, allocations: 16.76 MB / 351 MB, free: 5.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.09195, allocations: 5.974 MB / 357 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.09467, allocations: 47.81 kB / 357 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.09625, allocations: 0.7033 MB / 357.7 MB, free: 14.46 MB / 250.7 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.004628/0.1009, allocations: 1.807 MB / 359.5 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.1039, allocations: 0.9991 MB / 360.5 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005807/0.1097, allocations: 4.692 MB / 365.2 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.1117, allocations: 1.021 MB / 366.2 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.1144, allocations: 1.35 MB / 367.6 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.1174, allocations: 1.649 MB / 369.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000714/0.1181, allocations: 144 kB / 369.4 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.1198, allocations: 415.7 kB / 369.8 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006853/0.1205, allocations: 0.6886 MB / 370.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.1216, allocations: 0.7265 MB / 371.2 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.1254, allocations: 3.947 MB / 375.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1254, allocations: 0 / 375.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1254, allocations: 3.938 kB / 375.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.905e-05/0.1255, allocations: 0 / 375.2 MB, free: 12.92 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 612 * Number of variables: 612 Notification: Performance of Generate backend data structure: time 0.005762/0.1313, allocations: 3.33 MB / 378.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1313, allocations: 8.031 kB / 378.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/0.132, allocations: 387.6 kB / 378.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/0.1347, allocations: 1.867 MB / 380.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.1349, allocations: 299.6 kB / 381 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.1353, allocations: 251.8 kB / 381.3 MB, free: 6.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/0.1399, allocations: 2.86 MB / 384.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.876e-05/0.14, allocations: 4 kB / 384.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.1402, allocations: 100 kB / 384.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.1403, allocations: 60 kB / 384.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004299/0.1446, allocations: 2.556 MB / 386.9 MB, free: 0.8906 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1559/0.3005, allocations: 12.15 MB / 399 MB, free: 41.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.3046, allocations: 2.906 MB / 401.9 MB, free: 40.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.3065, allocations: 1.164 MB / 403.1 MB, free: 39.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.3068, allocations: 143.2 kB / 403.2 MB, free: 39.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002127/0.3089, allocations: 1.351 MB / 404.6 MB, free: 38.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=233): time 4.689e-06/0.3089, allocations: 0 / 404.6 MB, free: 38.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=259): time 0.02004/0.329, allocations: 10.71 MB / 415.3 MB, free: 32.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.3291, allocations: 324.4 kB / 415.6 MB, free: 31.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.3316, allocations: 2.316 MB / 417.9 MB, free: 30.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.3318, allocations: 80.03 kB / 418 MB, free: 30.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007297/0.3325, allocations: 1.193 MB / 419.2 MB, free: 29.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/0.333, allocations: 0.858 MB / 420 MB, free: 28.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3331, allocations: 46.75 kB / 420.1 MB, free: 28.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3332, allocations: 400.3 kB / 420.5 MB, free: 28.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.3347, allocations: 1.043 MB / 421.5 MB, free: 27.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.3364, allocations: 1.35 MB / 422.9 MB, free: 27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.338, allocations: 1.321 MB / 424.2 MB, free: 25.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.338, allocations: 7.953 kB / 424.2 MB, free: 25.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004374/0.3424, allocations: 3.368 MB / 427.6 MB, free: 22.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.615e-05/0.3425, allocations: 225.6 kB / 427.8 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.3425, allocations: 12 kB / 427.8 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004698/0.343, allocations: 261 kB / 428.1 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.345, allocations: 0.5266 MB / 428.6 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/0.3489, allocations: 6.6 MB / 435.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.3511, allocations: 275.7 kB / 435.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.3512, allocations: 104 kB / 435.5 MB, free: 13.51 MB / 266.7 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(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0)))))))))))))))))))))))))))))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0)))))))))))))))))))))))))))))))))))))))))) start = j1.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(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0)))))))))))))))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0)))))))))))))))))))))))))))) start = RegenValve.A2T.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(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0)))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0)))))))))))))))) start = RegenValve.P2B.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: 32 (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,reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cushionHead.cushionRestriction.MeteringTable.tableID,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cushionHead.cushionTableBlock.tableID,doubleActingCylinder.cushionRod.cushionRestriction.MeteringTable.tableID,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cushionRod.cushionTableBlock.tableID,RegenValve.P2B.MeteringTable.tableID,RegenValve.P2A.MeteringTable.tableID,RegenValve.A2T.MeteringTable.tableID,$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 (302): * Single equations (assignments): 290 * 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.00176/0.353, allocations: 1.392 MB / 436.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.3534, allocations: 292.4 kB / 437.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/0.3583, allocations: 3.602 MB / 440.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.3583, allocations: 28 kB / 440.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3584, allocations: 0 / 440.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.3584, allocations: 15.8 kB / 440.9 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.3696, allocations: 7.525 MB / 448.4 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3697, allocations: 4 kB / 448.4 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.3718, allocations: 480.1 kB / 448.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.3722, allocations: 215.2 kB / 449.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.3725, allocations: 75.97 kB / 449.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/0.3774, allocations: 6.17 MB / 455.3 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3774, allocations: 4 kB / 455.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007778/0.3852, allocations: 4.95 MB / 460.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/0.3869, allocations: 0.6729 MB / 461 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006668/0.3876, allocations: 71.98 kB / 461 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/0.3896, allocations: 203.7 kB / 461.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/0.3902, allocations: 301.5 kB / 461.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/0.3904, allocations: 104 kB / 461.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002822/0.3932, allocations: 1.589 MB / 463.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3932, allocations: 3.828 kB / 463.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002878/0.3961, allocations: 0.7938 MB / 464 MB, free: 15.71 MB / 298.7 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: 20 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cushionHead.cushionRestriction.MeteringTable.tableID,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cushionHead.cushionTableBlock.tableID,doubleActingCylinder.cushionRod.cushionRestriction.MeteringTable.tableID,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cushionRod.cushionTableBlock.tableID,RegenValve.P2B.MeteringTable.tableID,RegenValve.P2A.MeteringTable.tableID,RegenValve.A2T.MeteringTable.tableID,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 (272): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 10 * 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.001268/0.3974, allocations: 0.6749 MB / 464.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005419/0.4028, allocations: 3.406 MB / 468.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.4028, allocations: 0 / 468.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003083/0.4059, allocations: 2.357 MB / 470.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006726/0.4127, allocations: 1.232 MB / 471.7 MB, free: 7.941 MB / 298.7 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.01264/0.4253, allocations: 7.579 MB / 479.3 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.4273, allocations: 1.958 MB / 481.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.4284, allocations: 263.3 kB / 481.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4284, allocations: 0 / 481.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of Templates: time 0.2198/0.6483, allocations: 103.8 MB / 0.5715 GB, free: 40.39 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.Regenerative.makefile (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)