Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.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.PressureCompensated,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.Circuits.PressureCompensated,fileNamePrefix="OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated",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.001142/0.001142, 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.001182/0.001182, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.454/1.454, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05404/0.05404, allocations: 11.84 MB / 281.6 MB, free: 9.453 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.00145/0.001451, allocations: 71.42 kB / 341.9 MB, free: 21.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.09064, allocations: 49.22 MB / 391.1 MB, free: 4.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.PressureCompensated): time 0.01573/0.1064, allocations: 15.45 MB / 406.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1195, allocations: 6.43 MB / 413 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004538/0.1241, allocations: 59.75 kB / 413.1 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.1278, allocations: 0.9119 MB / 414 MB, free: 13.67 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.009086/0.1369, allocations: 1.792 MB / 415.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007268/0.1442, allocations: 2.193 MB / 418 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008853/0.1531, allocations: 6.067 MB / 424.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003276/0.1564, allocations: 1.759 MB / 425.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1869/0.3434, allocations: 2.05 MB / 427.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.3475, allocations: 2.333 MB / 430.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002077/0.3496, allocations: 449.6 kB / 430.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.3526, allocations: 0.678 MB / 431.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.3545, allocations: 1.129 MB / 432.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004026/0.3585, allocations: 2.393 MB / 434.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007813/0.3664, allocations: 6.081 MB / 440.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3664, allocations: 0 / 440.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3664, allocations: 0 / 440.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002049/0.3666, allocations: 1.25 kB / 440.9 MB, free: 12.73 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: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.01123/0.3779, allocations: 4.651 MB / 445.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3779, allocations: 15.58 kB / 445.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000609/0.3785, allocations: 408.5 kB / 446 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.3796, allocations: 478 kB / 446.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.3835, allocations: 2.457 MB / 448.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.3838, allocations: 345 kB / 449.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/0.3843, allocations: 296.6 kB / 449.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005252/0.3896, allocations: 3.366 MB / 452.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/0.3897, allocations: 11.5 kB / 452.9 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.3899, allocations: 118 kB / 453 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.39, allocations: 70.16 kB / 453.1 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/0.3946, allocations: 2.981 MB / 456.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/0.4155, allocations: 16.43 MB / 472.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005197/0.4208, allocations: 3.163 MB / 475.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.4231, allocations: 1.212 MB / 476.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.4234, allocations: 141 kB / 477 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00259/0.426, allocations: 1.403 MB / 478.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=250): time 6.292e-06/0.4261, allocations: 0 / 478.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=277): time 0.02546/0.4515, allocations: 11.01 MB / 489.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.4517, allocations: 342.6 kB / 489.8 MB, free: 5.598 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 PCPump.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.005954/0.4577, allocations: 3.304 MB / 493.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003518/0.4581, allocations: 77.7 kB / 493.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.4597, allocations: 1.592 MB / 494.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009922/0.4607, allocations: 0.9268 MB / 495.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.4617, allocations: 493.8 kB / 496.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.4618, allocations: 313.1 kB / 496.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.464, allocations: 1.128 MB / 497.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.4664, allocations: 1.53 MB / 499.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/0.4851, allocations: 6.576 MB / 0.4938 GB, free: 5.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.4852, allocations: 4 kB / 0.4938 GB, free: 5.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.008524/0.4937, allocations: 3.784 MB / 0.4975 GB, free: 1.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.4939, allocations: 229.6 kB / 0.4977 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.4939, allocations: 12 kB / 0.4978 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.4946, allocations: 303.7 kB / 0.4981 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.4971, allocations: 0.5978 MB / 0.4986 GB, free: 48 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/0.5042, allocations: 9.058 MB / 0.5075 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.5073, allocations: 127.8 kB / 0.5076 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006312/0.508, allocations: 124 kB / 0.5077 GB, free: 6.102 MB / 382.1 MB Warning: Assuming fixed start value for the following 9 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 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.004598/0.5126, allocations: 1.916 MB / 0.5096 GB, free: 4.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002513/0.5151, allocations: 1.52 MB / 0.5111 GB, free: 2.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01864/0.5338, allocations: 6.559 MB / 0.5175 GB, free: 11.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.941e-05/0.5338, allocations: 7.375 kB / 0.5175 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=358) (initialization_lambda0): time 0.007637/0.5415, allocations: 3.773 MB / 0.5212 GB, free: 7.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.5416, allocations: 229.6 kB / 0.5214 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.5417, allocations: 12 kB / 0.5214 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.5422, allocations: 296.1 kB / 0.5217 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.5446, allocations: 0.6018 MB / 0.5223 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006946/0.5516, allocations: 9.033 MB / 0.5311 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/0.5543, allocations: 131.4 kB / 0.5312 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004564/0.5548, allocations: 124 kB / 0.5313 GB, free: 12.59 MB / 414.1 MB Warning: Assuming fixed start value for the following 9 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 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: 58 * Number of states: 0 () * Number of discrete variables: 23 (v4_3CC.A2T.data.zetaLaminarKnown,v4_3CC.P2B.data.zetaLaminarKnown,v4_3CC.B2T.data.zetaLaminarKnown,v4_3CC.P2A.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,PCPump.mechanicalPumpLosses.free,PCPump.mechanicalPumpLosses.mode,$PRE.PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.locked,PCPump.mechanicalPumpLosses.startBackward,$PRE.PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startForward,$PRE.PCPump.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 (338): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 8 * 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.001094/0.5559, allocations: 0.5935 MB / 0.5319 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.557, allocations: 363.5 kB / 0.5323 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00741/0.5644, allocations: 3.742 MB / 0.5359 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.5645, allocations: 28 kB / 0.5359 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.5645, allocations: 4 kB / 0.5359 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.545e-05/0.5645, allocations: 15.94 kB / 0.536 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.5808, allocations: 8.091 MB / 0.5439 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.5808, allocations: 4 kB / 0.5439 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/0.5831, allocations: 0.5185 MB / 0.5444 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/0.5837, allocations: 247.8 kB / 0.5446 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003188/0.584, allocations: 87.95 kB / 0.5447 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00686/0.5909, allocations: 8.508 MB / 0.553 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.591, allocations: 7.25 kB / 0.553 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.6012, allocations: 5.103 MB / 0.558 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/0.6039, allocations: 0.7385 MB / 0.5587 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/0.6051, allocations: 80.05 kB / 0.5588 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/0.6075, allocations: 105.8 kB / 0.5589 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006766/0.6082, allocations: 305 kB / 0.5592 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/0.6085, allocations: 104 kB / 0.5593 GB, free: 14.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004623/0.6131, allocations: 2.271 MB / 0.5615 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6131, allocations: 0 / 0.5615 GB, free: 12.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006905/0.62, allocations: 1.406 MB / 0.5629 GB, free: 10.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 17 (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,PCPump.swashPlatePD.D.x,circuitTank.volumeOpen.m,v4_3CC.j2.volumeClosed.port[2].p,v4_3CC.j3.volumeClosed.port[2].p,v4_3CC.dynamicResponse.y,v4_3CC.dynamicResponse.yd,j1.volumeClosed.port[2].p,constantSpeed.phi) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,PCPump.mechanicalPumpLosses.startForward,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.locked,PCPump.mechanicalPumpLosses.mode) * Number of discrete states: 5 (PCPump.mechanicalPumpLosses.mode,PCPump.mechanicalPumpLosses.startBackward,PCPump.mechanicalPumpLosses.startForward,$whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 8 * 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.01056/0.6306, allocations: 6.103 MB / 0.5688 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01773/0.6484, allocations: 6.929 MB / 0.5756 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.6484, allocations: 0 / 0.5756 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003895/0.6523, allocations: 2.584 MB / 0.5781 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006391/0.6587, allocations: 1.13 MB / 0.5792 GB, free: 9.805 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.2361/0.8948, allocations: 36.9 MB / 0.6153 GB, free: 149 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.8965, allocations: 2.297 MB / 0.6175 GB, free: 148.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003182/0.8997, allocations: 0.7487 MB / 0.6182 GB, free: 148 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/0.9016, allocations: 1.614 MB / 0.6198 GB, free: 146.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.9016, allocations: 0 / 0.6198 GB, free: 146.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/1.037, allocations: 93.64 MB / 0.7113 GB, free: 57.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.1, allocations: 8.062 kB / 0.7113 GB, free: 57.11 MB / 462.1 MB (rm -f OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.sim & python3 -m fmpy simulate --output-file OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.002 OpenHydraulics_OpenHydraulics_Circuits_PressureCompensated.fmu > OpenHydraulics_OpenHydraulics.Circuits.PressureCompensated.pipe 2>&1)