Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem.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: translateModel(OpenHydraulics.Circuits.OpenCenter_tandem,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem") translateModel(OpenHydraulics.Circuits.OpenCenter_tandem,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05651/0.05651, allocations: 11.84 MB / 282.2 MB, free: 9.484 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.0006177/0.0006178, allocations: 12 kB / 342.9 MB, free: 22.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1196, allocations: 50.22 MB / 393.1 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.Circuits.OpenCenter_tandem): time 0.02546/0.1451, allocations: 25.24 MB / 418.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02362/0.1688, allocations: 10.38 MB / 428.7 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00733/0.1762, allocations: 99.56 kB / 428.8 MB, free: 456 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2437/0.4199, allocations: 1.433 MB / 430.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.4344, allocations: 3.704 MB / 433.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009556/0.444, allocations: 2.533 MB / 436.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01704/0.4611, allocations: 6.245 MB / 442.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0046/0.4657, allocations: 2.124 MB / 444.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007804/0.4735, allocations: 2.62 MB / 447.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00813/0.4817, allocations: 3.071 MB / 450.5 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.4838, allocations: 274.8 kB / 450.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.488, allocations: 482 kB / 451.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.4898, allocations: 1.404 MB / 452.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004613/0.4944, allocations: 1.426 MB / 454.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.5051, allocations: 7.956 MB / 462.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5052, allocations: 4 kB / 462.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5052, allocations: 0 / 462.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004106/0.5056, allocations: 0 / 462.1 MB, free: 4.781 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: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.0141/0.5197, allocations: 6.363 MB / 468.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.5198, allocations: 8.031 kB / 468.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.5243, allocations: 0.7884 MB / 469.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009671/0.534, allocations: 3.902 MB / 473.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007111/0.5347, allocations: 0.594 MB / 473.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.5364, allocations: 498.3 kB / 474.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.5513, allocations: 5.525 MB / 479.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.5515, allocations: 7.906 kB / 479.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004548/0.5519, allocations: 202 kB / 479.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.552, allocations: 116 kB / 480.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.5634, allocations: 5.144 MB / 485.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04995/0.6134, allocations: 29.07 MB / 0.5022 GB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008867/0.6223, allocations: 5.452 MB / 0.5075 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/0.6228, allocations: 196.6 kB / 0.5077 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004542/0.6273, allocations: 2.438 MB / 0.5101 GB, free: 11.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=448): time 6.753e-06/0.6274, allocations: 0 / 0.5101 GB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=500): time 0.04911/0.6765, allocations: 20.38 MB / 0.53 GB, free: 6.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002679/0.6768, allocations: 0.5142 MB / 0.5305 GB, free: 5.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009062/0.6859, allocations: 5.779 MB / 0.5362 GB, free: 44 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001087/0.687, allocations: 121.8 kB / 0.5363 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/0.6896, allocations: 2.694 MB / 0.5389 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002276/0.6919, allocations: 1.675 MB / 0.5405 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.6922, allocations: 92 kB / 0.5406 GB, free: 11.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002887/0.6925, allocations: 490.9 kB / 0.5411 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00354/0.696, allocations: 1.903 MB / 0.543 GB, free: 9.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/0.6999, allocations: 2.476 MB / 0.5454 GB, free: 6.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004424/0.7044, allocations: 2.489 MB / 0.5478 GB, free: 3.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/0.7044, allocations: 4 kB / 0.5478 GB, free: 3.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01281/0.7172, allocations: 6.484 MB / 0.5541 GB, free: 12.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.7175, allocations: 417.5 kB / 0.5545 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.7176, allocations: 16 kB / 0.5546 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009125/0.7185, allocations: 458.6 kB / 0.555 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/0.7229, allocations: 1.045 MB / 0.556 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.7342, allocations: 13.23 MB / 0.5689 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005762/0.74, allocations: 363.9 kB / 0.5693 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009117/0.741, allocations: 207.9 kB / 0.5695 GB, free: 11.89 MB / 446.1 MB Warning: Assuming fixed start value for the following 17 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real valve4_3posOCtandem1.P2T.port_a.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, 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, 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, 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, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) start = constantDisplacementPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real valve4_3posOCtandem1.j3.volumeClosed.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, 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, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))) start = valve4_3posOCtandem1.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3posOCtandem1.j2.volumeClosed.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, 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, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))) start = valve4_3posOCtandem1.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] doubleActingCylinder1.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder1.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder1.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder1.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder1.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real valve4_3posOCtandem.j3.volumeClosed.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, 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, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))) start = valve4_3posOCtandem.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3posOCtandem.j2.volumeClosed.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, 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, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))))))))) start = valve4_3posOCtandem.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 39 (valve4_3posOCtandem1.P2T.data.zetaLaminarKnown,valve4_3posOCtandem1.A2T.data.zetaLaminarKnown,valve4_3posOCtandem1.P2B.data.zetaLaminarKnown,valve4_3posOCtandem1.B2T.data.zetaLaminarKnown,valve4_3posOCtandem1.P2A.data.zetaLaminarKnown,doubleActingCylinder1.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder1.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder1.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder1.cushionHead.cushionRestriction.data.zetaLaminarKnown,valve4_3posOCtandem.P2T.data.zetaLaminarKnown,valve4_3posOCtandem.A2T.data.zetaLaminarKnown,valve4_3posOCtandem.P2B.data.zetaLaminarKnown,valve4_3posOCtandem.B2T.data.zetaLaminarKnown,valve4_3posOCtandem.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,constantDisplacementPump.mechanicalPumpLosses.free,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,$PRE.constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startForward,$PRE.constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,$PRE.constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.mode,doubleActingCylinder1.cylinderChamberHead.empty,doubleActingCylinder1.cylinderChamberRod.empty) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (586): * Single equations (assignments): 563 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 6,(1,100.0%) 7,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.005417/0.7464, allocations: 2.381 MB / 0.5718 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001743/0.7482, allocations: 0.6134 MB / 0.5724 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.7603, allocations: 6.877 MB / 0.5791 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.422e-05/0.7604, allocations: 52 kB / 0.5792 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.7604, allocations: 10.58 kB / 0.5792 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/0.7605, allocations: 31.89 kB / 0.5792 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/0.7886, allocations: 14.41 MB / 0.5933 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/0.7887, allocations: 8 kB / 0.5933 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004481/0.7932, allocations: 0.9445 MB / 0.5942 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008227/0.794, allocations: 385.6 kB / 0.5946 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007004/0.7947, allocations: 155.9 kB / 0.5947 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2263/1.021, allocations: 12.52 MB / 0.6069 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/1.021, allocations: 15.95 kB / 0.607 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/1.039, allocations: 10.44 MB / 0.6172 GB, free: 142.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004289/1.044, allocations: 1.351 MB / 0.6185 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/1.046, allocations: 130.8 kB / 0.6186 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/1.049, allocations: 276.9 kB / 0.6189 GB, free: 141.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009267/1.05, allocations: 0.49 MB / 0.6193 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003854/1.051, allocations: 187.9 kB / 0.6195 GB, free: 141.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007981/1.059, allocations: 3.976 MB / 0.6234 GB, free: 140.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.059, allocations: 0 / 0.6234 GB, free: 140.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007997/1.067, allocations: 1.392 MB / 0.6248 GB, free: 140 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 28 (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,circuitTank.volumeOpen.m,valve4_3posOCtandem.j2.volumeClosed.port[2].p,valve4_3posOCtandem.j3.volumeClosed.port[2].p,valve4_3posOCtandem.dynamicResponse.y,valve4_3posOCtandem.dynamicResponse.yd,doubleActingCylinder1.cushionHead.reliefValve.valvePosition,doubleActingCylinder1.cushionHead.flowFraction,doubleActingCylinder1.cushionRod.reliefValve.valvePosition,doubleActingCylinder1.cushionRod.flowFraction,doubleActingCylinder1.damper.s_rel,doubleActingCylinder1.damper.v_rel,doubleActingCylinder1.leakage_Head2Env.port_b.p,doubleActingCylinder1.leakage_Rod2Env.port_b.p,valve4_3posOCtandem1.j2.volumeClosed.port[2].p,valve4_3posOCtandem1.j3.volumeClosed.port[2].p,valve4_3posOCtandem1.dynamicResponse.y,valve4_3posOCtandem1.dynamicResponse.yd,valve4_3posOCtandem1.P2T.port_a.p,constantSpeed.phi) * Number of discrete variables: 16 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty,constantDisplacementPump.mechanicalPumpLosses.startForward,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.locked,constantDisplacementPump.mechanicalPumpLosses.mode,doubleActingCylinder1.cylinderChamberHead.empty,doubleActingCylinder1.cylinderChamberRod.empty) * Number of discrete states: 7 ($whenCondition5,$whenCondition6,constantDisplacementPump.mechanicalPumpLosses.mode,constantDisplacementPump.mechanicalPumpLosses.startBackward,constantDisplacementPump.mechanicalPumpLosses.startForward,$whenCondition7,$whenCondition8) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (528): * Single equations (assignments): 505 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002129/1.069, allocations: 0.6264 MB / 0.6254 GB, free: 139.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.08, allocations: 6.405 MB / 0.6316 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.08, allocations: 3.875 kB / 0.6316 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006745/1.087, allocations: 4.725 MB / 0.6362 GB, free: 133 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008898/1.096, allocations: 1.677 MB / 0.6379 GB, free: 132.4 MB / 462.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFUnit.mo:883:7-883:68:writable] Error: Internal error function lexer failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.122, allocations: 15.12 MB / 0.6527 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/1.125, allocations: 3.576 MB / 0.6561 GB, free: 118.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005047/1.13, allocations: 1.08 MB / 0.6572 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.132, allocations: 0.507 MB / 0.6577 GB, free: 116.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/1.132, allocations: 0 / 0.6577 GB, free: 116.8 MB / 462.1 MB Notification: Performance of Templates: time 0.1352/1.267, allocations: 88.77 MB / 0.7444 GB, free: 27.85 MB / 462.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem.pipe ; mkfifo OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem.pipe >> ../files/OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem.sim & ./OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.Circuits.OpenCenter_tandem.pipe 2>&1) Environment - environmentSimulation: