Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.Regenerative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo) Running command: translateModel(OpenHydraulics.Circuits.Regenerative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.Regenerative") translateModel(OpenHydraulics.Circuits.Regenerative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.Regenerative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.007625/0.007625, allocations: 145.3 kB / 15.09 MB, free: 5.969 MB / 13.93 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:14-570:31:writable] Warning: Treating .0158271919734802 as 0.0158271919734802. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:48-570:65:writable] Warning: Treating .0942738402188500 as 0.0942738402188500. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:13-571:29:writable] Warning: Treating .155071987336585 as 0.155071987336585. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:47-571:63:writable] Warning: Treating .188821573960182 as 0.188821573960182. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:9-572:25:writable] Warning: Treating .199773405226859 as 0.199773405226859. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:42-572:58:writable] Warning: Treating .224926465333340 as 0.224926465333340. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:75-572:91:writable] Warning: Treating .242611071901408 as 0.242611071901408. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "

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

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

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

Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 0.9365/0.9365, allocations: 150.7 MB / 166.5 MB, free: 6.043 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001546/0.001546, allocations: 86.41 kB / 201.8 MB, free: 2.691 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04767/0.04767, allocations: 11.85 MB / 248.8 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 12.56 kB / 296.4 MB, free: 26.84 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07604/0.07641, allocations: 37.15 MB / 333.6 MB, free: 5.996 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2599/0.3364, allocations: 64.84 MB / 398.4 MB, free: 20.84 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.3367, allocations: 74.8 kB / 398.5 MB, free: 20.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1532/0.49, allocations: 72.15 MB / 470.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.49, allocations: 0 / 470.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002788/0.4903, allocations: 75.92 kB / 470.7 MB, free: 9.801 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 612 * Number of variables: 612 Notification: Performance of Generate backend data structure: time 0.007356/0.4977, allocations: 3.407 MB / 474.1 MB, free: 6.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4977, allocations: 8.031 kB / 474.1 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.4988, allocations: 387.6 kB / 474.5 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.5031, allocations: 2.05 MB / 476.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.5034, allocations: 304.3 kB / 476.9 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004294/0.5039, allocations: 255.8 kB / 477.1 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/0.5092, allocations: 2.879 MB / 480 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/0.5093, allocations: 4 kB / 480 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.5095, allocations: 104 kB / 480.1 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/0.5096, allocations: 56 kB / 480.2 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004885/0.5145, allocations: 2.611 MB / 482.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/0.5356, allocations: 14.49 MB / 497.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/0.54, allocations: 3.053 MB / 0.4886 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.5403, allocations: 135.1 kB / 0.4887 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002349/0.5426, allocations: 1.458 MB / 0.4901 GB, free: 8.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=235): time 4.378e-06/0.5426, allocations: 3.938 kB / 0.4901 GB, free: 8.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=261): time 0.02382/0.5665, allocations: 11.34 MB / 0.5012 GB, free: 12.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.5667, allocations: 324.7 kB / 0.5015 GB, free: 12.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.5698, allocations: 2.037 MB / 0.5035 GB, free: 10.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003387/0.5702, allocations: 77.7 kB / 0.5036 GB, free: 10.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.5713, allocations: 1.191 MB / 0.5047 GB, free: 9.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009248/0.5723, allocations: 0.8702 MB / 0.5056 GB, free: 8.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.5724, allocations: 52 kB / 0.5056 GB, free: 8.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.5727, allocations: 399 kB / 0.506 GB, free: 7.941 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.5748, allocations: 1.12 MB / 0.5071 GB, free: 6.816 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.577, allocations: 1.461 MB / 0.5085 GB, free: 5.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.5793, allocations: 1.405 MB / 0.5099 GB, free: 3.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.5793, allocations: 0 / 0.5099 GB, free: 3.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.006404/0.5858, allocations: 3.536 MB / 0.5134 GB, free: 16 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1923/0.7781, allocations: 222.7 kB / 0.5136 GB, free: 68.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.415e-05/0.7782, allocations: 8.438 kB / 0.5136 GB, free: 68.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008852/0.7791, allocations: 245.1 kB / 0.5138 GB, free: 68.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003872/0.783, allocations: 0.5332 MB / 0.5144 GB, free: 68.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.7894, allocations: 6.553 MB / 0.5208 GB, free: 63.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/0.7934, allocations: 273.3 kB / 0.521 GB, free: 63.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/0.794, allocations: 121 kB / 0.5211 GB, free: 63.5 MB / 346.7 MB Warning: Assuming fixed start value for the following 10 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real constantDisplacementPump.portP.p:VARIABLE(flow=false min = max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0)))))))))))))))))))))))))))))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0)))))))))))))))))))))))))))))))))))))))))) start = constantDisplacementPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real RegenValve.portB.p:VARIABLE(flow=false min = max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0)))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0)))))))))))))))) start = RegenValve.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real RegenValve.portA.p:VARIABLE(flow=false min = max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0)))))))))))))))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0)))))))))))))))))))))))))))) start = RegenValve.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 32 (constantDisplacementPump.mechanicalPumpLosses.free,RegenValve.A2T.data.zetaLaminarKnown,RegenValve.P2A.data.zetaLaminarKnown,RegenValve.P2B.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,reliefValve.variableRestriction.data.zetaLaminarKnown,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cushionHead.cushionRestriction.MeteringTable.tableID,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cushionHead.cushionTableBlock.tableID,doubleActingCylinder.cushionRod.cushionRestriction.MeteringTable.tableID,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cushionRod.cushionTableBlock.tableID,RegenValve.P2B.MeteringTable.tableID,RegenValve.P2A.MeteringTable.tableID,RegenValve.A2T.MeteringTable.tableID,$PRE.constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startForward,$PRE.constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,$PRE.constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003872/0.7979, allocations: 1.393 MB / 0.5225 GB, free: 63.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/0.7994, allocations: 296.6 kB / 0.5228 GB, free: 63.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.8102, allocations: 3.805 MB / 0.5265 GB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-05/0.8103, allocations: 29.39 kB / 0.5265 GB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.8104, allocations: 2.469 kB / 0.5265 GB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.625e-05/0.8104, allocations: 15.55 kB / 0.5265 GB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/0.8316, allocations: 7.705 MB / 0.5341 GB, free: 61.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.8316, allocations: 10.16 kB / 0.5341 GB, free: 61.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/0.8348, allocations: 466.8 kB / 0.5345 GB, free: 61.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000732/0.8355, allocations: 210.7 kB / 0.5347 GB, free: 61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003549/0.8359, allocations: 80.09 kB / 0.5348 GB, free: 61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005908/0.8418, allocations: 6.125 MB / 0.5408 GB, free: 55.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/0.8419, allocations: 9.562 kB / 0.5408 GB, free: 55.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/0.8548, allocations: 5.672 MB / 0.5463 GB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00335/0.8582, allocations: 0.709 MB / 0.547 GB, free: 54.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009034/0.8591, allocations: 67.02 kB / 0.5471 GB, free: 54.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/0.8622, allocations: 201.1 kB / 0.5473 GB, free: 54.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007951/0.863, allocations: 306.2 kB / 0.5476 GB, free: 54.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000342/0.8634, allocations: 118 kB / 0.5477 GB, free: 54.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003619/0.867, allocations: 1.588 MB / 0.5492 GB, free: 54.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.867, allocations: 6.438 kB / 0.5492 GB, free: 54.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004717/0.8717, allocations: 0.8429 MB / 0.5501 GB, free: 54.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 16 (reliefValve.valvePosition,doubleActingCylinder.cylinderChamberHead.port[3].p,doubleActingCylinder.cylinderChamberRod.port[3].p,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,circuitTank.volumeOpen.m,RegenValve.portA.p,RegenValve.portB.p,RegenValve.dynamicResponse.y,RegenValve.dynamicResponse.yd,constantDisplacementPump.portP.p,constantSpeed.phi) * Number of discrete variables: 20 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cushionHead.cushionRestriction.MeteringTable.tableID,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cushionHead.cushionTableBlock.tableID,doubleActingCylinder.cushionRod.cushionRestriction.MeteringTable.tableID,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.MeteringTable.tableID,doubleActingCylinder.cushionRod.cushionTableBlock.tableID,RegenValve.P2B.MeteringTable.tableID,RegenValve.P2A.MeteringTable.tableID,RegenValve.A2T.MeteringTable.tableID,constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,constantDisplacementPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (271): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002373/0.8741, allocations: 0.7647 MB / 0.5508 GB, free: 53.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007865/0.882, allocations: 3.477 MB / 0.5542 GB, free: 52.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.8821, allocations: 5.969 kB / 0.5542 GB, free: 52.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004629/0.8867, allocations: 2.447 MB / 0.5566 GB, free: 51.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/0.8968, allocations: 1.178 MB / 0.5577 GB, free: 51.9 MB / 346.7 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.01982/0.9166, allocations: 7.517 MB / 0.5651 GB, free: 48.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003556/0.9202, allocations: 2.023 MB / 0.5671 GB, free: 48.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005047/0.9253, allocations: 0.5082 MB / 0.5676 GB, free: 48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.927, allocations: 248.6 kB / 0.5678 GB, free: 48 MB / 346.7 MB Notification: Performance of SimCode: time 1.382e-06/0.927, allocations: 3 kB / 0.5678 GB, free: 48 MB / 346.7 MB Notification: Performance of Templates: time 0.103/1.03, allocations: 50.61 MB / 0.6172 GB, free: 21.42 MB / 346.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.Regenerative.makefile (rm -f OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.Regenerative.sim & ./OpenHydraulics_OpenHydraulics.Circuits.Regenerative -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.Regenerative.pipe 2>&1)