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.001297/0.001297, allocations: 108 kB / 15.61 MB, free: 152 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.001293/0.001293, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.401/1.401, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05278/0.05278, allocations: 11.85 MB / 281.6 MB, free: 9.422 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.001607/0.001607, allocations: 75.28 kB / 341.9 MB, free: 21.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09264, allocations: 49.22 MB / 391.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensatedLoadSensing): time 0.01758/0.1103, allocations: 17.82 MB / 409 MB, free: 2.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.1246, allocations: 7.352 MB / 416.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004481/0.1291, allocations: 67.69 kB / 416.4 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.1324, allocations: 1.086 MB / 417.5 MB, free: 10.19 MB / 318.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.006968/0.1395, allocations: 2.162 MB / 419.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006557/0.1461, allocations: 2.611 MB / 422.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1888/0.3348, allocations: 7.273 MB / 429.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.3379, allocations: 2.227 MB / 431.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.3421, allocations: 2.49 MB / 434.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/0.347, allocations: 2.806 MB / 437 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00197/0.349, allocations: 0.5384 MB / 437.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.352, allocations: 0.7915 MB / 438.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.3536, allocations: 1.373 MB / 439.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004458/0.3581, allocations: 2.906 MB / 442.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007584/0.3657, allocations: 7.486 MB / 450.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3657, allocations: 0 / 450.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3657, allocations: 0 / 450.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002037/0.3659, allocations: 3.156 kB / 450.1 MB, free: 9.695 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.009578/0.3755, allocations: 5.576 MB / 455.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3756, allocations: 13.2 kB / 455.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000474/0.376, allocations: 480.1 kB / 456.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009969/0.377, allocations: 0.563 MB / 456.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.3808, allocations: 2.958 MB / 459.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.3811, allocations: 390.3 kB / 460.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.3815, allocations: 354 kB / 460.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006241/0.3877, allocations: 4.116 MB / 464.6 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/0.3878, allocations: 7.906 kB / 464.6 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.3881, allocations: 144 kB / 464.7 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.3882, allocations: 84 kB / 464.8 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007766/0.396, allocations: 3.763 MB / 468.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02802/0.424, allocations: 20.05 MB / 488.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.4295, allocations: 3.852 MB / 492.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/0.432, allocations: 1.528 MB / 494 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.4322, allocations: 162.1 kB / 494.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002776/0.435, allocations: 1.74 MB / 495.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=308): time 4.789e-06/0.435, allocations: 3.938 kB / 495.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=335): time 0.02673/0.4618, allocations: 13.25 MB / 0.4972 GB, free: 1.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.462, allocations: 405.9 kB / 0.4976 GB, free: 1.238 MB / 366.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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/0.4675, allocations: 4.012 MB / 0.5015 GB, free: 13.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005987/0.4681, allocations: 93.69 kB / 0.5016 GB, free: 13.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.4698, allocations: 1.921 MB / 0.5035 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.471, allocations: 1.127 MB / 0.5046 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008765/0.4719, allocations: 0.5777 MB / 0.5051 GB, free: 9.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.472, allocations: 301.1 kB / 0.5054 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/0.4745, allocations: 1.394 MB / 0.5068 GB, free: 7.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/0.4771, allocations: 1.858 MB / 0.5086 GB, free: 5.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0232/0.5003, allocations: 8.378 MB / 0.5168 GB, free: 12.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.5004, allocations: 4 kB / 0.5168 GB, free: 12.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.009016/0.5094, allocations: 4.548 MB / 0.5212 GB, free: 8.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.5096, allocations: 281 kB / 0.5215 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.869e-05/0.5097, allocations: 20.09 kB / 0.5215 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.5103, allocations: 311.6 kB / 0.5218 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.5133, allocations: 0.7351 MB / 0.5225 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006953/0.5203, allocations: 9.125 MB / 0.5314 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/0.5237, allocations: 155.8 kB / 0.5316 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005345/0.5243, allocations: 140.1 kB / 0.5317 GB, free: 12.84 MB / 414.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 = 100000.0 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 = 100000.0 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.004534/0.5288, allocations: 2.346 MB / 0.534 GB, free: 10.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002632/0.5315, allocations: 1.847 MB / 0.5358 GB, free: 8.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02337/0.5549, allocations: 8.35 MB / 0.544 GB, free: 15.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.554e-05/0.5549, allocations: 8 kB / 0.544 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=427) (initialization_lambda0): time 0.007604/0.5625, allocations: 4.535 MB / 0.5484 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.5627, allocations: 285.1 kB / 0.5487 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.5627, allocations: 16 kB / 0.5487 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005075/0.5632, allocations: 306.6 kB / 0.549 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.566, allocations: 0.7355 MB / 0.5497 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006852/0.5729, allocations: 9.127 MB / 0.5586 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/0.5763, allocations: 163.8 kB / 0.5588 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004145/0.5767, allocations: 144 kB / 0.5589 GB, free: 15.62 MB / 446.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 = 100000.0 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 = 100000.0 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.001096/0.5778, allocations: 0.6884 MB / 0.5596 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008653/0.5787, allocations: 438.6 kB / 0.56 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008235/0.5869, allocations: 4.607 MB / 0.5645 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.587, allocations: 36 kB / 0.5645 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.587, allocations: 4 kB / 0.5645 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/0.587, allocations: 23.92 kB / 0.5646 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.6021, allocations: 9.804 MB / 0.5741 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.6021, allocations: 7.188 kB / 0.5741 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/0.6049, allocations: 0.661 MB / 0.5748 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.6055, allocations: 266.8 kB / 0.575 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004259/0.6059, allocations: 107.9 kB / 0.5751 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006133/0.6121, allocations: 8.592 MB / 0.5835 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.6121, allocations: 11.98 kB / 0.5835 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1913/0.8034, allocations: 6.252 MB / 0.5896 GB, free: 161.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/0.8061, allocations: 0.8926 MB / 0.5905 GB, free: 161.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/0.8073, allocations: 89.5 kB / 0.5906 GB, free: 161.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/0.8094, allocations: 129.8 kB / 0.5907 GB, free: 161.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007457/0.8101, allocations: 349.4 kB / 0.5911 GB, free: 161.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/0.8104, allocations: 123.6 kB / 0.5912 GB, free: 161.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004846/0.8153, allocations: 2.756 MB / 0.5939 GB, free: 161.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8153, allocations: 0 / 0.5939 GB, free: 161.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007423/0.8227, allocations: 1.673 MB / 0.5955 GB, free: 161.5 MB / 462.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.01151/0.8343, allocations: 7.295 MB / 0.6026 GB, free: 158 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02063/0.8549, allocations: 8.435 MB / 0.6109 GB, free: 153.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.855, allocations: 0 / 0.6109 GB, free: 153.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003763/0.8588, allocations: 3.059 MB / 0.6139 GB, free: 151.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/0.8644, allocations: 1.383 MB / 0.6152 GB, free: 151.1 MB / 462.1 MB Notification: Invalid unit expression 'N/ (m/s)'. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05338/0.9178, allocations: 46.15 MB / 0.6603 GB, free: 105.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.9197, allocations: 2.637 MB / 0.6628 GB, free: 103.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004312/0.924, allocations: 0.9337 MB / 0.6638 GB, free: 102.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002821/0.9269, allocations: 2.007 MB / 0.6657 GB, free: 100.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.9269, allocations: 0 / 0.6657 GB, free: 100.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3367/1.264, allocations: 112.8 MB / 0.7758 GB, free: 147.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.56, allocations: 8.891 kB / 0.7758 GB, free: 147.5 MB / 462.1 MB (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)