Running command: translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple") Notification: Performance of loadModel(OpenHydraulics): time 2.059/2.059, allocations: 217.8 MB / 229.9 MB, free: 14.21 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 4.537e-05/4.545e-05, allocations: 5.609 kB / 283 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 50.19 MB / 333.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4835, allocations: 92.27 MB / 425.5 MB, free: 3.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4837, allocations: 70.28 kB / 425.6 MB, free: 3.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1887/0.6724, allocations: 52.84 MB / 478.4 MB, free: 3.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.6725, allocations: 0 / 478.4 MB, free: 3.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002518/0.6727, allocations: 59.92 kB / 478.5 MB, free: 3.828 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005001/0.6778, allocations: 2.151 MB / 480.6 MB, free: 1.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6778, allocations: 12.03 kB / 480.6 MB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008529/0.6787, allocations: 268.8 kB / 480.9 MB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004495/0.6832, allocations: 1.661 MB / 482.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.6835, allocations: 245.9 kB / 482.8 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.6839, allocations: 163.9 kB / 482.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.688, allocations: 1.531 MB / 484.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.6881, allocations: 4 kB / 484.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.6883, allocations: 67.98 kB / 484.5 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.6884, allocations: 40 kB / 484.6 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/0.6925, allocations: 1.56 MB / 486.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/0.7095, allocations: 9.213 MB / 495.4 MB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.7136, allocations: 1.82 MB / 497.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.7156, allocations: 0.7823 MB / 498 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.7158, allocations: 118.4 kB / 498.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/0.7179, allocations: 0.8297 MB / 498.9 MB, free: 14.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=167): time 6.237e-06/0.7179, allocations: 0 / 498.9 MB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=189): time 0.01794/0.7358, allocations: 6.351 MB / 0.4934 GB, free: 7.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.736, allocations: 291 kB / 0.4937 GB, free: 7.25 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/Translational.mo:2342:7-2342:69:writable] Warning: Parameter slidingMass.m 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.003851/0.7399, allocations: 1.767 MB / 0.4954 GB, free: 5.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.7402, allocations: 65.7 kB / 0.4955 GB, free: 5.367 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.7413, allocations: 0.8803 MB / 0.4963 GB, free: 4.477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000755/0.7421, allocations: 0.6275 MB / 0.4969 GB, free: 3.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.7422, allocations: 36 kB / 0.497 GB, free: 3.805 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.7425, allocations: 377.8 kB / 0.4973 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.7441, allocations: 0.5898 MB / 0.4979 GB, free: 2.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.746, allocations: 0.881 MB / 0.4988 GB, free: 1.859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.748, allocations: 0.9446 MB / 0.4997 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.748, allocations: 0 / 0.4997 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005182/0.7532, allocations: 2.086 MB / 0.5017 GB, free: 14.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.7534, allocations: 226.3 kB / 0.502 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.7535, allocations: 8 kB / 0.502 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/0.7535, allocations: 16 kB / 0.502 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/0.756, allocations: 407.4 kB / 0.5024 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.514e-05/0.756, allocations: 15.94 kB / 0.5024 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.7579, allocations: 115.8 kB / 0.5025 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.7582, allocations: 75.97 kB / 0.5026 GB, free: 13.83 MB / 442.7 MB Warning: Assuming fixed start value for the following 6 variables: j1.port[3].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, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))) start = reliefValve.variableRestriction.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] 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 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: 24 * Number of states: 0 () * Number of discrete variables: 12 (throttleValve.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,$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 (228): * Single equations (assignments): 220 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007556/0.759, allocations: 499.2 kB / 0.503 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/0.7595, allocations: 225.2 kB / 0.5033 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.7652, allocations: 2.265 MB / 0.5055 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.7653, allocations: 24 kB / 0.5055 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.7653, allocations: 0 / 0.5055 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/0.7654, allocations: 11.95 kB / 0.5055 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.7776, allocations: 5.403 MB / 0.5108 GB, free: 5.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.7777, allocations: 4 kB / 0.5108 GB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/0.7801, allocations: 371.5 kB / 0.5111 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/0.7803, allocations: 37.17 kB / 0.5112 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.7806, allocations: 59.98 kB / 0.5112 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.782, allocations: 1.331 MB / 0.5125 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.814e-06/0.782, allocations: 7.938 kB / 0.5125 GB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2418/1.024, allocations: 3.411 MB / 0.5159 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.026, allocations: 0.558 MB / 0.5164 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000434/1.026, allocations: 46.56 kB / 0.5165 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.028, allocations: 85.61 kB / 0.5165 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/1.028, allocations: 148.1 kB / 0.5167 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/1.028, allocations: 72.23 kB / 0.5167 GB, free: 115.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003088/1.031, allocations: 1.369 MB / 0.5181 GB, free: 115 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.031, allocations: 0 / 0.5181 GB, free: 115 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00255/1.034, allocations: 0.547 MB / 0.5186 GB, free: 115 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (reliefValve.valvePosition,doubleActingCylinder.port_a.p,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,j1.port[3].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 (206): * Single equations (assignments): 197 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001729/1.036, allocations: 0.554 MB / 0.5192 GB, free: 114.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004015/1.04, allocations: 2.012 MB / 0.5211 GB, free: 114.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.255e-06/1.04, allocations: 0.6875 kB / 0.5211 GB, free: 114.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002582/1.042, allocations: 1.478 MB / 0.5226 GB, free: 113.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/1.046, allocations: 0.6181 MB / 0.5232 GB, free: 113.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/1.055, allocations: 3.7 MB / 0.5268 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/1.057, allocations: 1.621 MB / 0.5284 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002637/1.059, allocations: 418.3 kB / 0.5288 GB, free: 112 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008724/1.06, allocations: 203.2 kB / 0.529 GB, free: 112 MB / 442.7 MB Notification: Performance of SimCode: time 1.806e-06/1.06, allocations: 0 / 0.529 GB, free: 112 MB / 442.7 MB Notification: Performance of Templates: time 0.07981/1.14, allocations: 33.18 MB / 0.5614 GB, free: 109.1 MB / 442.7 MB