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.0006871/0.0006871, allocations: 103.1 kB / 15.71 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007992/0.0007992, allocations: 175.9 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 222.7 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05591/0.05591, allocations: 11.84 MB / 282.9 MB, free: 9.57 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.0006013/0.0006013, allocations: 23.59 kB / 343.6 MB, free: 22.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1236, allocations: 50.2 MB / 393.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensated): time 0.01885/0.1425, allocations: 18.96 MB / 412.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.1587, allocations: 6.879 MB / 419.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00541/0.1641, allocations: 67.75 kB / 419.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004598/0.1688, allocations: 0.804 MB / 420.5 MB, free: 9.441 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.009527/0.1783, allocations: 1.939 MB / 422.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006631/0.185, allocations: 1.542 MB / 424 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.195, allocations: 5.594 MB / 429.6 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2573/0.4523, allocations: 1.321 MB / 430.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.4565, allocations: 1.615 MB / 432.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005167/0.4617, allocations: 1.945 MB / 434.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.4629, allocations: 165 kB / 434.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.4654, allocations: 383.1 kB / 435 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.4666, allocations: 0.8109 MB / 435.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.4686, allocations: 0.8573 MB / 436.6 MB, free: 12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007842/0.4765, allocations: 4.758 MB / 441.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.4765, allocations: 0 / 441.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4765, allocations: 0 / 441.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002573/0.4768, allocations: 5.328 kB / 441.4 MB, free: 11.72 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.01081/0.4876, allocations: 3.881 MB / 445.3 MB, free: 9.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4877, allocations: 9.312 kB / 445.3 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.4901, allocations: 479.9 kB / 445.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/0.4957, allocations: 2.346 MB / 448.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.496, allocations: 340.3 kB / 448.4 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006915/0.4967, allocations: 299.8 kB / 448.7 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007222/0.504, allocations: 3.353 MB / 452.1 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.932e-05/0.5041, allocations: 9.281 kB / 452.1 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.5044, allocations: 120.1 kB / 452.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.5044, allocations: 69.47 kB / 452.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005515/0.51, allocations: 2.989 MB / 455.3 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02424/0.5342, allocations: 16.43 MB / 471.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/0.5392, allocations: 3.147 MB / 474.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.5413, allocations: 1.209 MB / 476.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.5416, allocations: 146.4 kB / 476.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002342/0.5439, allocations: 1.401 MB / 477.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=250): time 3.917e-06/0.544, allocations: 0 / 477.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=277): time 0.02383/0.5678, allocations: 11.15 MB / 488.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.568, allocations: 346.6 kB / 489.1 MB, free: 11.15 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.005868/0.5739, allocations: 3.277 MB / 492.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001049/0.575, allocations: 77.7 kB / 492.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.5768, allocations: 1.588 MB / 494 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/0.5782, allocations: 0.9347 MB / 495 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.5784, allocations: 56 kB / 495 MB, free: 5.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.5786, allocations: 415.7 kB / 495.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/0.5807, allocations: 1.107 MB / 496.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.5829, allocations: 1.527 MB / 498.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/0.5851, allocations: 1.407 MB / 499.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.5851, allocations: 4 kB / 499.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.006533/0.5917, allocations: 3.791 MB / 0.4915 GB, free: 12.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004628/0.5922, allocations: 0.6908 MB / 0.4921 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.5922, allocations: 12 kB / 0.4921 GB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.5928, allocations: 297.8 kB / 0.4924 GB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.5952, allocations: 0.6055 MB / 0.493 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006201/0.6014, allocations: 8.19 MB / 0.501 GB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/0.6048, allocations: 239.7 kB / 0.5012 GB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004848/0.6053, allocations: 119.9 kB / 0.5014 GB, free: 1.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.6053, allocations: 4 kB / 0.5014 GB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005775/0.6111, allocations: 3.478 MB / 0.5048 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/0.6112, allocations: 12 kB / 0.5048 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.6117, allocations: 305.7 kB / 0.5051 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/0.6141, allocations: 0.5968 MB / 0.5056 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006303/0.6204, allocations: 8.183 MB / 0.5136 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.624, allocations: 227.9 kB / 0.5139 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005822/0.6246, allocations: 124 kB / 0.514 GB, free: 4.086 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.003308/0.6279, allocations: 1.397 MB / 0.5153 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.629, allocations: 359.5 kB / 0.5157 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006554/0.6355, allocations: 3.774 MB / 0.5194 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.6356, allocations: 28 kB / 0.5194 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6356, allocations: 8.047 kB / 0.5194 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/0.6356, allocations: 22.44 kB / 0.5194 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.6491, allocations: 8.05 MB / 0.5273 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.6491, allocations: 14.56 kB / 0.5273 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/0.6514, allocations: 0.5155 MB / 0.5278 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/0.6519, allocations: 248.1 kB / 0.528 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.6522, allocations: 87.25 kB / 0.5281 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005379/0.6575, allocations: 7.763 MB / 0.5357 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6576, allocations: 8 kB / 0.5357 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008319/0.6659, allocations: 5.099 MB / 0.5407 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/0.6681, allocations: 0.7892 MB / 0.5415 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/0.6693, allocations: 71.98 kB / 0.5415 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/0.6715, allocations: 175.8 kB / 0.5417 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005711/0.6721, allocations: 317.6 kB / 0.542 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002383/0.6724, allocations: 111.9 kB / 0.5421 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004155/0.6765, allocations: 2.243 MB / 0.5443 GB, free: 3.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6766, allocations: 0 / 0.5443 GB, free: 3.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006482/0.683, allocations: 1.414 MB / 0.5457 GB, free: 2.309 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.001442/0.6845, allocations: 0.5412 MB / 0.5462 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009824/0.6943, allocations: 6.279 MB / 0.5523 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.6944, allocations: 5.156 kB / 0.5523 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.6979, allocations: 2.523 MB / 0.5548 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/0.7039, allocations: 1.049 MB / 0.5558 GB, free: 7.523 MB / 430.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFUnit.mo:883:7-883:68:writable] Error: Internal error function lexer failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.7185, allocations: 8.866 MB / 0.5645 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.7209, allocations: 2.268 MB / 0.5667 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/0.7223, allocations: 319.3 kB / 0.567 GB, free: 11.95 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7223, allocations: 0 / 0.567 GB, free: 11.95 MB / 446.1 MB Notification: Performance of Templates: time 0.3616/1.084, allocations: 143.7 MB / 0.7073 GB, free: 60.73 MB / 462.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.makefile make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedCalcHelperMain.o] Error 1