Running command: translateModel(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2") Notification: Performance of loadModel(OpenHydraulics): time 1.934/1.934, 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.747e-05/3.739e-05, allocations: 8 kB / 283 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08218, allocations: 50.21 MB / 333.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.4759, allocations: 94.42 MB / 427.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4761, allocations: 72.97 kB / 427.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1835/0.6597, allocations: 52.03 MB / 479.7 MB, free: 2.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.94e-06/0.6597, allocations: 0 / 479.7 MB, free: 2.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002296/0.6599, allocations: 55.92 kB / 479.8 MB, free: 2.484 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004801/0.6648, allocations: 2.139 MB / 481.9 MB, free: 248 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6648, allocations: 12.03 kB / 481.9 MB, free: 236 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008537/0.6657, allocations: 265.1 kB / 482.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/0.6699, allocations: 1.617 MB / 483.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.6702, allocations: 238 kB / 484.1 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/0.6706, allocations: 171.9 kB / 484.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.6746, allocations: 1.535 MB / 485.8 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.875e-05/0.6746, allocations: 7.906 kB / 485.8 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.6749, allocations: 64 kB / 485.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.6749, allocations: 36 kB / 485.9 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/0.6789, allocations: 1.529 MB / 487.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01616/0.695, allocations: 9.256 MB / 496.6 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.6989, allocations: 1.786 MB / 498.4 MB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.7008, allocations: 0.7474 MB / 499.2 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.701, allocations: 118.4 kB / 499.3 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001883/0.7029, allocations: 0.7989 MB / 0.4884 GB, free: 12.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 6.054e-06/0.7029, allocations: 0 / 0.4884 GB, free: 12.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.01575/0.7187, allocations: 5.93 MB / 0.4942 GB, free: 6.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.7189, allocations: 283 kB / 0.4944 GB, free: 6.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/0.7227, allocations: 1.709 MB / 0.4961 GB, free: 4.672 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.7229, allocations: 69.62 kB / 0.4962 GB, free: 4.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009871/0.7239, allocations: 0.8563 MB / 0.497 GB, free: 3.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006876/0.7246, allocations: 0.5928 MB / 0.4976 GB, free: 3.129 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.7248, allocations: 36 kB / 0.4976 GB, free: 3.094 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.725, allocations: 373.9 kB / 0.498 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.7265, allocations: 0.5585 MB / 0.4985 GB, free: 2.164 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.7284, allocations: 0.8545 MB / 0.4994 GB, free: 1.207 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.7303, allocations: 0.9172 MB / 0.5003 GB, free: 252 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.7303, allocations: 4 kB / 0.5003 GB, free: 248 kB / 426.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005014/0.7354, allocations: 2.124 MB / 0.5023 GB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.7355, allocations: 229.6 kB / 0.5026 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.7356, allocations: 4 kB / 0.5026 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.7358, allocations: 48.8 kB / 0.5026 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/0.738, allocations: 387.4 kB / 0.503 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.7398, allocations: 1.538 MB / 0.5045 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.7416, allocations: 116 kB / 0.5046 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.7418, allocations: 63.98 kB / 0.5046 GB, free: 11.48 MB / 442.7 MB Warning: Assuming fixed start value for the following 8 variables: 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.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 doubleActingCylinder.cylinderChamberHead.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, max(0.0, 0.0)))))))))))))))) start = doubleActingCylinder.cushionHead.cushionRestriction.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (215): * Single equations (assignments): 206 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000729/0.7425, allocations: 490.9 kB / 0.5051 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/0.743, allocations: 221.2 kB / 0.5053 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/0.7484, allocations: 2.226 MB / 0.5075 GB, free: 8.418 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.7484, allocations: 20 kB / 0.5075 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.57e-06/0.7485, allocations: 96 / 0.5075 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/0.7485, allocations: 15.89 kB / 0.5075 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.7596, allocations: 5.077 MB / 0.5125 GB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.7596, allocations: 4 kB / 0.5125 GB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/0.7619, allocations: 347.9 kB / 0.5128 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.762, allocations: 48.83 kB / 0.5129 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/0.7622, allocations: 51.98 kB / 0.5129 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.7639, allocations: 1.533 MB / 0.5144 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.496e-06/0.7639, allocations: 7.938 kB / 0.5144 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2387/1.003, allocations: 3.257 MB / 0.5176 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.004, allocations: 0.537 MB / 0.5181 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/1.005, allocations: 43.66 kB / 0.5182 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.006, allocations: 87.25 kB / 0.5183 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.006, allocations: 133.9 kB / 0.5184 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.006, allocations: 67.81 kB / 0.5184 GB, free: 114.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002719/1.009, allocations: 1.331 MB / 0.5197 GB, free: 114.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.009, allocations: 0 / 0.5197 GB, free: 114.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002075/1.011, allocations: 0.5313 MB / 0.5203 GB, free: 114.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (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,circuitTank.volumeOpen.m,reliefValve.valvePosition,position.phi,position.w) * 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 (190): * Single equations (assignments): 181 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001645/1.013, allocations: 0.5254 MB / 0.5208 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003788/1.017, allocations: 2.054 MB / 0.5228 GB, free: 113.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.017, allocations: 0.9688 kB / 0.5228 GB, free: 113.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/1.019, allocations: 1.418 MB / 0.5242 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/1.022, allocations: 0.61 MB / 0.5248 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008252/1.03, allocations: 3.686 MB / 0.5284 GB, free: 111.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/1.032, allocations: 1.596 MB / 0.5299 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002241/1.034, allocations: 382.2 kB / 0.5303 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008099/1.035, allocations: 193.5 kB / 0.5305 GB, free: 111.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.656e-06/1.035, allocations: 0 / 0.5305 GB, free: 111.1 MB / 442.7 MB Notification: Performance of Templates: time 0.07254/1.108, allocations: 32.43 MB / 0.5621 GB, free: 108.2 MB / 442.7 MB