Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.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.PressureCompensated,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated") translateModel(OpenHydraulics.Circuits.PressureCompensated,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 84.38 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.0009779/0.000978, 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.863/1.863, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05862/0.05862, allocations: 11.85 MB / 282.2 MB, free: 9.465 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.0008356/0.0008357, allocations: 26.81 kB / 342.9 MB, free: 22.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1447, allocations: 50.2 MB / 393.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensated): time 0.02067/0.1654, allocations: 18.96 MB / 412.1 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.1832, allocations: 6.883 MB / 419 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00617/0.1895, allocations: 75.69 kB / 419.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.1936, allocations: 0.804 MB / 419.9 MB, free: 9.406 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. [/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.0102/0.2038, allocations: 1.936 MB / 421.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006861/0.2107, allocations: 1.546 MB / 423.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.2217, allocations: 5.594 MB / 428.9 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2971/0.5189, allocations: 1.311 MB / 430.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005786/0.5248, allocations: 1.613 MB / 431.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006917/0.5317, allocations: 1.945 MB / 433.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/0.5339, allocations: 165.3 kB / 434 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/0.5377, allocations: 379.2 kB / 434.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.5394, allocations: 0.8131 MB / 435.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.5426, allocations: 0.8558 MB / 436 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.5532, allocations: 4.754 MB / 440.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.5532, allocations: 1.562 kB / 440.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.5532, allocations: 3.656 kB / 440.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003834/0.5536, allocations: 0 / 440.8 MB, free: 11.73 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: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.01516/0.5688, allocations: 3.891 MB / 444.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.5689, allocations: 8.344 kB / 444.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/0.5727, allocations: 478.4 kB / 445.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007688/0.5805, allocations: 2.348 MB / 447.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005298/0.581, allocations: 338.8 kB / 447.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.5826, allocations: 296.2 kB / 448.1 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009165/0.5918, allocations: 3.356 MB / 451.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.979e-05/0.592, allocations: 7.125 kB / 451.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.5923, allocations: 124.6 kB / 451.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.859e-05/0.5923, allocations: 68.34 kB / 451.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006179/0.5985, allocations: 2.988 MB / 454.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/0.6256, allocations: 16.43 MB / 471.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005445/0.6311, allocations: 3.144 MB / 474.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/0.6336, allocations: 1.213 MB / 475.4 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.6339, allocations: 140.7 kB / 475.6 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002668/0.6366, allocations: 1.406 MB / 477 MB, free: 7.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=250): time 6.242e-06/0.6367, allocations: 0 / 477 MB, free: 7.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=277): time 0.03234/0.669, allocations: 11.15 MB / 488.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002847/0.6694, allocations: 346.6 kB / 488.5 MB, free: 11.13 MB / 350.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 PCPump.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.009639/0.679, allocations: 3.277 MB / 491.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009456/0.68, allocations: 77.69 kB / 491.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/0.6827, allocations: 1.588 MB / 493.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001986/0.6847, allocations: 0.9345 MB / 494.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000566/0.6853, allocations: 56 kB / 494.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003544/0.6856, allocations: 411.8 kB / 494.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/0.6888, allocations: 1.105 MB / 495.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/0.6922, allocations: 1.528 MB / 497.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/0.6956, allocations: 1.407 MB / 498.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.218e-05/0.6956, allocations: 4 kB / 498.8 MB, free: 500 kB / 350.1 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.009823/0.7054, allocations: 3.789 MB / 0.4908 GB, free: 12.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008564/0.7063, allocations: 0.6969 MB / 0.4915 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.843e-05/0.7064, allocations: 12 kB / 0.4915 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007885/0.7072, allocations: 294.4 kB / 0.4918 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.7101, allocations: 0.6062 MB / 0.4924 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008849/0.719, allocations: 8.204 MB / 0.5004 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/0.7238, allocations: 235.7 kB / 0.5006 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009309/0.7248, allocations: 120 kB / 0.5008 GB, free: 1.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7248, allocations: 4 kB / 0.5008 GB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009779/0.7346, allocations: 3.478 MB / 0.5042 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.071e-05/0.7347, allocations: 12 kB / 0.5042 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.7354, allocations: 290.2 kB / 0.5044 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.7384, allocations: 0.6014 MB / 0.505 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008118/0.7465, allocations: 8.179 MB / 0.513 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/0.7512, allocations: 231.8 kB / 0.5132 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009239/0.7522, allocations: 116.1 kB / 0.5134 GB, free: 4.078 MB / 382.1 MB Warning: Assuming fixed start value for the following 9 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] v4_3CC.j3.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, 0.0)))))))))))))))))))))))))))) start = v4_3CC.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] 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: 58 * Number of states: 0 () * Number of discrete variables: 23 (v4_3CC.A2T.data.zetaLaminarKnown,v4_3CC.P2B.data.zetaLaminarKnown,v4_3CC.B2T.data.zetaLaminarKnown,v4_3CC.P2A.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,PCPump.mechanicalPumpLosses.free,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,$PRE.PCPump.mechanicalPumpLosses.startForward,PCPump.mechanicalPumpLosses.startForward,$PRE.PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.locked,$PRE.PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 325 * 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: 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.005035/0.7572, allocations: 1.394 MB / 0.5147 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001799/0.759, allocations: 367.5 kB / 0.5151 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.77, allocations: 3.766 MB / 0.5187 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.567e-05/0.7701, allocations: 36 kB / 0.5188 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/0.7702, allocations: 11.98 kB / 0.5188 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.222e-05/0.7702, allocations: 14.58 kB / 0.5188 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/0.792, allocations: 8.041 MB / 0.5267 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/0.7921, allocations: 16.06 kB / 0.5267 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/0.7946, allocations: 0.519 MB / 0.5272 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006756/0.7953, allocations: 251.8 kB / 0.5274 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005039/0.7959, allocations: 87.95 kB / 0.5275 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008139/0.804, allocations: 7.764 MB / 0.5351 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.8041, allocations: 7.938 kB / 0.5351 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.8177, allocations: 5.097 MB / 0.5401 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00363/0.8214, allocations: 0.793 MB / 0.5408 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/0.8236, allocations: 72 kB / 0.5409 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003816/0.8274, allocations: 175.8 kB / 0.5411 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009406/0.8284, allocations: 321.6 kB / 0.5414 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005086/0.8289, allocations: 108 kB / 0.5415 GB, free: 5.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.007055/0.836, allocations: 2.243 MB / 0.5437 GB, free: 3.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.836, allocations: 3.938 kB / 0.5437 GB, free: 3.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01158/0.8476, allocations: 1.41 MB / 0.5451 GB, free: 2.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 17 (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,PCPump.swashPlatePD.D.x,circuitTank.volumeOpen.m,v4_3CC.j2.volumeClosed.port[2].p,v4_3CC.j3.volumeClosed.port[2].p,v4_3CC.dynamicResponse.y,v4_3CC.dynamicResponse.yd,j1.volumeClosed.port[2].p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,PCPump.mechanicalPumpLosses.startForward,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.locked,PCPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 277 * 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: 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.002376/0.8501, allocations: 0.5493 MB / 0.5456 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01375/0.8638, allocations: 6.278 MB / 0.5517 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/0.8639, allocations: 5.094 kB / 0.5517 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005249/0.8692, allocations: 2.573 MB / 0.5542 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/0.8796, allocations: 1.047 MB / 0.5553 GB, free: 7.438 MB / 430.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.02257/0.9022, allocations: 8.765 MB / 0.5638 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004374/0.9066, allocations: 2.303 MB / 0.5661 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006501/0.9132, allocations: 0.7531 MB / 0.5668 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/0.9151, allocations: 295.3 kB / 0.5671 GB, free: 11.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.144e-06/0.9152, allocations: 0 / 0.5671 GB, free: 11.2 MB / 446.1 MB Notification: Performance of Templates: time 0.3983/1.313, allocations: 55.74 MB / 0.6215 GB, free: 149.8 MB / 462.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.sim & ./OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe 2>&1) Environment - environmentSimulation: