Running command: translateModel(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1") Notification: Performance of loadModel(OpenHydraulics): time 1.822/1.822, allocations: 217.8 MB / 229.9 MB, free: 14.2 MB / 202.7 MB Warning: Requested package Modelica of version 3.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.7e-05, allocations: 4.516 kB / 283 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08005, allocations: 50.2 MB / 333.2 MB, free: 7.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4458, allocations: 97.41 MB / 430.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.446, allocations: 72.19 kB / 430.7 MB, free: 14.48 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHydraulics 1.0/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.2297/0.6757, allocations: 63.9 MB / 494.6 MB, free: 3.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.691e-06/0.6758, allocations: 0 / 494.6 MB, free: 3.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002668/0.6761, allocations: 71.92 kB / 494.7 MB, free: 3.547 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 499 * Number of variables: 499 Notification: Performance of Generate backend data structure: time 0.005299/0.6814, allocations: 2.472 MB / 497.1 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6814, allocations: 11.97 kB / 497.2 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/0.6822, allocations: 328.5 kB / 497.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004785/0.687, allocations: 1.933 MB / 499.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/0.6874, allocations: 266.7 kB / 499.7 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004379/0.6879, allocations: 207.9 kB / 499.9 MB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.6926, allocations: 1.887 MB / 0.49 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.081e-05/0.6927, allocations: 11.91 kB / 0.49 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.693, allocations: 76 kB / 0.4901 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.693, allocations: 48 kB / 0.4901 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00458/0.6976, allocations: 1.859 MB / 0.4919 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.019/0.7167, allocations: 12.15 MB / 0.5038 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.7206, allocations: 1.751 MB / 0.5055 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/0.723, allocations: 1.06 MB / 0.5066 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/0.7236, allocations: 455.5 kB / 0.507 GB, free: 9.484 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00239/0.726, allocations: 1.078 MB / 0.508 GB, free: 8.371 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 8.835e-06/0.726, allocations: 4 kB / 0.508 GB, free: 8.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=229): time 0.2605/0.9866, allocations: 8.837 MB / 0.5167 GB, free: 105.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.9867, allocations: 316.4 kB / 0.517 GB, free: 105.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/0.991, allocations: 1.823 MB / 0.5188 GB, free: 105.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003782/0.9914, allocations: 67.94 kB / 0.5188 GB, free: 105.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009938/0.9924, allocations: 1.021 MB / 0.5198 GB, free: 105.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006806/0.9931, allocations: 0.772 MB / 0.5206 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.9933, allocations: 42.7 kB / 0.5206 GB, free: 104.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9935, allocations: 389.3 kB / 0.521 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.9953, allocations: 0.7459 MB / 0.5217 GB, free: 104.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.9973, allocations: 1.062 MB / 0.5228 GB, free: 104.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.9995, allocations: 1.132 MB / 0.5239 GB, free: 104 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.916e-06/0.9996, allocations: 1.5 kB / 0.5239 GB, free: 104 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.006448/1.006, allocations: 2.687 MB / 0.5265 GB, free: 103.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.416e-05/1.006, allocations: 225.7 kB / 0.5267 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/1.006, allocations: 5.312 kB / 0.5267 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/1.007, allocations: 238.4 kB / 0.5269 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.01, allocations: 472.3 kB / 0.5274 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00819/1.018, allocations: 7.804 MB / 0.535 GB, free: 96.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.021, allocations: 155.9 kB / 0.5352 GB, free: 96.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/1.021, allocations: 92.33 kB / 0.5352 GB, free: 96.58 MB / 442.7 MB Warning: Assuming fixed start value for the following 9 variables: lineA.volumeMiddle.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = lineA.wallFriction_a.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [2] position.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "If exact=false, Angular velocity of flange with respect to support else dummy" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder.damper.s_rel:VARIABLE(start = 0.0 unit = "m" nominal = doubleActingCylinder.damper.s_nominal stateSelect=StateSelect.prefer ) "Relative distance (= flange_b.s - flange_a.s)" type: Real doubleActingCylinder.cushionRod.flowFraction:VARIABLE(protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 ) "Normalized valve position (between 0 and 1)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 11 (reliefValve.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,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006818/1.022, allocations: 495.2 kB / 0.5357 GB, free: 96.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004932/1.022, allocations: 251.9 kB / 0.536 GB, free: 96.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/1.029, allocations: 2.941 MB / 0.5388 GB, free: 95.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.029, allocations: 25.12 kB / 0.5388 GB, free: 95.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.029, allocations: 4.344 kB / 0.5389 GB, free: 95.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/1.029, allocations: 12.05 kB / 0.5389 GB, free: 95.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/1.042, allocations: 6.497 MB / 0.5452 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.042, allocations: 3.906 kB / 0.5452 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.044, allocations: 442.7 kB / 0.5456 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007796/1.045, allocations: 215.6 kB / 0.5458 GB, free: 94.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/1.045, allocations: 69.75 kB / 0.5459 GB, free: 94.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005458/1.051, allocations: 7.388 MB / 0.5531 GB, free: 87.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.051, allocations: 14.52 kB / 0.5531 GB, free: 87.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007436/1.058, allocations: 4.19 MB / 0.5572 GB, free: 86.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/1.06, allocations: 0.6303 MB / 0.5578 GB, free: 86.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000436/1.06, allocations: 54.28 kB / 0.5579 GB, free: 86.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.062, allocations: 117.8 kB / 0.558 GB, free: 86.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/1.062, allocations: 189.3 kB / 0.5582 GB, free: 86.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.063, allocations: 85.28 kB / 0.5583 GB, free: 86.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002524/1.065, allocations: 1.417 MB / 0.5597 GB, free: 86.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.065, allocations: 0 / 0.5597 GB, free: 86.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0027/1.068, allocations: 0.7224 MB / 0.5604 GB, free: 86.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 17 (doubleActingCylinder.cylinderChamberHead.port[3].p,doubleActingCylinder.cylinderChamberRod.port[3].p,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,circuitTank.volumeOpen.m,reliefValve.valvePosition,position.phi,position.w,lineA.port_a.p,lineA.port_b.p,lineA.volumeMiddle.port[2].p,lineB.port_b.p,lineB.volumeMiddle.port[2].p) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 2 ($whenCondition3,$whenCondition4) * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/1.07, allocations: 0.6123 MB / 0.561 GB, free: 85.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004936/1.075, allocations: 3.014 MB / 0.5639 GB, free: 84.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.779e-06/1.075, allocations: 0 / 0.5639 GB, free: 84.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002933/1.077, allocations: 2.181 MB / 0.566 GB, free: 83.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.081, allocations: 0.7053 MB / 0.5667 GB, free: 83.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009256/1.09, allocations: 4.65 MB / 0.5713 GB, free: 82.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/1.092, allocations: 1.835 MB / 0.5731 GB, free: 81.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002516/1.094, allocations: 473 kB / 0.5735 GB, free: 81.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008933/1.095, allocations: 226.3 kB / 0.5737 GB, free: 81.53 MB / 442.7 MB Notification: Performance of SimCode: time 1.667e-06/1.095, allocations: 4 kB / 0.5737 GB, free: 81.53 MB / 442.7 MB Notification: Performance of Templates: time 0.08841/1.184, allocations: 40.46 MB / 0.6132 GB, free: 64.7 MB / 442.7 MB