Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_DoubleActingCylinderTestSimple2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.228/2.228, 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 6.542e-05/6.579e-05, allocations: 4 kB / 283.1 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 50.2 MB / 333.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4994/0.6241, allocations: 94.43 MB / 427.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.6244, allocations: 68.47 kB / 427.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.211/0.8354, allocations: 52.04 MB / 479.9 MB, free: 2.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8355, allocations: 0 / 479.9 MB, free: 2.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004458/0.8359, allocations: 55.98 kB / 479.9 MB, free: 2.293 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.007949/0.8439, allocations: 2.15 MB / 482.1 MB, free: 40 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.844, allocations: 12.03 kB / 482.1 MB, free: 28 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009429/0.8449, allocations: 232 kB / 482.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.8462, allocations: 268.8 kB / 482.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005931/0.8522, allocations: 1.618 MB / 484.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/0.8526, allocations: 238 kB / 484.4 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007174/0.8534, allocations: 167.9 kB / 484.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/0.8591, allocations: 1.527 MB / 486.1 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.38e-05/0.8593, allocations: 7.906 kB / 486.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003647/0.8596, allocations: 67.98 kB / 486.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.8597, allocations: 39.98 kB / 486.2 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005574/0.8653, allocations: 1.525 MB / 487.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.8873, allocations: 9.259 MB / 497 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/0.8925, allocations: 1.782 MB / 498.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002467/0.895, allocations: 0.7474 MB / 499.5 MB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/0.8953, allocations: 122.3 kB / 499.6 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002555/0.8979, allocations: 0.799 MB / 0.4887 GB, free: 12.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.11e-06/0.898, allocations: 0 / 0.4887 GB, free: 12.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.02135/0.9193, allocations: 5.93 MB / 0.4945 GB, free: 6.328 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/0.9196, allocations: 283 kB / 0.4948 GB, free: 5.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005502/0.9251, allocations: 1.717 MB / 0.4965 GB, free: 4.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005118/0.9257, allocations: 61.7 kB / 0.4965 GB, free: 4.156 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.9271, allocations: 0.8447 MB / 0.4973 GB, free: 3.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.9282, allocations: 0.5928 MB / 0.4979 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.9285, allocations: 36 kB / 0.498 GB, free: 2.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.9287, allocations: 373.8 kB / 0.4983 GB, free: 2.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.9307, allocations: 0.5624 MB / 0.4989 GB, free: 1.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.9332, allocations: 0.8545 MB / 0.4997 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/0.9359, allocations: 0.9172 MB / 0.5006 GB, free: 15.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.936, allocations: 4 kB / 0.5006 GB, free: 15.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007254/0.9432, allocations: 2.119 MB / 0.5027 GB, free: 13.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.9435, allocations: 229.6 kB / 0.5029 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.9435, allocations: 4.531 kB / 0.5029 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.9437, allocations: 52.8 kB / 0.5029 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/0.9473, allocations: 387.4 kB / 0.5033 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.9492, allocations: 1.538 MB / 0.5048 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.9521, allocations: 115.9 kB / 0.5049 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005166/0.9527, allocations: 67.97 kB / 0.505 GB, free: 11.04 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.001027/0.9537, allocations: 485.2 kB / 0.5054 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/0.9546, allocations: 221.4 kB / 0.5057 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007329/0.962, allocations: 2.234 MB / 0.5078 GB, free: 7.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.9621, allocations: 20 kB / 0.5079 GB, free: 7.961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.9621, allocations: 0 / 0.5079 GB, free: 7.961 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.037e-05/0.9622, allocations: 7.969 kB / 0.5079 GB, free: 7.953 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.9793, allocations: 5.082 MB / 0.5128 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.9794, allocations: 8.031 kB / 0.5128 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003646/0.983, allocations: 347.5 kB / 0.5132 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002967/0.9834, allocations: 44.78 kB / 0.5132 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005722/0.984, allocations: 51.98 kB / 0.5133 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.986, allocations: 1.533 MB / 0.5148 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.9861, allocations: 4 kB / 0.5148 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3142/1.3, allocations: 3.259 MB / 0.5179 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/1.302, allocations: 0.5417 MB / 0.5185 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008762/1.303, allocations: 41.5 kB / 0.5185 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002753/1.306, allocations: 92.73 kB / 0.5186 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007695/1.307, allocations: 132 kB / 0.5187 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/1.307, allocations: 68.34 kB / 0.5188 GB, free: 114.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004195/1.312, allocations: 1.327 MB / 0.5201 GB, free: 113.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.104e-06/1.312, allocations: 0 / 0.5201 GB, free: 113.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003666/1.315, allocations: 0.5349 MB / 0.5206 GB, free: 113.9 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.01146/1.327, allocations: 5.01 MB / 0.5255 GB, free: 111.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00559/1.332, allocations: 2.049 MB / 0.5275 GB, free: 111 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.332, allocations: 0 / 0.5275 GB, free: 111 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00332/1.336, allocations: 1.421 MB / 0.5289 GB, free: 110.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/1.341, allocations: 0.6084 MB / 0.5295 GB, free: 110.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.357, allocations: 4.149 MB / 0.5335 GB, free: 109.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002697/1.359, allocations: 1.597 MB / 0.5351 GB, free: 108.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003334/1.363, allocations: 389 kB / 0.5355 GB, free: 108.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/1.366, allocations: 0.8923 MB / 0.5363 GB, free: 108.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/1.366, allocations: 4 kB / 0.5363 GB, free: 108.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/1.512, allocations: 51.95 MB / 0.5871 GB, free: 87.92 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.512, allocations: 221.5 kB / 0.5873 GB, free: 87.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.603/6.115, allocations: 0 / 0.5873 GB, free: 87.66 MB / 442.7 MB