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.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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.006998/0.006998, allocations: 172 kB / 15.11 MB, free: 5.969 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.342/1.342, allocations: 223.2 MB / 239 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009102/0.0009101, allocations: 101.8 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.0392/0.0392, allocations: 7.969 MB / 349.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 8.25 kB / 412 MB, free: 89.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 52.22 MB / 464.2 MB, free: 43.19 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5398, allocations: 119.1 MB / 0.5696 GB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.5401, allocations: 88.84 kB / 0.5697 GB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7327/1.273, allocations: 224.4 MB / 0.7888 GB, free: 54.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.273, allocations: 0 / 0.7888 GB, free: 54.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000651/1.274, allocations: 211.4 kB / 0.789 GB, free: 54.16 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.02739/1.301, allocations: 8.734 MB / 0.7976 GB, free: 49.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.301, allocations: 8.312 kB / 0.7976 GB, free: 49.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007838/1.309, allocations: 1.42 MB / 0.799 GB, free: 48.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/1.329, allocations: 7.597 MB / 0.8064 GB, free: 46.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009655/1.33, allocations: 0.9159 MB / 0.8073 GB, free: 46.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004407/1.334, allocations: 1.016 MB / 0.8083 GB, free: 45.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04116/1.376, allocations: 14.88 MB / 0.8228 GB, free: 35.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007927/1.376, allocations: 41.52 kB / 0.8228 GB, free: 35.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004287/1.381, allocations: 434.4 kB / 0.8233 GB, free: 35.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001078/1.382, allocations: 0.6569 MB / 0.8239 GB, free: 34.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02859/1.41, allocations: 10.95 MB / 0.8346 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3932/1.804, allocations: 45.32 MB / 0.8789 GB, free: 52.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005796/1.81, allocations: 2.145 MB / 0.881 GB, free: 52.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/1.81, allocations: 41.53 kB / 0.881 GB, free: 52.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/1.81, allocations: 59.88 kB / 0.8811 GB, free: 52.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=203): time 5.5e-06/1.81, allocations: 0 / 0.8811 GB, free: 52.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.03255/1.842, allocations: 14.39 MB / 0.8951 GB, free: 48.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/1.843, allocations: 0.5366 MB / 0.8956 GB, free: 47.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0074/1.85, allocations: 3.935 MB / 0.8995 GB, free: 47.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006098/1.851, allocations: 98.78 kB / 0.8996 GB, free: 47.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005813/1.857, allocations: 4.807 MB / 0.9043 GB, free: 45.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.858, allocations: 0.8464 MB / 0.9051 GB, free: 44.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/1.858, allocations: 107.6 kB / 0.9052 GB, free: 44.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003068/1.859, allocations: 0.514 MB / 0.9057 GB, free: 44.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/1.862, allocations: 1.566 MB / 0.9072 GB, free: 44.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/1.865, allocations: 4.397 MB / 0.9115 GB, free: 40.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/1.868, allocations: 2.326 MB / 0.9138 GB, free: 40.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.822e-05/1.868, allocations: 27.22 kB / 0.9138 GB, free: 40.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=688) (initialization): time 0.009737/1.878, allocations: 6.375 MB / 0.92 GB, free: 40.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/1.878, allocations: 50.16 kB / 0.9201 GB, free: 40.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.935e-05/1.878, allocations: 95.25 kB / 0.9202 GB, free: 40.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/1.881, allocations: 1.528 MB / 0.9217 GB, free: 40.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/1.884, allocations: 1.106 MB / 0.9227 GB, free: 40.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/1.886, allocations: 2.093 MB / 0.9248 GB, free: 39.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/1.891, allocations: 477.8 kB / 0.9252 GB, free: 39.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005546/1.892, allocations: 304 kB / 0.9255 GB, free: 39.82 MB / 474.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 (623): * Single equations (assignments): 617 * 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 61} Notification: Performance of prepare postOptimizeDAE: time 0.007575/1.899, allocations: 3.312 MB / 0.9288 GB, free: 39.53 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.9, allocations: 451.6 kB / 0.9292 GB, free: 39.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/1.906, allocations: 3.268 MB / 0.9324 GB, free: 39.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/1.906, allocations: 25.58 kB / 0.9324 GB, free: 39.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.906, allocations: 3.25 kB / 0.9324 GB, free: 39.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/1.906, allocations: 15.23 kB / 0.9324 GB, free: 39.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03486/1.941, allocations: 13.5 MB / 0.9456 GB, free: 37.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/1.941, allocations: 13.7 kB / 0.9456 GB, free: 37.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.943, allocations: 344.2 kB / 0.946 GB, free: 37.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/1.945, allocations: 1.311 MB / 0.9472 GB, free: 37.44 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003261/1.945, allocations: 80.23 kB / 0.9473 GB, free: 37.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/1.948, allocations: 1.757 MB / 0.949 GB, free: 36.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.948, allocations: 18.66 kB / 0.9491 GB, free: 36.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008321/1.956, allocations: 6.274 MB / 0.9552 GB, free: 33.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002901/1.959, allocations: 0.807 MB / 0.956 GB, free: 33.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001652/1.961, allocations: 92.16 kB / 0.9561 GB, free: 33.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003019/1.964, allocations: 210.4 kB / 0.9563 GB, free: 33.06 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006918/1.964, allocations: 380.1 kB / 0.9566 GB, free: 32.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/1.965, allocations: 97.41 kB / 0.9567 GB, free: 32.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007533/1.972, allocations: 3.296 MB / 0.9599 GB, free: 31.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.972, allocations: 0 / 0.9599 GB, free: 31.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009004/1.981, allocations: 1.355 MB / 0.9613 GB, free: 31.67 MB / 474.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.001128/1.982, allocations: 261.9 kB / 0.9615 GB, free: 31.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008895/1.991, allocations: 3.993 MB / 0.9654 GB, free: 29.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/1.991, allocations: 3.656 kB / 0.9654 GB, free: 29.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005314/1.997, allocations: 2.089 MB / 0.9674 GB, free: 29.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/2.003, allocations: 0.5928 MB / 0.968 GB, free: 28.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04803/2.051, allocations: 18.86 MB / 0.9864 GB, free: 18.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0163/2.067, allocations: 5.611 MB / 0.9919 GB, free: 16.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006429/2.074, allocations: 1.104 MB / 0.993 GB, free: 16.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/2.075, allocations: 278.4 kB / 0.9933 GB, free: 16.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/2.075, allocations: 3.844 kB / 0.9933 GB, free: 16.12 MB / 474.7 MB Notification: Performance of Templates: time 0.1133/2.188, allocations: 52.42 MB / 1.044 GB, free: 9.199 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)