Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit.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.OpenCenterSectionalValveCircuit,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit") translateModel(OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 108 kB / 15.61 MB, free: 148 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.00204/0.002041, allocations: 194.6 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.704/1.704, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05506/0.05506, allocations: 11.84 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.001826/0.001826, allocations: 64.42 kB / 341.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1022, allocations: 49.23 MB / 391.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit): time 0.03127/0.1335, allocations: 33.47 MB / 424.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02575/0.1593, allocations: 13.13 MB / 437.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01168/0.171, allocations: 147.2 kB / 437.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008198/0.1793, allocations: 2.216 MB / 440 MB, free: 10.96 MB / 382.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.01875/0.1981, allocations: 4.562 MB / 444.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01271/0.2108, allocations: 5.092 MB / 449.7 MB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2389/0.4498, allocations: 15.81 MB / 465.5 MB, free: 40.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007735/0.4575, allocations: 5.082 MB / 470.6 MB, free: 39.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.4695, allocations: 5.252 MB / 475.8 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.4822, allocations: 5.919 MB / 481.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005945/0.4882, allocations: 1.218 MB / 482.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009205/0.4975, allocations: 1.541 MB / 484.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006094/0.5036, allocations: 2.947 MB / 487.4 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02181/0.5254, allocations: 6.3 MB / 493.7 MB, free: 30.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02914/0.5546, allocations: 16.94 MB / 0.4987 GB, free: 24.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.5547, allocations: 0 / 0.4987 GB, free: 24.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.5547, allocations: 0 / 0.4987 GB, free: 24.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000738/0.5554, allocations: 3.938 kB / 0.4987 GB, free: 24.19 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: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 0.03362/0.5891, allocations: 11.05 MB / 0.5095 GB, free: 17.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5891, allocations: 13.69 kB / 0.5095 GB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/0.5942, allocations: 1.144 MB / 0.5106 GB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.6084, allocations: 6.411 MB / 0.5169 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009819/0.6095, allocations: 0.7757 MB / 0.5176 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003615/0.6131, allocations: 0.7299 MB / 0.5184 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/0.6407, allocations: 8.835 MB / 0.527 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004378/0.6412, allocations: 11.89 kB / 0.527 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/0.6436, allocations: 300 kB / 0.5273 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.6437, allocations: 176 kB / 0.5274 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/0.6652, allocations: 8.053 MB / 0.5353 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0857/0.7509, allocations: 47.63 MB / 0.5818 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/0.7652, allocations: 6.784 MB / 0.5885 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007016/0.7722, allocations: 3.025 MB / 0.5914 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/0.773, allocations: 232.5 kB / 0.5916 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007908/0.7809, allocations: 3.314 MB / 0.5949 GB, free: 7.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=587): time 1.133e-05/0.781, allocations: 0 / 0.5949 GB, free: 7.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=652): time 0.3173/1.098, allocations: 27.94 MB / 0.6222 GB, free: 157.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003206/1.099, allocations: 0.6402 MB / 0.6228 GB, free: 157.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01419/1.113, allocations: 8.248 MB / 0.6308 GB, free: 154.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001436/1.114, allocations: 150 kB / 0.631 GB, free: 154.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003628/1.118, allocations: 4.045 MB / 0.6349 GB, free: 152 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002987/1.121, allocations: 2.186 MB / 0.6371 GB, free: 150.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/1.123, allocations: 1.126 MB / 0.6382 GB, free: 149.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/1.123, allocations: 304.2 kB / 0.6384 GB, free: 149.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/1.127, allocations: 2.709 MB / 0.6411 GB, free: 148.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004469/1.132, allocations: 3.594 MB / 0.6446 GB, free: 146.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04393/1.176, allocations: 16.33 MB / 0.6606 GB, free: 137.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-05/1.176, allocations: 7.062 kB / 0.6606 GB, free: 137.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01671/1.193, allocations: 9.133 MB / 0.6695 GB, free: 132.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/1.193, allocations: 0.5218 MB / 0.67 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.745e-05/1.193, allocations: 27.72 kB / 0.67 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/1.194, allocations: 0.676 MB / 0.6707 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00557/1.2, allocations: 1.396 MB / 0.672 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.213, allocations: 18.41 MB / 0.69 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008002/1.221, allocations: 265.1 kB / 0.6903 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/1.222, allocations: 284.2 kB / 0.6905 GB, free: 115.3 MB / 478.1 MB Warning: Assuming fixed start value for the following 22 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Valve1.CheckA.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real Valve1.CheckB.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real valve2.v6_3OC.P22T1.port_a.p:VARIABLE(flow=false min = 0.0 start = Valve1.v6_3OC.P22T1.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real valve2.CheckA.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real valve2.CheckB.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real reliefValve.variableRestriction.port_a.p:VARIABLE(flow=false min = 0.0 start = constantDisplacementPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" 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_Head2Env.port_b.p:VARIABLE(flow=false min = 0.0 start = doubleActingCylinder.cushionHead.reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" 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 doubleActingCylinder1.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder1.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder1.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder1.leakage_Head2Env.port_b.p:VARIABLE(flow=false min = 0.0 start = doubleActingCylinder1.cushionHead.reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real doubleActingCylinder1.leakage_Rod2Env.port_b.p:VARIABLE(flow=false min = 0.0 start = doubleActingCylinder1.cushionRod.reliefValve.variableRestriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real doubleActingCylinder1.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder1.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real 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: 126 * Number of states: 0 () * Number of discrete variables: 47 (doubleActingCylinder1.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder1.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder1.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder1.cushionHead.cushionRestriction.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,valve2.CheckB.reliefValve.variableRestriction.data.zetaLaminarKnown,valve2.CheckB.checkValve.variableRestriction.data.zetaLaminarKnown,valve2.CheckA.reliefValve.variableRestriction.data.zetaLaminarKnown,valve2.CheckA.checkValve.variableRestriction.data.zetaLaminarKnown,valve2.v6_3OC.P12A.data.zetaLaminarKnown,valve2.v6_3OC.B2T2.data.zetaLaminarKnown,valve2.v6_3OC.A2T2.data.zetaLaminarKnown,valve2.v6_3OC.P12B.data.zetaLaminarKnown,valve2.v6_3OC.P22T1.data.zetaLaminarKnown,Valve1.CheckB.reliefValve.variableRestriction.data.zetaLaminarKnown,Valve1.CheckB.checkValve.variableRestriction.data.zetaLaminarKnown,Valve1.CheckA.reliefValve.variableRestriction.data.zetaLaminarKnown,Valve1.CheckA.checkValve.variableRestriction.data.zetaLaminarKnown,Valve1.v6_3OC.P12A.data.zetaLaminarKnown,Valve1.v6_3OC.B2T2.data.zetaLaminarKnown,Valve1.v6_3OC.A2T2.data.zetaLaminarKnown,Valve1.v6_3OC.P12B.data.zetaLaminarKnown,Valve1.v6_3OC.P22T1.data.zetaLaminarKnown,constantDisplacementPump.mechanicalPumpLosses.free,doubleActingCylinder1.cylinderChamberRod.empty,doubleActingCylinder1.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cylinderChamberHead.empty,constantDisplacementPump.mechanicalPumpLosses.mode,$PRE.constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.locked,constantDisplacementPump.mechanicalPumpLosses.startBackward,$PRE.constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startForward,$PRE.constantDisplacementPump.mechanicalPumpLosses.startForward,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (769): * Single equations (assignments): 741 * Array equations: 0 * Algorithm blocks: 19 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,13,100.0%), (1,3,100.0%), (1,7,100.0%), (1,7,100.0%), (1,7,100.0%), (1,7,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.008197/1.231, allocations: 3.044 MB / 0.6935 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003706/1.234, allocations: 0.8589 MB / 0.6944 GB, free: 112.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02223/1.257, allocations: 9.289 MB / 0.7034 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/1.257, allocations: 68 kB / 0.7035 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.923e-05/1.257, allocations: 8 kB / 0.7035 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001165/1.257, allocations: 35.88 kB / 0.7035 GB, free: 105.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04464/1.302, allocations: 20.94 MB / 0.724 GB, free: 84.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/1.302, allocations: 8 kB / 0.724 GB, free: 84.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005558/1.307, allocations: 1.237 MB / 0.7252 GB, free: 83.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/1.308, allocations: 0.5961 MB / 0.7258 GB, free: 82.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/1.309, allocations: 207.9 kB / 0.726 GB, free: 82.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/1.322, allocations: 17.51 MB / 0.7431 GB, free: 63.49 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.322, allocations: 11.94 kB / 0.7431 GB, free: 63.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02601/1.348, allocations: 12.66 MB / 0.7555 GB, free: 50.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005659/1.353, allocations: 1.775 MB / 0.7572 GB, free: 48.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003541/1.357, allocations: 175.8 kB / 0.7574 GB, free: 48.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006053/1.363, allocations: 207.6 kB / 0.7576 GB, free: 48.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001558/1.365, allocations: 0.5747 MB / 0.7581 GB, free: 47.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001019/1.366, allocations: 247.8 kB / 0.7583 GB, free: 47.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01242/1.378, allocations: 5.687 MB / 0.7639 GB, free: 41.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.378, allocations: 0 / 0.7639 GB, free: 41.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01229/1.39, allocations: 1.968 MB / 0.7658 GB, free: 39.65 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 33 (circuitTank.volumeOpen.m,Valve1.v6_3OC.dynamicResponse.y,Valve1.v6_3OC.dynamicResponse.yd,Valve1.CheckA.reliefValve.valvePosition,Valve1.CheckB.reliefValve.valvePosition,valve2.v6_3OC.P22T1.port_a.p,valve2.v6_3OC.dynamicResponse.y,valve2.v6_3OC.dynamicResponse.yd,valve2.CheckA.reliefValve.valvePosition,valve2.CheckB.reliefValve.valvePosition,reliefValve.variableRestriction.port_a.p,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,doubleActingCylinder.jA.volumeClosed.port[1].p,doubleActingCylinder.jB.volumeClosed.port[1].p,doubleActingCylinder1.cushionHead.reliefValve.valvePosition,doubleActingCylinder1.cushionHead.flowFraction,doubleActingCylinder1.cushionRod.reliefValve.valvePosition,doubleActingCylinder1.cushionRod.flowFraction,doubleActingCylinder1.damper.s_rel,doubleActingCylinder1.damper.v_rel,doubleActingCylinder1.leakage_Head2Env.port_b.p,doubleActingCylinder1.leakage_Rod2Env.port_b.p,doubleActingCylinder1.jA.volumeClosed.port[1].p,doubleActingCylinder1.jB.volumeClosed.port[1].p,constantSpeed.phi) * Number of discrete variables: 16 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,constantDisplacementPump.mechanicalPumpLosses.mode,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder1.cylinderChamberHead.empty,doubleActingCylinder1.cylinderChamberRod.empty) * Number of discrete states: 7 ($whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (682): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 19 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,13,100.0%), (1,3,100.0%), (1,7,100.0%), (1,7,100.0%), (1,7,100.0%), (1,7,100.0%), (1,2,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.003066/1.394, allocations: 0.6823 MB / 0.7665 GB, free: 39.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.06524/1.459, allocations: 12.52 MB / 0.7787 GB, free: 26.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.459, allocations: 0 / 0.7787 GB, free: 26.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01074/1.47, allocations: 6.139 MB / 0.7847 GB, free: 19.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02169/1.491, allocations: 2.938 MB / 0.7876 GB, free: 16.79 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.2448/1.736, allocations: 18.5 MB / 0.8056 GB, free: 141 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007399/1.744, allocations: 4.896 MB / 0.8104 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008047/1.752, allocations: 1.513 MB / 0.8119 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002803/1.755, allocations: 0.707 MB / 0.8126 GB, free: 139.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.213e-06/1.755, allocations: 0 / 0.8126 GB, free: 139.9 MB / 478.1 MB Notification: Performance of Templates: time 0.2387/1.993, allocations: 142.7 MB / 0.9519 GB, free: 31.51 MB / 478.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit.makefile (rm -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit.sim & ./OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.OpenCenterSectionalValveCircuit.pipe 2>&1)