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: translateModel(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing") translateModel(OpenHydraulics.Circuits.PressureCompensatedLoadSensing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001341/0.001341, allocations: 191 kB / 17.29 MB, free: 5.516 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.52/1.52, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05363/0.05363, allocations: 11.85 MB / 282.4 MB, free: 216 kB / 222.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.001573/0.001573, allocations: 71.89 kB / 343.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3181, allocations: 49.21 MB / 392.5 MB, free: 49.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensatedLoadSensing): time 0.017/0.3351, allocations: 17.81 MB / 410.3 MB, free: 35.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.3512, allocations: 7.354 MB / 417.6 MB, free: 29.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006286/0.3575, allocations: 71.62 kB / 417.7 MB, free: 29.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.3607, allocations: 1.086 MB / 418.8 MB, free: 28.7 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.009298/0.37, allocations: 2.158 MB / 420.9 MB, free: 26.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006361/0.3764, allocations: 2.624 MB / 423.6 MB, free: 23.94 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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.009692/0.3861, allocations: 7.313 MB / 430.9 MB, free: 16.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.3892, allocations: 2.228 MB / 433.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.3934, allocations: 2.487 MB / 435.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004288/0.3977, allocations: 2.813 MB / 438.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001695/0.3995, allocations: 0.5391 MB / 439 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.4027, allocations: 0.7811 MB / 439.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.4041, allocations: 1.37 MB / 441.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004407/0.4085, allocations: 2.912 MB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008205/0.4168, allocations: 7.556 MB / 451.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4168, allocations: 0 / 451.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4168, allocations: 0 / 451.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002881/0.4171, allocations: 0 / 451.6 MB, free: 11.78 MB / 334.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.01359/0.4307, allocations: 5.567 MB / 457.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4308, allocations: 11.89 kB / 457.1 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.4324, allocations: 0.5607 MB / 457.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006948/0.4393, allocations: 3.013 MB / 460.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/0.4398, allocations: 389.8 kB / 461.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007259/0.4405, allocations: 355.8 kB / 461.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008369/0.4489, allocations: 4.117 MB / 465.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.439e-05/0.449, allocations: 7.984 kB / 465.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/0.4494, allocations: 147.9 kB / 465.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.4494, allocations: 84 kB / 465.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00735/0.4568, allocations: 3.763 MB / 469.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.4864, allocations: 19.97 MB / 489.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006354/0.4928, allocations: 3.878 MB / 493.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/0.4957, allocations: 1.532 MB / 494.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.496, allocations: 163.3 kB / 495.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003385/0.4994, allocations: 1.74 MB / 496.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 5.47e-06/0.4995, allocations: 0 / 496.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=335): time 0.02809/0.5275, allocations: 13.28 MB / 0.4982 GB, free: 14.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.5278, allocations: 406.5 kB / 0.4986 GB, free: 13.94 MB / 398.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.005981/0.5338, allocations: 4.012 MB / 0.5025 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005656/0.5344, allocations: 85.7 kB / 0.5026 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.5361, allocations: 1.927 MB / 0.5044 GB, free: 7.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001301/0.5374, allocations: 1.12 MB / 0.5055 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009829/0.5384, allocations: 0.5894 MB / 0.5061 GB, free: 6.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5385, allocations: 301.1 kB / 0.5064 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/0.5412, allocations: 1.394 MB / 0.5078 GB, free: 4.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.5441, allocations: 1.86 MB / 0.5096 GB, free: 2.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02428/0.5684, allocations: 8.339 MB / 0.5177 GB, free: 9.527 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.5685, allocations: 4 kB / 0.5177 GB, free: 9.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.008823/0.5773, allocations: 4.559 MB / 0.5222 GB, free: 4.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.5775, allocations: 285 kB / 0.5224 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.5776, allocations: 12 kB / 0.5225 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.5782, allocations: 312.1 kB / 0.5228 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/0.5815, allocations: 0.7373 MB / 0.5235 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1827/0.7642, allocations: 9.119 MB / 0.5324 GB, free: 120 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/0.7679, allocations: 156.6 kB / 0.5325 GB, free: 120 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006413/0.7685, allocations: 144.7 kB / 0.5327 GB, free: 120 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 = 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.005219/0.7737, allocations: 2.372 MB / 0.535 GB, free: 119.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002974/0.7767, allocations: 1.838 MB / 0.5368 GB, free: 118.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02407/0.8008, allocations: 8.292 MB / 0.5449 GB, free: 114.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.626e-05/0.8009, allocations: 6.812 kB / 0.5449 GB, free: 114.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=427) (initialization_lambda0): time 0.007874/0.8088, allocations: 4.553 MB / 0.5493 GB, free: 112 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.8089, allocations: 280 kB / 0.5496 GB, free: 111.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.809, allocations: 14.56 kB / 0.5496 GB, free: 111.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.8095, allocations: 302.1 kB / 0.5499 GB, free: 111.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.8124, allocations: 0.7326 MB / 0.5506 GB, free: 111.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00536/0.8177, allocations: 9.126 MB / 0.5595 GB, free: 102.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/0.821, allocations: 166.1 kB / 0.5597 GB, free: 102.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003789/0.8214, allocations: 150.6 kB / 0.5598 GB, free: 102.7 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 = 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.001007/0.8224, allocations: 0.6782 MB / 0.5605 GB, free: 102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/0.8233, allocations: 441.7 kB / 0.5609 GB, free: 101.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007185/0.8305, allocations: 4.617 MB / 0.5654 GB, free: 97.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.8306, allocations: 40 kB / 0.5655 GB, free: 97.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.8306, allocations: 4 kB / 0.5655 GB, free: 97.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/0.8306, allocations: 15.94 kB / 0.5655 GB, free: 97.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.8451, allocations: 9.737 MB / 0.575 GB, free: 87.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.8451, allocations: 4 kB / 0.575 GB, free: 87.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/0.8478, allocations: 0.6637 MB / 0.5756 GB, free: 86.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.8483, allocations: 256.1 kB / 0.5759 GB, free: 86.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/0.8485, allocations: 107.9 kB / 0.576 GB, free: 86.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004654/0.8532, allocations: 8.581 MB / 0.5844 GB, free: 76.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8532, allocations: 11.94 kB / 0.5844 GB, free: 76.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009203/0.8624, allocations: 6.277 MB / 0.5905 GB, free: 70.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/0.8646, allocations: 0.8979 MB / 0.5914 GB, free: 69.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008143/0.8654, allocations: 88.83 kB / 0.5915 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/0.8672, allocations: 127.9 kB / 0.5916 GB, free: 69.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005539/0.8678, allocations: 350.2 kB / 0.5919 GB, free: 68.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/0.868, allocations: 123.9 kB / 0.592 GB, free: 68.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003769/0.8718, allocations: 2.757 MB / 0.5947 GB, free: 66.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8718, allocations: 0 / 0.5947 GB, free: 66.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00645/0.8783, allocations: 1.674 MB / 0.5964 GB, free: 64.44 MB / 414.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.00155/0.8798, allocations: 0.5818 MB / 0.5969 GB, free: 64.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01004/0.8899, allocations: 7.497 MB / 0.6043 GB, free: 56.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.89, allocations: 4 kB / 0.6043 GB, free: 56.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.8937, allocations: 3.072 MB / 0.6073 GB, free: 52.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005546/0.8993, allocations: 1.384 MB / 0.6086 GB, free: 51.58 MB / 414.1 MB Notification: Invalid unit expression 'N/ (m/s)'. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.9133, allocations: 9.018 MB / 0.6174 GB, free: 42.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.9154, allocations: 2.641 MB / 0.62 GB, free: 39.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003754/0.9192, allocations: 0.9298 MB / 0.6209 GB, free: 38.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009662/0.9202, allocations: 371.3 kB / 0.6213 GB, free: 38.55 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.9202, allocations: 0 / 0.6213 GB, free: 38.55 MB / 414.1 MB Notification: Performance of Templates: time 0.1037/1.024, allocations: 69.03 MB / 0.6887 GB, free: 1.5 MB / 446.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.makefile (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 & ./OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe 2>&1)