Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.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.PressureCompensatedLoadSensing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing") translateModel(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 87.11 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.001047/0.001048, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 222.1 MB, free: 5.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05375/0.05375, allocations: 11.85 MB / 282.2 MB, free: 9.34 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.0006159/0.0006164, allocations: 12 kB / 342.9 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.125, allocations: 50.21 MB / 393.1 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensatedLoadSensing): time 0.0203/0.1454, allocations: 21.63 MB / 414.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.1648, allocations: 7.871 MB / 422.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006393/0.1712, allocations: 79.62 kB / 422.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004463/0.1757, allocations: 0.9555 MB / 423.7 MB, free: 5.574 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/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.01073/0.1865, allocations: 2.273 MB / 425.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007175/0.1937, allocations: 1.832 MB / 427.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2885/0.4822, allocations: 6.639 MB / 434.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004639/0.4869, allocations: 1.561 MB / 436 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007377/0.4943, allocations: 1.937 MB / 437.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007478/0.5018, allocations: 2.335 MB / 440.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00218/0.504, allocations: 203.3 kB / 440.4 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.5082, allocations: 414.5 kB / 440.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.5098, allocations: 0.9867 MB / 441.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003188/0.513, allocations: 1.037 MB / 442.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008511/0.5215, allocations: 5.876 MB / 448.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.5215, allocations: 3.25 kB / 448.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5216, allocations: 0 / 448.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002871/0.5218, allocations: 1.375 kB / 448.8 MB, free: 10.08 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01125/0.5331, allocations: 4.638 MB / 453.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5332, allocations: 15.41 kB / 453.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.5352, allocations: 0.563 MB / 454 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/0.5408, allocations: 2.823 MB / 456.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.5411, allocations: 388.4 kB / 457.2 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005904/0.5417, allocations: 361.2 kB / 457.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008066/0.5498, allocations: 4.092 MB / 461.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-05/0.55, allocations: 10.95 kB / 461.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.5504, allocations: 144.8 kB / 461.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.905e-05/0.5505, allocations: 89.94 kB / 461.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007551/0.558, allocations: 3.77 MB / 465.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/0.5869, allocations: 20.01 MB / 485.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005698/0.5926, allocations: 3.863 MB / 489.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.5952, allocations: 1.536 MB / 491 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.5955, allocations: 166 kB / 491.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003086/0.5986, allocations: 1.725 MB / 492.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=308): time 8.556e-06/0.5986, allocations: 0 / 492.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=335): time 0.03319/0.6318, allocations: 13.41 MB / 0.4945 GB, free: 9.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/0.6321, allocations: 406.4 kB / 0.4949 GB, free: 8.73 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Continuous.mo:900:5-900:57:writable] Warning: Parameter PCLSPump.swashPlatePD.yMax has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009538/0.6417, allocations: 3.989 MB / 0.4988 GB, free: 4.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009274/0.6426, allocations: 89.7 kB / 0.4988 GB, free: 4.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002283/0.6449, allocations: 1.924 MB / 0.5007 GB, free: 2.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002016/0.647, allocations: 1.12 MB / 0.5018 GB, free: 1.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006371/0.6476, allocations: 68 kB / 0.5019 GB, free: 1.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003189/0.6479, allocations: 433 kB / 0.5023 GB, free: 1.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003453/0.6514, allocations: 1.37 MB / 0.5036 GB, free: 15.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/0.6551, allocations: 1.852 MB / 0.5054 GB, free: 13.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003723/0.6589, allocations: 1.75 MB / 0.5071 GB, free: 11.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/0.6589, allocations: 4 kB / 0.5071 GB, free: 11.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01045/0.6694, allocations: 4.555 MB / 0.5116 GB, free: 7.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006335/0.6701, allocations: 0.7945 MB / 0.5124 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/0.6701, allocations: 16 kB / 0.5124 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006849/0.6708, allocations: 308.1 kB / 0.5127 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/0.6741, allocations: 0.7356 MB / 0.5134 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/0.6811, allocations: 8.288 MB / 0.5215 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/0.686, allocations: 287.6 kB / 0.5218 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/0.6871, allocations: 144 kB / 0.5219 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.6871, allocations: 4 kB / 0.5219 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01032/0.6974, allocations: 4.188 MB / 0.526 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-05/0.6975, allocations: 12 kB / 0.526 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.6981, allocations: 312.2 kB / 0.5263 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/0.7015, allocations: 0.7372 MB / 0.527 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00692/0.7085, allocations: 8.27 MB / 0.5351 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/0.7132, allocations: 275.7 kB / 0.5354 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.7142, allocations: 147.9 kB / 0.5355 GB, free: 12.83 MB / 414.1 MB Warning: Assuming fixed start value for the following 11 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real j1.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, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))))))))))))))))))))))))))))))))))) start = reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4way3pos.j3.volumeClosed.port[4].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, 0.0)))))))))))))))))))))))))))))))))))))))) start = valve4way3pos.checkT2B.variableRestriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [5] valve4way3pos.reliefA2T.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real valve4way3pos.reliefB2T.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" 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: 64 * Number of states: 0 () * Number of discrete variables: 27 (valve4way3pos.A2T.data.zetaLaminarKnown,valve4way3pos.P2B.data.zetaLaminarKnown,valve4way3pos.B2T.data.zetaLaminarKnown,valve4way3pos.P2A.data.zetaLaminarKnown,valve4way3pos.reliefA2T.variableRestriction.data.zetaLaminarKnown,valve4way3pos.reliefB2T.variableRestriction.data.zetaLaminarKnown,valve4way3pos.checkT2A.variableRestriction.data.zetaLaminarKnown,valve4way3pos.checkT2B.variableRestriction.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,PCLSPump.mechanicalPumpLosses.free,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,$PRE.PCLSPump.mechanicalPumpLosses.startForward,PCLSPump.mechanicalPumpLosses.startForward,$PRE.PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.locked,$PRE.PCLSPump.mechanicalPumpLosses.mode,PCLSPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.005003/0.7192, allocations: 1.659 MB / 0.5371 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/0.7211, allocations: 446.4 kB / 0.5376 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.7325, allocations: 4.652 MB / 0.5421 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/0.7326, allocations: 36 kB / 0.5421 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.647e-05/0.7326, allocations: 7.984 kB / 0.5421 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.743e-05/0.7327, allocations: 15.94 kB / 0.5422 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02776/0.7605, allocations: 9.808 MB / 0.5517 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/0.7605, allocations: 4.562 kB / 0.5517 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003534/0.7641, allocations: 0.6631 MB / 0.5524 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009026/0.765, allocations: 264.1 kB / 0.5526 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/0.7661, allocations: 108 kB / 0.5527 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007406/0.7736, allocations: 7.852 MB / 0.5604 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.7736, allocations: 7.984 kB / 0.5604 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.789, allocations: 6.262 MB / 0.5665 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004026/0.7931, allocations: 0.9598 MB / 0.5675 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002122/0.7952, allocations: 92.11 kB / 0.5676 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004082/0.7993, allocations: 211.7 kB / 0.5678 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/0.8004, allocations: 362 kB / 0.5681 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005617/0.801, allocations: 131.9 kB / 0.5682 GB, free: 9.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00767/0.8087, allocations: 2.724 MB / 0.5709 GB, free: 7.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8087, allocations: 0 / 0.5709 GB, free: 7.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01229/0.821, allocations: 1.676 MB / 0.5725 GB, free: 5.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 20 (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,PCLSPump.swashPlatePD.D.x,circuitTank.volumeOpen.m,valve4way3pos.reliefB2T.valvePosition,valve4way3pos.reliefA2T.valvePosition,valve4way3pos.pressLS.port.p,valve4way3pos.j2.volumeClosed.port[4].p,valve4way3pos.j3.volumeClosed.port[4].p,valve4way3pos.dynamicResponse.y,valve4way3pos.dynamicResponse.yd,j1.volumeClosed.port[2].p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,PCLSPump.mechanicalPumpLosses.startForward,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.locked,PCLSPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (PCLSPump.mechanicalPumpLosses.mode,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002266/0.8233, allocations: 0.5609 MB / 0.5731 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01579/0.8392, allocations: 7.476 MB / 0.5804 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/0.8392, allocations: 8.25 kB / 0.5804 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006243/0.8455, allocations: 3.06 MB / 0.5834 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/0.8561, allocations: 1.275 MB / 0.5846 GB, free: 8.57 MB / 462.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFUnit.mo:883:7-883:68:writable] Error: Internal error function lexer failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2424/1.099, allocations: 10.55 MB / 0.5949 GB, free: 158.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/1.102, allocations: 2.638 MB / 0.5975 GB, free: 157.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005568/1.108, allocations: 0.9351 MB / 0.5984 GB, free: 157.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.109, allocations: 371.5 kB / 0.5988 GB, free: 157.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/1.109, allocations: 5.125 kB / 0.5988 GB, free: 157.5 MB / 462.1 MB Notification: Performance of Templates: time 0.1157/1.225, allocations: 67.12 MB / 0.6643 GB, free: 107.4 MB / 462.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.sim & ./OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe 2>&1) Environment - environmentSimulation: