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: "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensated,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensated,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006483/0.006484, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001121/0.001121, allocations: 197.3 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05716/0.05716, allocations: 11.84 MB / 281.8 MB, free: 9.348 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.001567/0.001567, allocations: 71.91 kB / 391.8 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2781, allocations: 49.22 MB / 441.1 MB, free: 4.168 MB / 318.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) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensated): time 0.01675/0.2949, allocations: 15.44 MB / 456.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.3098, allocations: 6.451 MB / 462.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005346/0.3152, allocations: 62.25 kB / 463 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003391/0.3186, allocations: 0.9109 MB / 463.9 MB, free: 2.629 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007623/0.3262, allocations: 1.881 MB / 465.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006326/0.3326, allocations: 2.194 MB / 468 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009828/0.3424, allocations: 6.093 MB / 474.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00385/0.3463, allocations: 1.747 MB / 475.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004771/0.3512, allocations: 2.086 MB / 477.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004668/0.3559, allocations: 2.342 MB / 480.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.3576, allocations: 448 kB / 480.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.3605, allocations: 0.6834 MB / 481.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.3623, allocations: 1.125 MB / 482.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004422/0.3667, allocations: 2.391 MB / 484.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008324/0.3751, allocations: 6.159 MB / 491.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3751, allocations: 4 kB / 491.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3751, allocations: 0 / 491.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.3753, allocations: 0 / 491.1 MB, free: 9.227 MB / 366.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.01058/0.3859, allocations: 4.779 MB / 495.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.386, allocations: 15.89 kB / 495.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006592/0.3866, allocations: 405.1 kB / 496.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.3878, allocations: 497.9 kB / 496.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.3925, allocations: 2.52 MB / 499.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.3928, allocations: 340.6 kB / 499.6 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000569/0.3934, allocations: 299.9 kB / 499.9 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00667/0.4001, allocations: 3.374 MB / 0.4915 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.531e-05/0.4002, allocations: 3.984 kB / 0.4915 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/0.4005, allocations: 120 kB / 0.4916 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.4006, allocations: 68 kB / 0.4916 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005952/0.4065, allocations: 2.998 MB / 0.4946 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.4315, allocations: 16.41 MB / 0.5106 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005108/0.4366, allocations: 3.159 MB / 0.5137 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.4389, allocations: 1.228 MB / 0.5149 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.4392, allocations: 139 kB / 0.515 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0026/0.4418, allocations: 1.403 MB / 0.5164 GB, free: 1.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=250): time 5.24e-06/0.4418, allocations: 4 kB / 0.5164 GB, free: 1.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=277): time 0.02539/0.4672, allocations: 11.15 MB / 0.5273 GB, free: 5.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001957/0.4675, allocations: 350.5 kB / 0.5276 GB, free: 5.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005307/0.4728, allocations: 3.297 MB / 0.5308 GB, free: 2.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006147/0.4734, allocations: 77.7 kB / 0.5309 GB, free: 2.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001527/0.475, allocations: 1.614 MB / 0.5325 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001181/0.4762, allocations: 0.9762 MB / 0.5334 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008142/0.477, allocations: 493.9 kB / 0.5339 GB, free: 15.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4771, allocations: 301.1 kB / 0.5342 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.4793, allocations: 1.138 MB / 0.5353 GB, free: 13.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.4817, allocations: 1.546 MB / 0.5368 GB, free: 11.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/0.5004, allocations: 6.552 MB / 0.5432 GB, free: 4.855 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.5004, allocations: 4 kB / 0.5432 GB, free: 4.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.006987/0.5074, allocations: 3.824 MB / 0.547 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.5076, allocations: 225.6 kB / 0.5472 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.5076, allocations: 16.06 kB / 0.5472 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.5082, allocations: 300 kB / 0.5475 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.5108, allocations: 0.6046 MB / 0.5481 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007504/0.5184, allocations: 9.036 MB / 0.5569 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.5211, allocations: 135.9 kB / 0.557 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000348/0.5214, allocations: 120 kB / 0.5571 GB, free: 5.684 MB / 446.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 reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder.leakage_Rod2Env.port_b.p:VARIABLE(flow=false min = 0.0 start = doubleActingCylinder.cushionRod.reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003832/0.5253, allocations: 1.912 MB / 0.559 GB, free: 3.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002487/0.5278, allocations: 1.53 MB / 0.5605 GB, free: 2.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01902/0.5468, allocations: 6.529 MB / 0.5669 GB, free: 11.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-05/0.5469, allocations: 7.984 kB / 0.5669 GB, free: 11.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=358) (initialization_lambda0): time 0.007643/0.5546, allocations: 3.797 MB / 0.5706 GB, free: 7.102 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.5547, allocations: 229.6 kB / 0.5708 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.5548, allocations: 12 kB / 0.5708 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005348/0.5553, allocations: 300.1 kB / 0.5711 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.5579, allocations: 0.6007 MB / 0.5717 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007424/0.5653, allocations: 9.036 MB / 0.5805 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/0.5682, allocations: 128 kB / 0.5806 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004377/0.5687, allocations: 124 kB / 0.5807 GB, free: 11.93 MB / 478.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 reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder.leakage_Rod2Env.port_b.p:VARIABLE(flow=false min = 0.0 start = doubleActingCylinder.cushionRod.reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" 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,PCPump.mechanicalPumpLosses.mode,$PRE.PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.locked,PCPump.mechanicalPumpLosses.startBackward,$PRE.PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startForward,$PRE.PCPump.mechanicalPumpLosses.startForward,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cylinderChamberHead.empty,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,6,100.0%), (1,5,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.5697, allocations: 0.6093 MB / 0.5813 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009234/0.5706, allocations: 389.5 kB / 0.5817 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006928/0.5776, allocations: 3.744 MB / 0.5854 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.5776, allocations: 28 kB / 0.5854 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.5777, allocations: 11.94 kB / 0.5854 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/0.5777, allocations: 15.94 kB / 0.5854 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.5921, allocations: 8.019 MB / 0.5933 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.5922, allocations: 4 kB / 0.5933 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/0.5946, allocations: 0.5188 MB / 0.5938 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/0.5951, allocations: 256.2 kB / 0.594 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/0.5954, allocations: 83.97 kB / 0.5941 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006751/0.6021, allocations: 8.514 MB / 0.6024 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.6022, allocations: 7.938 kB / 0.6024 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1967/0.7989, allocations: 5.134 MB / 0.6074 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/0.8012, allocations: 0.757 MB / 0.6082 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008947/0.8021, allocations: 78.08 kB / 0.6082 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.804, allocations: 108.7 kB / 0.6083 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006716/0.8047, allocations: 312.9 kB / 0.6086 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/0.8049, allocations: 103.3 kB / 0.6087 GB, free: 155.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004009/0.8089, allocations: 2.266 MB / 0.611 GB, free: 155.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8089, allocations: 3.031 kB / 0.611 GB, free: 155.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00555/0.8145, allocations: 1.407 MB / 0.6123 GB, free: 155.6 MB / 494.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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009866/0.8244, allocations: 6.13 MB / 0.6183 GB, free: 152.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009395/0.8338, allocations: 6.305 MB / 0.6245 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.8339, allocations: 2.094 kB / 0.6245 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003421/0.8373, allocations: 2.591 MB / 0.627 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005241/0.8426, allocations: 1.121 MB / 0.6281 GB, free: 146.5 MB / 494.1 MB Notification: Invalid unit expression 'N/ (m/s)'. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04567/0.8883, allocations: 29.56 MB / 0.657 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.8899, allocations: 2.295 MB / 0.6592 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002898/0.8928, allocations: 0.7492 MB / 0.6599 GB, free: 118.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/0.8947, allocations: 1.616 MB / 0.6615 GB, free: 116.5 MB / 494.1 MB Notification: Performance of SimCode: time 7.62e-07/0.8947, allocations: 3.938 kB / 0.6615 GB, free: 116.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/1.03, allocations: 92.52 MB / 0.7519 GB, free: 23.74 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.78/20.81, allocations: 7.844 kB / 0.7519 GB, free: 23.73 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.002 OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated.fmu > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe 2>&1)