Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensatedLoadSensing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensatedLoadSensing",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.005377/0.005377, allocations: 97.75 kB / 15.73 MB, free: 6.004 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.001236/0.001237, allocations: 192.6 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.364/1.364, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05834/0.05834, allocations: 11.84 MB / 281.8 MB, free: 9.34 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 67.91 kB / 391.8 MB, free: 4.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2625, allocations: 49.23 MB / 441.1 MB, free: 4.148 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 PCLSPump.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.PressureCompensatedLoadSensing): time 0.01988/0.2824, allocations: 17.81 MB / 458.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.2991, allocations: 7.345 MB / 466.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005192/0.3043, allocations: 72.25 kB / 466.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003813/0.3081, allocations: 1.089 MB / 467.4 MB, free: 15.82 MB / 350.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.008404/0.3166, allocations: 2.271 MB / 469.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008071/0.3247, allocations: 2.62 MB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.3366, allocations: 7.32 MB / 479.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004667/0.3413, allocations: 2.217 MB / 481.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005389/0.3467, allocations: 2.526 MB / 484.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005374/0.3521, allocations: 2.809 MB / 487.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002414/0.3546, allocations: 0.5391 MB / 487.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.3579, allocations: 0.7889 MB / 488.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.3604, allocations: 1.37 MB / 489.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006091/0.3665, allocations: 2.908 MB / 492.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.3801, allocations: 7.587 MB / 0.4886 GB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.3801, allocations: 4 kB / 0.4886 GB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3801, allocations: 0 / 0.4886 GB, free: 15.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003558/0.3805, allocations: 0 / 0.4886 GB, free: 15.92 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01543/0.3959, allocations: 5.718 MB / 0.4942 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.396, allocations: 11.89 kB / 0.4942 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001526/0.3975, allocations: 488.9 kB / 0.4947 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.3996, allocations: 0.591 MB / 0.4952 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006693/0.4064, allocations: 3.036 MB / 0.4982 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005335/0.407, allocations: 381.8 kB / 0.4986 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.4081, allocations: 363.9 kB / 0.4989 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00959/0.4177, allocations: 4.12 MB / 0.5029 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-05/0.4179, allocations: 4 kB / 0.5029 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004657/0.4184, allocations: 140 kB / 0.5031 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-05/0.4184, allocations: 84 kB / 0.5032 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008691/0.4271, allocations: 3.775 MB / 0.5068 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.4596, allocations: 20.01 MB / 0.5264 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006617/0.4663, allocations: 3.886 MB / 0.5302 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/0.4694, allocations: 1.543 MB / 0.5317 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.4698, allocations: 155.4 kB / 0.5318 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003511/0.4733, allocations: 1.736 MB / 0.5335 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=308): time 6.031e-06/0.4733, allocations: 4 kB / 0.5335 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=335): time 0.03083/0.5042, allocations: 13.41 MB / 0.5466 GB, free: 1.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.5044, allocations: 406.5 kB / 0.547 GB, free: 1.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006422/0.5108, allocations: 4.009 MB / 0.5509 GB, free: 13.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007698/0.5117, allocations: 93.7 kB / 0.551 GB, free: 13.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001858/0.5135, allocations: 1.946 MB / 0.5529 GB, free: 11.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001508/0.515, allocations: 1.181 MB / 0.5541 GB, free: 9.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.5161, allocations: 0.5856 MB / 0.5546 GB, free: 9.348 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5162, allocations: 313.1 kB / 0.5549 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/0.5189, allocations: 1.401 MB / 0.5563 GB, free: 7.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/0.522, allocations: 1.856 MB / 0.5581 GB, free: 5.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02567/0.5477, allocations: 8.335 MB / 0.5663 GB, free: 12.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.29e-05/0.5478, allocations: 4 kB / 0.5663 GB, free: 12.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01059/0.5584, allocations: 4.581 MB / 0.5707 GB, free: 7.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.5586, allocations: 285 kB / 0.571 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/0.5587, allocations: 16 kB / 0.571 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006598/0.5594, allocations: 316 kB / 0.5713 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/0.563, allocations: 0.7333 MB / 0.5721 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007689/0.5707, allocations: 9.129 MB / 0.581 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/0.574, allocations: 152 kB / 0.5811 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007556/0.5748, allocations: 148 kB / 0.5813 GB, free: 12.45 MB / 478.1 MB Warning: Assuming fixed start value for the following 11 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real 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 valve4way3pos.reliefB2T.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real valve4way3pos.reliefA2T.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" 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.005798/0.5806, allocations: 2.356 MB / 0.5836 GB, free: 10.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003727/0.5844, allocations: 1.845 MB / 0.5854 GB, free: 8.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2288/0.8132, allocations: 8.284 MB / 0.5934 GB, free: 140 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.186e-05/0.8133, allocations: 7.469 kB / 0.5935 GB, free: 140 MB / 478.1 MB Notification: Performance of matching and sorting (n=427) (initialization_lambda0): time 0.01019/0.8235, allocations: 4.561 MB / 0.5979 GB, free: 139.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.8236, allocations: 281 kB / 0.5982 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/0.8237, allocations: 17.95 kB / 0.5982 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/0.8242, allocations: 314.4 kB / 0.5985 GB, free: 138.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/0.8278, allocations: 0.7386 MB / 0.5992 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.8338, allocations: 9.119 MB / 0.6081 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/0.8371, allocations: 162 kB / 0.6083 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006205/0.8378, allocations: 144.9 kB / 0.6084 GB, free: 130.2 MB / 478.1 MB Warning: Assuming fixed start value for the following 11 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real 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 valve4way3pos.reliefB2T.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real valve4way3pos.reliefA2T.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" 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: 64 * Number of states: 0 () * Number of discrete variables: 27 (valve4way3pos.A2T.data.zetaLaminarKnown,valve4way3pos.P2B.data.zetaLaminarKnown,valve4way3pos.B2T.data.zetaLaminarKnown,valve4way3pos.P2A.data.zetaLaminarKnown,valve4way3pos.reliefA2T.variableRestriction.data.zetaLaminarKnown,valve4way3pos.reliefB2T.variableRestriction.data.zetaLaminarKnown,valve4way3pos.checkT2A.variableRestriction.data.zetaLaminarKnown,valve4way3pos.checkT2B.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,reliefValve.variableRestriction.data.zetaLaminarKnown,PCLSPump.mechanicalPumpLosses.free,PCLSPump.mechanicalPumpLosses.mode,$PRE.PCLSPump.mechanicalPumpLosses.mode,PCLSPump.mechanicalPumpLosses.locked,PCLSPump.mechanicalPumpLosses.startBackward,$PRE.PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.startForward,$PRE.PCLSPump.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 (407): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 10 * 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.001014/0.8388, allocations: 0.6879 MB / 0.6091 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/0.8399, allocations: 463.3 kB / 0.6095 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008633/0.8486, allocations: 4.617 MB / 0.614 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.732e-05/0.8487, allocations: 37.22 kB / 0.6141 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.8487, allocations: 6.562 kB / 0.6141 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.03e-05/0.8487, allocations: 18.94 kB / 0.6141 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/0.8669, allocations: 9.743 MB / 0.6236 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.867, allocations: 3.094 kB / 0.6236 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/0.8702, allocations: 0.661 MB / 0.6243 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005716/0.8708, allocations: 261.5 kB / 0.6245 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005671/0.8714, allocations: 103.9 kB / 0.6246 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/0.8762, allocations: 8.592 MB / 0.633 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.8762, allocations: 7.656 kB / 0.633 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.8866, allocations: 6.312 MB / 0.6392 GB, free: 108.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/0.8889, allocations: 0.9185 MB / 0.6401 GB, free: 107.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/0.89, allocations: 84 kB / 0.6401 GB, free: 107.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002486/0.8925, allocations: 135.9 kB / 0.6403 GB, free: 107.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006816/0.8932, allocations: 342.2 kB / 0.6406 GB, free: 106.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002909/0.8935, allocations: 131.9 kB / 0.6407 GB, free: 106.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004049/0.8976, allocations: 2.761 MB / 0.6434 GB, free: 103.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8976, allocations: 0 / 0.6434 GB, free: 103.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00722/0.9048, allocations: 1.674 MB / 0.6451 GB, free: 102.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 20 (reliefValve.valvePosition,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,doubleActingCylinder.leakage_Head2Env.port_b.p,doubleActingCylinder.leakage_Rod2Env.port_b.p,PCLSPump.swashPlatePD.D.x,circuitTank.volumeOpen.m,valve4way3pos.reliefB2T.valvePosition,valve4way3pos.reliefA2T.valvePosition,valve4way3pos.pressLS.port.p,valve4way3pos.j2.volumeClosed.port[4].p,valve4way3pos.j3.volumeClosed.port[4].p,valve4way3pos.dynamicResponse.y,valve4way3pos.dynamicResponse.yd,j1.volumeClosed.port[2].p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,PCLSPump.mechanicalPumpLosses.startForward,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.locked,PCLSPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (PCLSPump.mechanicalPumpLosses.mode,PCLSPump.mechanicalPumpLosses.startBackward,PCLSPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (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.01156/0.9164, allocations: 7.339 MB / 0.6522 GB, free: 94.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01159/0.9281, allocations: 7.511 MB / 0.6596 GB, free: 86.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/0.9282, allocations: 4 kB / 0.6596 GB, free: 86.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004424/0.9326, allocations: 3.064 MB / 0.6626 GB, free: 83.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006353/0.939, allocations: 1.37 MB / 0.6639 GB, free: 82.16 MB / 478.1 MB Notification: Invalid unit expression 'N/ (m/s)'. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05721/0.9962, allocations: 35.46 MB / 0.6985 GB, free: 45.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/0.9986, allocations: 2.645 MB / 0.7011 GB, free: 43.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004159/1.003, allocations: 0.9259 MB / 0.702 GB, free: 42.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002784/1.006, allocations: 2.007 MB / 0.704 GB, free: 40.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/1.006, allocations: 0 / 0.704 GB, free: 40.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.39/1.396, allocations: 111.4 MB / 0.8128 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.12/22.51, allocations: 0.6875 kB / 0.8128 GB, free: 174.6 MB / 0.5137 GB (rm -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.sim & python3 -m fmpy simulate --output-file OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 OpenHydraulics_OpenHydraulics_Circuits_PressureCompensatedLoadSensing.fmu > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe 2>&1)