Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/VehicleInterfaces 2.0.0-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(VehicleInterfaces.Examples.FrontWheelDriveManualVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle") translateModel(VehicleInterfaces.Examples.FrontWheelDriveManualVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008671/0.0008671, allocations: 170.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 223.3 MB / 240.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007191/0.0007191, allocations: 100.7 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/package.mo): time 0.03747/0.03747, allocations: 8.01 MB / 350.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 12 kB / 413.3 MB, free: 58.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06566/0.06599, allocations: 52.21 MB / 465.5 MB, free: 5.891 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2732/0.3392, allocations: 119.3 MB / 0.5711 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.3395, allocations: 89.66 kB / 0.5711 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6177/0.9571, allocations: 223.3 MB / 0.7893 GB, free: 35.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.9572, allocations: 0 / 0.7893 GB, free: 35.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005143/0.9577, allocations: 208 kB / 0.7895 GB, free: 35.12 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2768 * Number of variables: 2768 Notification: Performance of Generate backend data structure: time 0.02168/0.9794, allocations: 8.632 MB / 0.7979 GB, free: 26.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.9795, allocations: 8.031 kB / 0.7979 GB, free: 26.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005908/0.9854, allocations: 1.385 MB / 0.7992 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.9976, allocations: 6.588 MB / 0.8057 GB, free: 18.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006566/0.9983, allocations: 0.9153 MB / 0.8066 GB, free: 17.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002925/1.001, allocations: 1.023 MB / 0.8076 GB, free: 16.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/1.031, allocations: 14.89 MB / 0.8221 GB, free: 1.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004696/1.032, allocations: 35.67 kB / 0.8221 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002433/1.034, allocations: 432 kB / 0.8226 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.191/1.225, allocations: 0.6523 MB / 0.8232 GB, free: 84.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/1.249, allocations: 10.87 MB / 0.8338 GB, free: 83.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06308/1.312, allocations: 45.31 MB / 0.8781 GB, free: 66.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005028/1.317, allocations: 2.147 MB / 0.8801 GB, free: 65.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/1.319, allocations: 1.204 MB / 0.8813 GB, free: 65.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/1.319, allocations: 33.53 kB / 0.8814 GB, free: 65.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/1.319, allocations: 66.66 kB / 0.8814 GB, free: 65.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=203): time 4.008e-06/1.319, allocations: 2.125 kB / 0.8814 GB, free: 65.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=236): time 0.02765/1.347, allocations: 14.39 MB / 0.8955 GB, free: 57.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/1.347, allocations: 0.5326 MB / 0.896 GB, free: 56.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006348/1.353, allocations: 4.458 MB / 0.9003 GB, free: 55.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003266/1.354, allocations: 94.16 kB / 0.9004 GB, free: 55.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003195/1.357, allocations: 4.809 MB / 0.9051 GB, free: 51.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006791/1.358, allocations: 0.8499 MB / 0.906 GB, free: 51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/1.358, allocations: 105.8 kB / 0.9061 GB, free: 50.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/1.358, allocations: 0.5179 MB / 0.9066 GB, free: 50.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002437/1.361, allocations: 1.57 MB / 0.9081 GB, free: 49.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/1.364, allocations: 4.401 MB / 0.9124 GB, free: 45.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005209/1.369, allocations: 6.027 MB / 0.9183 GB, free: 40.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.262e-05/1.369, allocations: 26.72 kB / 0.9183 GB, free: 40.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=688) (initialization): time 0.008847/1.378, allocations: 6.374 MB / 0.9245 GB, free: 37.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/1.378, allocations: 44.78 kB / 0.9246 GB, free: 37.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-05/1.378, allocations: 104.7 kB / 0.9247 GB, free: 37.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/1.38, allocations: 1.523 MB / 0.9262 GB, free: 37.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/1.383, allocations: 1.108 MB / 0.9272 GB, free: 36.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/1.385, allocations: 2.096 MB / 0.9293 GB, free: 35.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/1.389, allocations: 470.8 kB / 0.9297 GB, free: 35.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/1.389, allocations: 300.1 kB / 0.93 GB, free: 35.54 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 432 * Number of states: 0 () * Number of discrete variables: 96 (driverEnvironment.ignition.y,transmission.clutch.free,$PRE.transmission.clutch.startForward,transmission.clutch.startForward,$PRE.transmission.clutch.startBackward,transmission.clutch.startBackward,$PRE.transmission.clutch.mode,transmission.clutch.mode,transmission.clutchLocked.y,brakes.brake_1.free,$PRE.brakes.brake_1.startForward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startBackward,brakes.brake_1.locked,$PRE.brakes.brake_1.mode,brakes.brake_1.mode,brakes.brake_2.free,$PRE.brakes.brake_2.startForward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startBackward,brakes.brake_2.locked,$PRE.brakes.brake_2.mode,brakes.brake_2.mode,brakes.brake_3.free,$PRE.brakes.brake_3.startForward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startBackward,brakes.brake_3.locked,$PRE.brakes.brake_3.mode,brakes.brake_3.mode,brakes.brake_4.free,$PRE.brakes.brake_4.startForward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startBackward,brakes.brake_4.locked,$PRE.brakes.brake_4.mode,brakes.brake_4.mode,transmission.shiftOutput.gear,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],powertrainMounts.chassisFrameToMount3.color[3],powertrainMounts.chassisFrameToMount3.color[2],powertrainMounts.chassisFrameToMount3.color[1],powertrainMounts.chassisFrameToMount2.color[3],powertrainMounts.chassisFrameToMount2.color[2],powertrainMounts.chassisFrameToMount2.color[1],powertrainMounts.chassisFrameToMount1.color[3],powertrainMounts.chassisFrameToMount1.color[2],powertrainMounts.chassisFrameToMount1.color[1],accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1],chassis.fixedTranslation3.color[3],chassis.fixedTranslation3.color[2],chassis.fixedTranslation3.color[1],chassis.fixedTranslation2.color[3],chassis.fixedTranslation2.color[2],chassis.fixedTranslation2.color[1],chassis.fixedTranslation1.color[3],chassis.fixedTranslation1.color[2],chassis.fixedTranslation1.color[1],chassis.fixedTranslation.color[3],chassis.fixedTranslation.color[2],chassis.fixedTranslation.color[1],chassis.ground.color[3],chassis.ground.color[2],chassis.ground.color[1],chassis.constraint.boxColor[3],chassis.constraint.boxColor[2],chassis.constraint.boxColor[1],chassis.body.sphereColor[3],chassis.body.sphereColor[2],chassis.body.sphereColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (622): * Single equations (assignments): 616 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {5 62} Notification: Performance of prepare postOptimizeDAE: time 0.00488/1.394, allocations: 3.32 MB / 0.9333 GB, free: 33.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007402/1.395, allocations: 454.2 kB / 0.9337 GB, free: 32.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/1.4, allocations: 3.272 MB / 0.9369 GB, free: 30.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.4, allocations: 20 kB / 0.9369 GB, free: 30.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/1.4, allocations: 7.938 kB / 0.9369 GB, free: 30.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/1.4, allocations: 9.141 kB / 0.9369 GB, free: 30.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/1.425, allocations: 13.53 MB / 0.9501 GB, free: 18.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/1.425, allocations: 8 kB / 0.9502 GB, free: 18.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.426, allocations: 347.6 kB / 0.9505 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/1.428, allocations: 1.302 MB / 0.9518 GB, free: 17.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/1.429, allocations: 81.77 kB / 0.9518 GB, free: 17.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/1.431, allocations: 1.762 MB / 0.9536 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/1.431, allocations: 15.94 kB / 0.9536 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006481/1.438, allocations: 4.597 MB / 0.9581 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.439, allocations: 0.8031 MB / 0.9588 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.441, allocations: 91.94 kB / 0.9589 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.443, allocations: 210.8 kB / 0.9591 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/1.443, allocations: 379.1 kB / 0.9595 GB, free: 9.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.444, allocations: 94.95 kB / 0.9596 GB, free: 9.832 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005649/1.449, allocations: 3.302 MB / 0.9628 GB, free: 7.102 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.449, allocations: 0 / 0.9628 GB, free: 7.102 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005553/1.455, allocations: 1.344 MB / 0.9641 GB, free: 5.762 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 10 (transmission.clutch.phi_rel,transmission.clutch.w_rel,chassis.constraint.s,chassis.constraint.v,driverEnvironment.acceleratorPosition.s,driverEnvironment.acceleratorPosition.v,driverEnvironment.clutchPosition.s,driverEnvironment.clutchPosition.v,driverEnvironment.brakePosition.s,driverEnvironment.brakePosition.v) * Number of discrete variables: 27 (transmission.clutch.free,transmission.clutch.startForward,transmission.clutch.startBackward,transmission.clutch.mode,transmission.clutchLocked.y,brakes.brake_1.free,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_1.locked,brakes.brake_1.mode,brakes.brake_2.free,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_2.locked,brakes.brake_2.mode,brakes.brake_3.free,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_3.locked,brakes.brake_3.mode,brakes.brake_4.free,brakes.brake_4.startForward,brakes.brake_4.startBackward,brakes.brake_4.locked,brakes.brake_4.mode,driverEnvironment.ignition.y,transmission.shiftOutput.gear) * Number of discrete states: 15 (transmission.clutch.mode,transmission.clutch.startForward,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward,brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,transmission.clutch.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {5 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005598/1.455, allocations: 271.1 kB / 0.9644 GB, free: 5.508 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006239/1.462, allocations: 3.991 MB / 0.9683 GB, free: 1.898 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.462, allocations: 0 / 0.9683 GB, free: 1.898 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003746/1.465, allocations: 2.091 MB / 0.9703 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/1.477, allocations: 0.6425 MB / 0.9709 GB, free: 15.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03287/1.51, allocations: 18.88 MB / 0.9894 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00871/1.519, allocations: 5.448 MB / 0.9947 GB, free: 9.641 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003789/1.522, allocations: 1.103 MB / 0.9958 GB, free: 8.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/1.523, allocations: 278.7 kB / 0.996 GB, free: 8.645 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/1.523, allocations: 0 / 0.996 GB, free: 8.645 MB / 490.7 MB Notification: Performance of Templates: time 0.2803/1.804, allocations: 52.68 MB / 1.047 GB, free: 95.82 MB / 490.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe 2>&1)