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.00629/0.00629, allocations: 95.38 kB / 15.73 MB, free: 6.043 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.001234/0.001234, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05505/0.05505, allocations: 11.84 MB / 281.7 MB, free: 9.328 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.001407/0.001407, allocations: 67.89 kB / 392.3 MB, free: 3.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2885, allocations: 49.22 MB / 441.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensatedLoadSensing): time 0.01875/0.3073, allocations: 17.81 MB / 459.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.3259, allocations: 7.348 MB / 466.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007383/0.3333, allocations: 69.19 kB / 466.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.337, allocations: 1.092 MB / 467.9 MB, free: 0 / 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.008686/0.3458, allocations: 2.168 MB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007332/0.3531, allocations: 2.616 MB / 472.6 MB, free: 12.09 MB / 350.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.01129/0.3644, allocations: 7.311 MB / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.3687, allocations: 2.218 MB / 482.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.3736, allocations: 2.479 MB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005955/0.3796, allocations: 2.816 MB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001644/0.3812, allocations: 0.5429 MB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.3845, allocations: 0.7889 MB / 488.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.3863, allocations: 1.366 MB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005783/0.3921, allocations: 2.916 MB / 493.1 MB, free: 7.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.4061, allocations: 7.587 MB / 0.4889 GB, free: 28 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4062, allocations: 0 / 0.4889 GB, free: 28 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4062, allocations: 0 / 0.4889 GB, free: 28 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002646/0.4065, allocations: 0 / 0.4889 GB, free: 28 kB / 366.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.01877/0.4253, allocations: 5.722 MB / 0.4945 GB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.4254, allocations: 11.89 kB / 0.4945 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.4279, allocations: 0.591 MB / 0.4951 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006775/0.4347, allocations: 3.028 MB / 0.4981 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/0.4352, allocations: 397.7 kB / 0.4984 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009968/0.4362, allocations: 359.9 kB / 0.4988 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009806/0.446, allocations: 4.109 MB / 0.5028 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.4462, allocations: 15.97 kB / 0.5028 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005074/0.4467, allocations: 147.9 kB / 0.503 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.368e-05/0.4468, allocations: 84 kB / 0.503 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008098/0.4549, allocations: 3.775 MB / 0.5067 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.4911, allocations: 20 MB / 0.5263 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007529/0.4986, allocations: 3.875 MB / 0.53 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003345/0.502, allocations: 1.532 MB / 0.5315 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003939/0.5025, allocations: 167.3 kB / 0.5317 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003944/0.5064, allocations: 1.744 MB / 0.5334 GB, free: 180 kB / 414.1 MB Notification: Performance of pre-optimization done (n=308): time 7.003e-06/0.5064, allocations: 0 / 0.5334 GB, free: 180 kB / 414.1 MB Notification: Performance of matching and sorting (n=335): time 0.03258/0.539, allocations: 13.41 MB / 0.5465 GB, free: 2.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/0.5393, allocations: 406.5 kB / 0.5469 GB, free: 1.812 MB / 430.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.008078/0.5474, allocations: 4.005 MB / 0.5508 GB, free: 13.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005513/0.5479, allocations: 97.69 kB / 0.5509 GB, free: 13.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.5501, allocations: 1.95 MB / 0.5528 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001571/0.5517, allocations: 1.185 MB / 0.554 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/0.5534, allocations: 0.5817 MB / 0.5545 GB, free: 9.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.5535, allocations: 301.1 kB / 0.5548 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/0.5565, allocations: 1.401 MB / 0.5562 GB, free: 8.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/0.5598, allocations: 1.856 MB / 0.558 GB, free: 6.148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02593/0.5857, allocations: 8.335 MB / 0.5661 GB, free: 13.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.5858, allocations: 8 kB / 0.5661 GB, free: 13.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01049/0.5963, allocations: 4.581 MB / 0.5706 GB, free: 8.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.5965, allocations: 289 kB / 0.5709 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.156e-05/0.5965, allocations: 12 kB / 0.5709 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.5972, allocations: 312.2 kB / 0.5712 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/0.6006, allocations: 0.7372 MB / 0.5719 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008252/0.6089, allocations: 9.118 MB / 0.5808 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/0.6126, allocations: 167.8 kB / 0.581 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008745/0.6135, allocations: 147.9 kB / 0.5811 GB, free: 13.04 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.006442/0.62, allocations: 2.353 MB / 0.5834 GB, free: 10.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003719/0.6237, allocations: 1.837 MB / 0.5852 GB, free: 8.625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2425/0.8663, allocations: 8.297 MB / 0.5933 GB, free: 141.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.18e-05/0.8664, allocations: 4.219 kB / 0.5933 GB, free: 141.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=427) (initialization_lambda0): time 0.009462/0.8758, allocations: 4.559 MB / 0.5978 GB, free: 140.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.33e-05/0.876, allocations: 284.1 kB / 0.598 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.876, allocations: 13.84 kB / 0.5981 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.8766, allocations: 316.3 kB / 0.5984 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.8795, allocations: 0.7357 MB / 0.5991 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/0.8853, allocations: 9.121 MB / 0.608 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.8883, allocations: 164.2 kB / 0.6081 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003568/0.8887, allocations: 143.1 kB / 0.6083 GB, free: 131.5 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.0008762/0.8895, allocations: 0.6985 MB / 0.609 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007848/0.8903, allocations: 465.7 kB / 0.6094 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007635/0.898, allocations: 4.606 MB / 0.6139 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/0.898, allocations: 36.12 kB / 0.6139 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.898, allocations: 2.719 kB / 0.6139 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.8981, allocations: 20.34 kB / 0.614 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.912, allocations: 9.737 MB / 0.6235 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.9121, allocations: 7.719 kB / 0.6235 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002722/0.9148, allocations: 0.665 MB / 0.6241 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004784/0.9153, allocations: 264.4 kB / 0.6244 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.9155, allocations: 102 kB / 0.6245 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/0.9203, allocations: 8.59 MB / 0.6329 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.9203, allocations: 10.5 kB / 0.6329 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008975/0.9293, allocations: 6.305 MB / 0.639 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/0.9312, allocations: 0.9178 MB / 0.6399 GB, free: 109 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000626/0.9319, allocations: 94.47 kB / 0.64 GB, free: 108.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/0.9336, allocations: 135.8 kB / 0.6401 GB, free: 108.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005735/0.9342, allocations: 350.2 kB / 0.6405 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/0.9344, allocations: 131.9 kB / 0.6406 GB, free: 108.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003478/0.9379, allocations: 2.749 MB / 0.6433 GB, free: 105.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9379, allocations: 0 / 0.6433 GB, free: 105.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005076/0.943, allocations: 1.674 MB / 0.6449 GB, free: 103.8 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.00128/0.9443, allocations: 0.5713 MB / 0.6455 GB, free: 103.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009933/0.9542, allocations: 7.51 MB / 0.6528 GB, free: 95.49 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.9543, allocations: 2 kB / 0.6528 GB, free: 95.49 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003688/0.958, allocations: 3.066 MB / 0.6558 GB, free: 92.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/0.964, allocations: 1.373 MB / 0.6571 GB, free: 90.87 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.01523/0.9793, allocations: 9.17 MB / 0.6661 GB, free: 81.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/0.9812, allocations: 2.655 MB / 0.6687 GB, free: 78.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004192/0.9854, allocations: 0.922 MB / 0.6696 GB, free: 78.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.9865, allocations: 371.3 kB / 0.67 GB, free: 77.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.252e-06/0.9865, allocations: 0 / 0.67 GB, free: 77.66 MB / 478.1 MB Notification: Performance of Templates: time 0.1062/1.093, allocations: 70.22 MB / 0.7385 GB, free: 7.387 MB / 478.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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensatedLoadSensing.pipe 2>&1)